مدير التحرير Admin
عدد المساهمات : 2477 نقاط : 8450 تاريخ التسجيل : 04/06/2011 الموقع : https://hosnyegy.yoo7.com/
| موضوع: يقوم بعرض ثلاث إعلانات (بانرات) بالتناوب 2011-11-04, 03:38 | |
| انسخ الكود <html dir="rtl"> <SCRIPT LANGUAGE="JavaScript">
<!-- Begin var how_many_ads = 3; var now = new Date() var sec = now.getSeconds() var ad = sec % how_many_ads; ad +=1; if (ad==1) { txt="نص الوصلة"; url="http://رابط الموقع/"; alt="التعريف النصي"; banner="http://رابط الصورة"; width="468"; height="60"; } if (ad==2) { txt="نص الوصلة"; url="http://رابط الموقع/"; alt="التعريف النصي"; banner="http://رابط الصورة"; width="468"; height="60"; } if (ad==3) { txt="نص الوصلة"; url="http://رابط الموقع/"; alt="التعريف النصي"; banner="http://رابط الصورة"; width="468"; height="60"; } document.write('<center>'); document.write('<a href="' + url + '" target="_top">'); document.write('<img src="' + banner + '" width=') document.write(width + ' height=' + height + ' '); document.write('alt="' + alt + '" border=0><br>'); document.write('<small>' + txt + '</small></a>'); document.write('</center>'); // End --> </SCRIPT>
|
| |
|