ShKaWa صاحب الموقع
المشاركات : 2040 عدد النقط : 10736 العمر : 31 النـوع : المزاج : الهوايه : الدوله : دعاء المنتدى : نادك المفضل :
| موضوع: كود دعوه للتسجيل او لترحيب بالاعضاء الجمعة 03 سبتمبر 2010, 5:04 pm | |
| السلام عليكم ورحمه الله وبركاته
اخباركم جميعاً ؟
وانا ادور بالنت شي يفيد منتداي لقيت كود مره حلو اتركم لكم الصوره توضحه
هو يظهر للزوار وللاعضاء فتقدر تغيره بدلا من الزائر تحط ترحيب للاعضاء بمنتداك وكذا انت ومزاجك
الكود ::
الرمز:
/***********************************************
* Animated Information Bar- by JavaScript Kit ([ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] * This notice must stay intact for usage * Visit JavaScript Kit at [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] for this script and 100s more
***********************************************/
function informationbar(){ this.displayfreq="always" this.content='[ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط]' }
informationbar.prototype.setContent=function(data){ this.content=this.content+data document.write(''+this.content+' ') }
informationbar.prototype.animatetoview=function(){ var barinstance=this if (parseInt(this.barref.style.top)<0){ this.barref.style.top=parseInt(this.barref.style.top)+5+"px" setTimeout(function(){barinstance.animatetoview()}, 50) } else{ if (document.all && !window.XMLHttpRequest) this.barref.style.setExpression("top", 'document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px" : body.scrollTop+"px"') else this.barref.style.top=0 } }
informationbar.close=function(){ document.getElementById("informationbar").style.display="none" if (this.displayfreq=="session") document·cookie="infobarshown=1;path=/" }
informationbar.prototype.setfrequency=function(type){ this.displayfreq=type }
informationbar.prototype.initialize=function(){ if (this.displayfreq=="session" && document·cookie.indexOf("infobarshown")==-1 || this.displayfreq=="always"){ this.barref=document.getElementById("informationbar") this.barheight=parseInt(this.barref.offsetHeight) this.barref.style.top=this.barheight*(-1)+"px" this.animatetoview() } }
window.onunload=function(){ this.barref=null }
var infobar=new informationbar() infobar.setContent('اهلا وسهلا بك عزيزي الزائر في هنا اسم منتداك للتسجيل? [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط]') [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] //Uncomment this line to set information bar to only display once per browser session! infobar.initialize()
طريقه التركيب : مظهر المنتدى - الصفحة الرئيسيه -تشكيلات عامه-وضع إعلان في الصفحة الرئيسية
وتضعه بالمربع ويظهر باذن الله
ان شاء الله يعجبكم واي استفسار انا بالخدمه وربي يوفق الجميع
واذا مو القسم المناسب اعتذر عن ذالك ..
تحيآتي
| |
|