Jump to content

Değişen Banner


Recommended Posts

<table  border="0" cellspacing="0" cellpadding="0">
<tr>
<td><script language="JavaScript">
var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array()
KW_ARI[KW_ARI.length]='menu/index1.jpg';
KW_ARI[KW_ARI.length]='menu/index2.jpg';
KW_ARI[KW_ARI.length]='menu/index3.jpg';
KW_ARI[KW_ARI.length]='menu/index4.jpg';
KW_ARI[KW_ARI.length]='menu/index5.jpg';
KW_ARI[KW_ARI.length]='menu/index6.jpg';
KW_ARI[KW_ARI.length]='menu/index7.jpg';
KW_ARI[KW_ARI.length]='menu/index8.jpg';
KW_ARI[KW_ARI.length]='menu/index9.jpg';
KW_ARI[KW_ARI.length]='menu/index10.jpg';
KW_ARI[KW_ARI.length]='menu/index11.jpg';
KW_ARI[KW_ARI.length]='menu/index12.jpg';
j=parseInt(Math.random()*KW_ARI.length);
j=(isNaN(j))?0:j;
if (KW_ARI[j].indexOf('?')==-1) {
document.write("<img src='"+KW_ARI[j]+"'>");
}
else {
nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');
for(var i=0;i<nvp.length;i++) {
sub=nvp[i].split('=');
switch(sub[0]) {
case 'link':
l="<a href='"+unescape(sub[1])+"'>";
p="</a>";
break;
case 'target':
q=" target='"+unescape(sub[1])+"'";
break;
default:
m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
break;
}
}
z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">"+p;
document.write(z);
}
</script></td>
</tr>
</table>
<br><Center><Font Face='Wingdings' Size='7' Color = 'FFFFFF'><b> µ </b></Font></Center> [/CODE]

Menu/index1.jpg kısmındaki resimleri değiştirebilir , KW_ARI[KW_ARI.length]='menu/index12.jpg'; kısmı çoğaltılarak istenilen sayıda resim eklenebilir. sayfa her yenilendiğinde yada başka linklere gidildiğinde resimler değişir.

Sonra arzunuza bağlı olarak sisteminizin istediğiniz yerine include edebilirsiniz

Saygılarımla...

Link to comment
Share on other sites

  • 1 yıl yıl...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...