JavaScript
Clocks Equalizer Text in the Form Background Color Goodbye Pop-up MultiLink Window's Size MultiLink-II DHTML
Russian | Main Page
Useful links:
|
<html> <head> <title>www.redmount.com - JavaScript - MultiLink II</title> <script language=javascript> <!-- var timerID=null; var n=0; var butN=null; var butU=null; butN = new Array; butU = new Array; butN[0]="!avista.gif"; butN[1]="!excite.gif"; butN[2]="!hotbot.gif"; butN[3]="!lycos.gif"; butN[4]="!yahoo.gif"; butU[0]="http://www.altavista.com"; butU[1]="http://www.excite.com"; butU[2]="http://www.hotbot.com"; butU[3]="http://www.lycos.com"; butU[4]="http://www.yahoo.com"; butimg0=new Image(); butimg0.src="!avista.gif"; butimg1=new Image(); butimg1.src="!excite.gif"; butimg2=new Image(); butimg2.src="!hotbot.gif"; butimg3=new Image(); butimg3.src="!lycos.gif"; butimg4=new Image(); butimg4.src="!yahoo.gif"; function showButtonname() { n= (n == butN.length-1) ? 0 : n + 1; document.images.crazybut.src=butN[n]; timerID=window.setTimeout('showButtonname()',1000); } function goToUrl() { location.href=butU[n]; } //--> </script> </head> <body onLoad=showButtonname() bgcolor=white leftmargin=30 marginwidth=30><br> <a href="javascript:goToUrl()"><img name=crazybut border=1></a> </body> </html>