<html> <head> <script language="javascript" type="text/javascript"> if(document.images) { arrowRed = new Image arrowBlue = new Image arrowRed.src = "URL IMG1" arrowBlue.src = "URL IMG2" } else { arrowRed = "" arrowBlue = "" document.arrow = "" } </script> </head> <body> <h1> <a href="URL WEB SITE" onMouseover="document.arrow.src=arrowRed.src" onMouseout="document.arrow.src=arrowBlue.src"><img border="0" src="URL IMG2" name="arrow"></a> </h1> </body> </html>
<h1> <a href="URL WEB SITE" onMouseover="document.arrow.src='URL IMG1'" onMouseout="document.arrow.src='URL IMG2'"><img border=1 src="URL IMG3" name="arrow"></a> </h1>
با این لینک یک ثانیه شمار ایجاد میشود که بعد از اتمام ثانیه به صورت اتوماتیک به لینک مربوطه میرود
<p><!--webbot bot="HTMLMarkup" startspan --><form name="redirect"> <center> <font face="Arial"><b>You will be redirected to the script in<br><br> <form> <input type="text" size="3" name="redirect2"> </form> seconds</b></font> </center> <script> <!-- var targetURL="http://partizanha.blogsky.com" var countdownfrom=40 var currentsecond=document.redirect.redirect2.value=countdownfrom+1 function countredirect(){ if (currentsecond!=1){ currentsecond-=1 document.redirect.redirect2.value=currentsecond } else{ window.location=targetURL return } setTimeout("countredirect()",1000) } countredirect() //--> </script> <!--webbot bot="HTMLMarkup" endspan --></p> </body> </html>
<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Randy Bennett (rbennett@thezone.net) --> <!-- Web Site: http://home.thezone.net/~rbennett/sitemap.htm --> <!-- Begin function setVariables() { if (navigator.appName == "Netscape") { v = ".top="; h = ".left="; dS = "document."; sD = ""; y = "window.pageYOffset"; x = "window.pageXOffset"; iW = "window.innerWidth"; iH = "window.innerHeight"; } else { h = ".pixelLeft="; v = ".pixelTop="; dS = ""; sD = ".style"; y = "document.body.scrollTop"; x = "document.body.scrollLeft"; iW = "document.body.clientWidth"; iH = "document.body.clientHeight"; } xyz = 500; innerX = eval(iW) - 115; innerY = eval(iH) - 110; object = "logo"; checkLocationA(); } movex = 0; movey = 0; xdiff = 0; ydiff = 0; ystart = 0; xstart = 0; function checkLocation() { yy = eval(y); xx = eval(x); ydiff = ystart - yy; xdiff = xstart - xx; if ((ydiff < (-1)) || (ydiff > (1))) movey = Math.round(ydiff / 10), ystart -= movey; if ((xdiff < (-1)) || (xdiff > (1))) movex = Math.round(xdiff / 10), xstart -= movex; eval(dS + object + sD + v + (ystart + innerY)); eval(dS + object + sD + h + (xstart + innerX)); setTimeout("checkLocation()", 10); } function checkLocationA() { ystart = eval(y); xstart=eval(x); } function switchLogo(abc) { if (abc == "menu") { eval(dS + object + sD + v + 0); eval(dS + object + sD + h + (-200)); object = abc; } else xyz = setTimeout("delayLogo()", 2000) } function delayLogo() { eval(dS + object + sD + v + 0); eval(dS + object + sD + h + (-200)); object = 'logo'; } // End --> </script> </HEAD> <!-- CONTINUE --> <BODY OnLoad="setVariables();checkLocation()"> <!-- STEP THREE: Copy this code into the BODY of your HTML document --> <div id="logo" style="position:absolute; visibility:show; left:0px; top:-200px; z-index:2"> <table border=0 cellspacing=10 cellpadding=0 width=100><tr><td><center><br><br><br> <A href="javascript:void(0)"; onmouseover="switchLogo('menu')"> Logo </A></center></td></tr></table></div> <div id="menu" style="position:absolute; visibility:show; left:0px; top:-200px; z-index:2"> <table border=0 cellspacing=10 cellpadding=0 width=100><tr><td><center> <a href="http://www.your-web-site-address-here.com/page-one.html"; onmouseover="clearTimeout(xyz)"; onmouseout="switchLogo('logo')">Page One</a> </center></td></tr><tr><td><center> <a href="http://www.your-web-site-address-here.com/page-two.html"; onmouseover="clearTimeout(xyz)"; onmouseout="switchLogo('logo')">Page Two</a> </center></td></tr><tr><td><center> <a href="http://www.your-web-site-address-here.com/page-three.html"; onmouseover="clearTimeout(xyz)"; onmouseout="switchLogo('logo')">Page Three</a> </center></td></tr></table></div> <!-- END Script Size: 3.24 KB -->
<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: CodeLifter.com (support@codelifter.com) --> <!-- Web Site: http://www.codelifter.com --> <!-- Begin function printWindow() { bV = parseInt(navigator.appVersion); if (bV >= 4) window.print(); } // End --> </script> </HEAD> <!-- CONTINUE --> <BODY> <a href="javascript:printWindow()">Print This Page</a> <!-- Script Size: 0.91 KB -->