[atom] [rss]
RSS
برای گرفتن کد بر روی ادامه مطلب کلیک کنید{برای میهن بلاگ}
نمايش ساعت ورود بازديدكننده به وبلاگ
<!--Powered javascript code by MAhsa Adib--> <!-- Start of Display Time --> <!-- Displays the current system time to the visitor of your site --> <!-- Instructions: Just put the beginning of this code inside your pages '<head>' tags and the later part inside your pages '<body>' tags. --> <!-- Script supplied with CoffeeCup HTML Editor --> <head> <script language="JavaScript"> <!-- var Temp; setClock(); function setClock() { CC_Time = ""; now = new Date(); var CurHour = now.getHours(); var CurMinute = now.getMinutes(); now = null; if( CurHour > 12 ) { CurHour = CurHour - 12; ampm = 1; } else ampm = 0; if( CurHour == 0 ) CurHour = 12; if( CurMinute < 10 ) CurMinute = "0" + CurMinute; CurHour = "<FONT SIZE=2><B>" + CurHour + ":" + CurMinute + "</B>"; if( ampm == 1 ) CurHour = CurHour + " P.M."; else CurHour = CurHour + " A.M."; Temp = CurHour; } function pathOnly (InString) { LastSlash=InString.lastIndexOf ('/', InString.length-1) OutString=InString.substring (0, LastSlash+1) return (OutString); } // --> </script> <body> <!-- Just insert the following code where you want the time to appear --> <script> document.write( Temp ); </script> <!-- End Insert --> <!--TipTopBlog.Blogfa.com-->
نظر سنجی برای وبلاگ
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <Style>A{TEXT-DECORATION: none; MARGIN: 0px; LINE-HEIGHT: 150%;}TD {FONT: 11px Tahoma;TEXT-DECORATION: none; MARGIN: 0px; LINE-HEIGHT: 150%;} P,Html,Table,A,HTML,Body{FONT: 11px Tahoma;TEXT-DECORATION: none; MARGIN: 0px; LINE-HEIGHT: 150%;}.collapsed {DISPLAY: none} .namebox{border-style:solid; border-width:1px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px} .webbox{border-style:solid; border-width:1px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px} .mailbox{border-style:solid; border-width:1px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px} .CommentBOX{border-style:solid; border-width:1px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px} .SendBTN{FONT: 11px Tahoma} .resetbtn{FONT: 11px Tahoma} .red{ color: #FF0000 } </Style> <title>[blogtitle]</title> </head> <body link=#286A80 vlink=#286A80 alink=#286A80 bgcolor="#FF9900"> <p> </p> <div align="center"> <br> <table border="1" bordercolor=#000000 width="95%" style="border-collapse: collapse; border-width: 1px" cellspacing="0" cellpadding="0"> <tr> <td colspan="3" style="background-position: left top; border-style:none; border-width:medium" bgcolor="#FFEAF1"> <center> <div align="center"> <table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" height="20" bordercolor="#000000" id="table1" dir="rtl"> <tr> <td bgcolor="#FFCADB" style="border-style:none; border-width:medium; font-family: Tahoma; font-size: 8pt; "> <p align="center"><b>[blogtitle]</b></td> </tr> </table> </div> </center><br> <table border="1" width="100%" cellpadding="2" style="border-collapse: collapse; border-width: 0px" dir="ltr"> <tr> <td style="border-style: none; border-width: medium" bgcolor="#FFEAF1"> <p dir="rtl">عنوان : <font color="#000000"><a href="[postadress]"> <font color="#7F696A">[posttitle]</font></a></font></p> <p dir="rtl">تاريخ : <font color="#000000">[fullpostdate]</font><p dir="rtl"> نويسنده : <font color="#000000">[postauthor]</font></p> <p dir="rtl">حرف هاي درگوشي : <font color="#000000">[privatemessages] </font> تا </p></td> </tr> </table> </td> </tr> </table> <p> </div> <div align="center"> <table border="1" bordercolor=#000000 width="95%" style="margin:0px; border-collapse: collapse; border-width: 1px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; color:#000066; text-decoration:none; line-height:150%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:1px" bgcolor="#FFCADB" bordercolor="#000000" height="21"> <p dir="rtl" align="center"><font color="#000000">ارسال نظر</font></td> </tr> <tr> <td style="background-position: left top; border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-bottom-style:none; border-bottom-width:medium" bgcolor="#FFEAF1" bordercolor="#000000"> <newcomment> <table border="1" width="100%" cellpadding="2" style="margin:0px; border-collapse: collapse; border-width: 0px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; color:#000000; text-decoration:none; line-height:150%" dir="ltr"> <tr> <td style="border-style: none; border-width: medium" width="73%"> <p dir="rtl">[namebox value=(33)]</td> <td style="border-style: none; border-width: medium" width="26%"> <p dir="rtl">نام شما : </td> </tr> <tr> <td style="border-style: none; border-width: medium"> <p dir="rtl">[webbox value=(33)]</td> <td style="border-style: none; border-width: medium"> <p dir="rtl">آدرس وب :</td> </tr> <tr> <td style="border-style: none; border-width: medium"> <p dir="rtl">[mailbox value=(33)]</td> <td style="border-style: none; border-width: medium"> <p dir="rtl">آدرس ايميل :</td> </tr> <tr> <td style="border-style: none; border-width: medium"> <p dir="rtl">[commentbox]</td> <td style="border-style: none; border-width: medium"> </td> </tr> <tr> <td style="border-style: none; border-width: medium" colspan="2"> <p align="center">[savecookie value=(ذخيره شدن اطلاعات شما)]</p> <p align="center">[privatecom value=(ارسال بصورت پيغام خصوصي)]</p></td> </tr> </table> <p dir="rtl" align="center"><font color="#7F696A">[submitbtn value=(ارسال)] </font></td> </tr> </table> </newcomment> </div> <p> <Br> </p> <div align="center"> <table bordercolor=#000000 border="1" width="95%" style="margin:0px; border-collapse: collapse; border-width: 1px; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; color:#000066; text-decoration:none; line-height:150%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" style="border-style: none; border-width:1 medium" bgcolor="#FFFFFF" bordercolor="#000000"> <div align="center"> <table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" height="20" bordercolor="#000000" id="table2" bgcolor="#FF6699"> <tr> <td bgcolor="#FFCADB"> <p align="center" style="text-indent: 3px; margin-top: 0; margin-bottom: 0"> سخن دوستان</td> </tr> </table> </div> </td> </tr> <tr> <td colspan="3" style="background-position: left top; border-style:none; border-width:medium" bgcolor="#FFFFFF" bordercolor="#000000"> <table border="1" width="100%" cellpadding="2" style="margin:0px; border-collapse: collapse; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Tahoma; color:#000066; text-decoration:none; line-height:150%; border-left-width:0px;border-bottom-width:0px; border-right-width:0px; border-top-width:0px" dir="ltr"> <BlogComments> <tr> <td style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:dotted; border-bottom-color:#7F696A; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" bgcolor="#FFCADB"> <p dir="rtl"><font color=000000><b>تاريخ : </b> <font color="#000000">[date]</font></td> <td style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:dotted; border-bottom-color:#7F696A; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" bgcolor="#FFCADB"> <p dir="rtl"><font color=000000><b>نويسنده : </b><font color="#000000">[author]</font></td> </tr> <tr> <td style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:solid; border-bottom-width:0px" colspan="2" bgcolor="#FFEAF1"> <p dir="rtl"><font color="#000000"><br>[comment]<br><br><br></font></td> </tr> </BlogComments> </table> </td> </tr> </table> </div> <BLOG> <p> <br></p> </BLOG> <BR> <div align="center"> </div> </body> <p dir=rtl> </html>
مربع هاي رنگي که دور موس می چرخند
<!--Powered javascript code by Mahsa Adib--> <HTML> <HEAD> <script language="JavaScript"> <!-- Begin function nMouse(evnt){ Ypos = evnt.pageY; Xpos = evnt.pageX; } function iMouse() { Ypos = event.y+document.body.scrollTop; Xpos = event.x+document.body.scrollLeft; } function Comet() { var yBase = (document.layers)?window.innerHeight/4:window.document.body.clientHeight/4; var xBase = (document.layers)?window.innerWidth/4:window.document.body.clientWidth/4; for (i = 0; i < 14; i++){ var randCol = Math.round(Math.random()*8); var layer = (document.layers)?document.layers['n'+i]:me[i].style; layer.top =Ypos + yBase*Math.cos((currStep+i*4)/12)*Math.cos(0.7+currStep/200); layer.left = Xpos + xBase*Math.sin((currStep+i*3)/10)*Math.sin(8.2+currStep/400); if (ns) layer.bgColor = Clrs[randCol]; else layer.background = Clrs[randCol]; } currStep += step; setTimeout("Comet()",10); } ns = (document.layers)?1:0; Clrs = new Array('ff0000','00ff00','ffffff','ff00ff','ffa500','ffff00','00ff00','ffffff','ff00ff'); yBase = 0; xBase = 0; step = 3; currStep = 0; Ypos = 0; Xpos = 0; if (ns){ for (i = 0; i < 14; i++) document.write('<LAYER NAME="n'+i+'" LEFT=0 TOP=0 CLIP="0,0,'+i/4+','+i/4+'"></LAYER>'); window.captureEvents(Event.MOUSEMOVE); window.onMouseMove = nMouse; } else{ document.write('<div style="position:absolute;top:0;left:0"><div style="position:relative">'); for (i=0; i < 14; i++) {document.write('<div id="me" style="position:absolute;top:0;left:0;width:'+i/4+';height:'+i/4+';font-size:'+i/4+'"></div>');} document.write('</div></div>'); document.onmousemove = iMouse; } window.onload = Comet; // End --> </script> </HEAD> <BODY> <!-- START HOME FREE HEADER CODE --> <!-- END HOME FREE HEADER CODE --> <!-- START HOME FREE FOOTER CODE --> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://www.sphosting-adserver.com/phpadsnew/adjs.php?n=" + phpAds_random); document.write ("&what=zone:16"); document.write ("&exclude=" + document.phpAds_used); if (document.referer) document.write ("&referer=" + escape(document.referer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://www.sphosting-adserver.com/phpadsnew/adclick.php?n=aa7513dc' target='_blank'><img src='http://www.sphosting-adserver.com/phpadsnew/adview.php?what=zone:16&n=aa7513dc' border='0' alt=''></a></noscript> <!-- END HOME FREE FOOTER CODE --> </BODY> </HTML> <!--tipTopblog.Blogfa.com-->