نمایش پیغام روز بخیر طبق زمان روز
<!--Powered javas cript code by WwW.IranGamer.Com--> <br><!-- ONE STEP TO INSTALL TIME MESSAGE: <br> <br> 1. Add the coding into the BODY of your HTML document --> <br><!-- STEP ONE: Put this code into the BODY of your HTML document --> <br><html> <br> <br><head> <br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <br><meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <br><meta name="ProgId" content="FrontPage.Editor.Document"> <br><title></title> <br></head> <br> <br><body> <br> <br><center> <br>< LANGUAGE="Java"> <br> <br><!--Total Java s 99 - Next Step Software--> <br> <br><!-- Begin <br>document.write("<center><font size=+1>") <br>day = new Date() <br>hr = day.getHours() <br>if (hr ==1) <br>document.write("بامداد بخیر ") <br>if (hr ==2) <br>document.write("نیمه شب شما بخیر") <br>if (hr ==3) <br>document.write("نیمه شب شما بخیر .... نمیروی بخوابی") <br>if (hr ==4) <br>document.write("ساعت 4 صبح شده برو بخواب") <br>if (hr ==5) <br>document.write("سحر بخیر") <br>if (hr ==6) <br>document.write("صبح زود شما بخیر") <br>if ((hr == 6) || (hr ==7) || (hr ==8) || (hr == 9) || (hr ==10)) <br>document.write("صبح بخیر") <br>if (hr ==11) <br>document.write("نیمروز بخیر") <br>if (hr ==12) <br>document.write("ظهر بخیر") <br>if (hr ==13) <br>document.write("بعد از ظهر شما بخیر") <br>if ((hr==15) || (hr==16) || (hr==14)) <br>document.write("عصر شما بخیر") <br>if ((hr==17) || (hr==18) || (hr==19) || (hr==20) || (hr==21) || (hr==22)) <br>document.write("شب بخیر") <br>if (hr==23) <br>document.write("شب شما بخیر") <br>if (hr==0) <br>document.write("نیمه شب بخیر") <br>document.write("</font></center>") <br>// End --> <br></> <br></center> <br><!-- Size: 1.76 KB --> <br> <br></body> <br> <br></html> <br> <br><!-- END CODE - Powered java code by WwW.IranGamer.Com--> <br> <br>
نمایش چندین پیغام به صورت تایپ شدن در پائین صفحه
<!--Powered java code by WwW.IranGamer.Com--> <br> <br>< LANGUAGE="Java"> <br> <br><!-- <br>var speed = 50 // decrease value to increase speed (must be positive) <br>var pause = 2500 // increase value to increase pause <br>var timerID = null <br>var bannerRunning = false <br>var ar = new Array() <br>ar[0] = "Welcome to JAVA CODE .... " <br>ar[1] = "POWERED BY WWW . SONY CARD 20 . COM ..... " <br>ar[2] = "Enjoy my Friend " <br>ar[3] = "********** Sony Card 20 . com *********** " <br> <br>var currentMessage = 0 <br>var offset = 0 <br>function stopBanner() { <br> if (bannerRunning) <br> clearTimeout(timerID) <br> bannerRunning = false <br>} <br>function startBanner() { <br> stopBanner() <br> showBanner() <br>} <br>function showBanner() { <br> var text = ar[currentMessage] <br> if (offset < text.length) { <br> if (text.charAt(offset) == " ") <br> offset++ <br> var partialMessage = text.substring(0, offset + 1) <br> window.status = partialMessage <br> offset++ <br> timerID = setTimeout("showBanner()", speed) <br> bannerRunning = true <br> } else { <br> offset = 0 <br> currentMessage++ <br> if (currentMessage == ar.length) <br> currentMessage = 0 <br> timerID = setTimeout("showBanner()", pause) <br> bannerRunning = true <br> } <br>} <br>// --> <br></> <br></head> <br> <br><body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="startBanner()"> <br> <br></body> <br> <br></html> <br> <br>
نمایش پیغام به صورت حرف به حرف در پائین صفحه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>
نمایش ساعت ، روز و تاریخ در پائین صفحهStatus Bar