نمایش ساعت ، روز و تاریخ در پائین صفحهStatus Bar
<!--Powered java code by WwW.IranGamer.Com--> <br><html> <br> <br><head> <br><title>Cool Status Bar Scroller</title> <br>< LANGUAGE="Java"> <br> <br><!-- <br> <br>function snapIn(jumpSpaces,position) { <br> var msg = "YOUR MESSAGE GOES HERE !!! ........ SONY CARD 20 . COM" <br> var out = "" <br> <br> if (killScroll) {return false} <br> for (var i=0; i<position; i++){ <br> out += msg.charAt(i)} <br> for (i=1;i<jumpSpaces;i++) { <br> out += " "} <br> out += msg.charAt(position) <br> window.status = out <br> if (jumpSpaces <= 1) { <br> position++ <br> if (msg.charAt(position) == " ") { <br> position++ } <br> jumpSpaces = 100-position <br> } <br> else if (jumpSpaces > 3) { <br> jumpSpaces *= .75} <br> else { <br> jumpSpaces--} <br> if (position != msg.length) { <br> var cmd = "snapIn(" + jumpSpaces + "," + position + ")"; <br> scrollID = window.setTimeout(cmd,5); <br> } <br> else { <br> scrolling = false <br> return false <br> } <br> return true <br>} <br> <br>function snapSetup() { <br> if (scrolling) <br> if (!confirm("Re-initialize snapIn?")) <br> return false <br> killScroll = true <br> scrolling = true <br> var killID = window.setTimeout("killScroll=false",6) <br> scrollID = window.setTimeout("snapIn(100,0)",10) <br> return true <br> <br>} <br> var scrollID = <br> var scrolling = false <br> var killScroll = false <br>// --> <br> <br></> <br></head> <br> <br><body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" <br>onLoad="snapSetup()"> <br></body> <br></html> <br>