كود:
<!-- هاك خاص ـ النوافذ الدعائية الآلية -->
<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"
function openpopup(popurl){
var winpops=window.open(popurl,"","width=700,height=500,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>
<!-- هاك خاص ـ النوافذ الدعائية الآلية -->
كود فتحه مره واحد كل دخول بالكوكيز ... أضفه في الفوتر ... تحياتي .
مواقع النشر (المفضلة)