Programalama > JAVA SCRIPT

Etiketler: banner, degisimi

Ort. 0
Puan ver:
<SCRIPT language=JavaScript>
<!-- // BannerAD

   var bannerAD=new Array();
   var bannerADlink=new Array();
   var adNum=0;

   bannerAD[0]="javabuyuk.gif";
   bannerADlink[0]="http://www.hazirkod.com";
   bannerAD[1]="gumushaneliler.gif";
   bannerADlink[1]="http://www.gumushaneliler.com";
   bannerAD[2]="javabuyuk.gif";
   bannerADlink[2]="http://www.javadepo.com";
   bannerAD[3]="468banner.gif";
   bannerADlink[3]="http://www.bilenin.sayfasi.com";
   bannerAD[4]="gsemperor.jpg";
   bannerADlink[4]="http://www.antifenerbahce.net";
   bannerAD[5]="468banner.gif";
   bannerADlink[5]="http://www.bilen.tk";
   bannerAD[6]="javabuyuk.gif";
   bannerADlink[6]="http://www.javadepo.com";
   bannerAD[7]="gumushaneliler.gif ";
   bannerADlink[7]="http://www.gumushaneliler.com";
   bannerAD[8]="gsemperor.jpg";
   bannerADlink[8]="http://www.antifenerbahce.net";
   bannerAD[9]="468banner.gif";
   bannerADlink[9]="http://www.bilen.tk";

   var preloadedimages=new Array();
   for (i=1;i<bannerAD.length;i++){
      preloadedimages[i]=new Image();
      preloadedimages[i].src=bannerAD[i];
   }

function setTransition(){
   if (document.all){
      bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
      bannerADrotator.filters.revealTrans.apply();
   }
}

function playTransition(){
   if (document.all)
      bannerADrotator.filters.revealTrans.play()
}

function nextAd(){
   if(adNum<bannerAD.length-1)adNum++ ;
      else adNum=0;
   setTransition();
   document.images.bannerADrotator.src=bannerAD[adNum];
   playTransition();
   theTimer=setTimeout("nextAd()", 10000);
}

function jump2url(){
   jumpUrl=bannerADlink[adNum];
   jumpTarget='_blank';
   if (jumpUrl != ''){
      if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
      else location.href=jumpUrl;
   }
}
function displayStatusMsg() { 
   status=bannerADlink[adNum];
   document.returnValue = true;
}

//-->
</SCRIPT>

<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY bgColor=#e3a8c7 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<TABLE border=0 cellPadding=0 cellSpacing=0 height=60 width=468>
  <TBODY>
  <TR>
    <TD align=middle vAlign=center><BANNERAD><A href="javascript:jump2url()" 
      onmouseover="displayStatusMsg();return document.returnValue"><IMG border=0 
      height=60 name=bannerADrotator src="3adam.gif" 
      style="FILTER: revealTrans(duration=2,transition=20)" width=468></A>
      <SCRIPT language=JavaScript>
nextAd()
</SCRIPT>
       </BANNERAD>


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.