[align=center]السلام عليكم ورحمة الله وبركاته
كيف اعمل طريقة منتدى المودة بحيث من يفتح المنتدى
تفتح له صفحة موضوع انا اضعه
ياليت الطريقة ولاعليكم امر[/align]
عرض للطباعة
[align=center]السلام عليكم ورحمة الله وبركاته
كيف اعمل طريقة منتدى المودة بحيث من يفتح المنتدى
تفتح له صفحة موضوع انا اضعه
ياليت الطريقة ولاعليكم امر[/align]
ممكن توضح اخوي شوي
[align=center]عندما تفتح موقع المنتدى تفتح صفحة هذا الرابط
http://www.mwadah.com/showthread.php?t=26368
وهو موضوع لاخونا ابوراشد(ما الذي حدث لعضويتك )
كيف اعمل نفس الطريقة في منتداي[/align]
تحياتي .كود:<script type="text/javascript">
//JK Popup Window Script (version 3.0)- By JavaScript Kit (http://www.javascriptkit.com)
//Visit JavaScriptKit.com for free JavaScripts
//This notice must stay intact for legal use
//Win Type: Pop Up | Session Only
//Specify URLs to randomly select from and popup/popunder:
//To display a single URL, just remove all but the first entry below:
var popurls=new Array()
popurls[0]="http://www.mwadah.com/showthread.php?t=26368"
function openpopup(popurl){
var winpops=window.open(popurl,"","width=750,height=550,toolbar,location,directories,status,scrollbars,menubar,resizable")
}
function get_****ie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.****ie.length > 0) {
offset = document.****ie.indexOf(search)
if (offset != -1) { // if ****ie exists
offset += search.length
// set index of beginning of value
end = document.****ie.indexOf(";", offset);
// set index of end of ****ie value
if (end == -1)
end = document.****ie.length;
returnvalue=unescape(document.****ie.substring(offset, end))
}
}
return returnvalue;
}
function loadornot(){
if (get_****ie('jkpopup')==''){
openpopup(popurls[Math.floor(Math.random()*(popurls.length))])
document.****ie="jkpopup=yes"
}
}
loadornot()
</script>
استبدل النجوم الأربع بـ c o o k
بدون فراغات ... تحياتي .
جاري التجربة،،لاهنت اخوي ابوراشد
لكن اين اضع هذا الكود في تمبلت فورم هوم والا مكان آخر
ضع هذا الكود في قالب ForumHome
شكرا اخوي ويعطيك العافية على ردك وعلى متابعة الموضوع