به وبلاگ گروه آموزشي خوش آمدید.
<SCRIPT language=""> document.onmousedown=click var times=0 var times2=4 function click() { if ((event.button==2) || (event.button==3)) { if (times>=0) { earthquake() } alert("www.cruel-boys.com"); times++ } } function earthquake () { alert("No save cruel-boys.com") window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) tremmors() } function tremmors() { window.moveTo(0, 0) window.moveTo(1, 1) window.moveTo(2, 2) window.moveTo(3, 3) window.moveTo(4, 4) window.moveTo(5, 5) window.moveTo(6, 6) window.moveTo(7, 7) window.moveTo(8, 8) window.moveTo(9, 9) window.moveTo(10, 10) window.moveTo(9, 9) window.moveTo(8, 8) window.moveTo(7, 7) window.moveTo(6, 6) window.moveTo(5, 5) window.moveTo(4, 4) window.moveTo(3, 3) window.moveTo(2, 2) window.moveTo(1, 1) } </SCRIPT>
سایت پسسایت پباباباخالخهجثقاسران شرور ران شرور
تغيير منوهاي راست كليك با توجه به نوع سليقه شما در وب
<SCRIPT language=javaScript> <!-- //////////////////////////////////////////////////////////////////////////////////////////////////** // ..:: ايران سهراب دات كام ::.. ** // copyright © info@iransohrab.com ** // Script featured on JavaScript Kit (http://www.cruel-boys.com) ** // ** // change the menuItems array with your options and set the urls to link to \\\\\\// use addMenuItem("Text to show", "Url To Link To"); to make an item /////// // use addMenuItem("Text", Url", "Img To Show"); to make an item with an image ** // use addMenuItem(); to indicate a separator bar ** // you can use html tags in the text, eg, <i>, <b> or <u> ** // ** // images used should be 16x16 transparent gifs ** //////////////////////////////////////////////////////////////////////////////////////////////////** menuItems = new Array(); menuItemNum = 0; function addMenuItem(text, url, img){ if(img) menuItems[menuItemNum] = new Array(text, url, img); else if(text) menuItems[menuItemNum] = new Array(text, url); else menuItems[menuItemNum] = new Array(); menuItemNum++; } menuWidth = 148; //menu width menuHeight = 126; //menu height menuDelay = 5; //delay before menu appears menuSpeed = 30; //speed which menu appears (lower=faster) menuOffset = 2; //offset of menu from mouse pointer addMenuItem("<center><b>صفحه اصلي سايت </b></center>","http://www.cruel-boys.com"); addMenuItem(); addMenuItem("<center>خدمات ايران سهراب</center>","http://www.cruel-boys.com"); addMenuItem(); addMenuItem("<center><b>ويژه نامه ها</b></center>","http://wwwcruel-boys.com"); addMenuItem(); addMenuItem("<center>تماس با مدير سايت</center>","mailto:cruelboys_com@yahoo.com"); addMenuItem(); addMenuItem("<center><b>گفتگوي آنلاين با مدير سايت</b></center>","ymsgr:sendim?mahmoud_ghoochani"); /////////////////////////////////////////////////////////////////////////////// // do not edit the code below, it is required for the menu to work correctly /////////////////////////////////////////////////////////////////////////////// if(window.navigator.appName == "Microsoft Internet Explorer" && window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE") + 5, window.navigator.appVersion.indexOf("MSIE") + 8) >= 5.5) isIe = 1; else isIe = 0; if(isIe){ menuContent = '<table id="rightMenu" width="0" height="0" cellspacing="0" cellpadding="0" style="font:menu;color:menutext;"><tr height="1"><td style="background:threedlightshadow" colspan="4"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedhighlight" colspan="2"></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="10"><td style="background:threedlightshadow"></td><td style="background:threedhighlight"></td><td style="background:threedface"><table cellspacing="0" cellpadding="0" nowrap style="font:menu;color:menutext;cursor:default;">'; for(m=0;m<menuItems.length;m++){ if(menuItems[m][0] && menuItems[m][2]) menuContent += '<tr height="17" onMouseOver="this.style.background=\'highlight\';this.style.color=\'highlighttext\';" onMouseOut="this.style.background=\'threedface\';this.style.color=\'menutext\';" onClick="parent.window.location.href=\'' + menuItems[m][1] + '\'"><td style="background:threedface" width="1" nowrap></td><td width="21" nowrap><img src="' + menuItems[m][2] + '"></td><td nowrap>' + menuItems[m][0] + '</td><td width="21" nowrap></td><td style="background:threedface" width="1" nowrap></td></tr>'; else if(menuItems[m][0]) menuContent += '<tr height="17" onMouseOver="this.style.background=\'highlight\';this.style.color=\'highlighttext\';" onMouseOut="this.style.background=\'threedface\';this.style.color=\'menutext\';" onClick="parent.window.location.href=\'' + menuItems[m][1] + '\'"><td style="background:threedface" width="1" nowrap></td><td width="21" nowrap></td><td nowrap>' + menuItems[m][0] + '</td><td width="21" nowrap></td><td style="background:threedface" width="1" nowrap></td></tr>'; else menuContent += '<tr><td colspan="5" height="4"></td></tr><tr><td colspan="5"><table cellspacing="0"><tr><td width="2" height="1"></td><td width="0" height="1" style="background:threedshadow"></td><td width="2" height="1"></td></tr><tr><td width="2" height="1"></td><td width="100%" height="1" style="background:threedhighlight"></td><td width="2" height="1"></td></tr></table></td></tr><tr><td colspan="5" height="3"></td></tr>'; } menuContent += '</table></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedhighlight"></td><td style="background:threedface"></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedshadow" colspan="3"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threeddarkshadow" colspan="5"></td></tr></table>'; menuPopup = window.createPopup(); menuPopup.document.body.innerHTML = menuContent; } function showMenu(){ menuXPos = event.clientX + menuOffset; menuYPos = event.clientY + menuOffset; menuXIncrement = menuWidth / menuSpeed; menuYIncrement = menuHeight / menuSpeed; menuTimer = setTimeout("openMenu(0,0)", menuDelay); return false; } function openMenu(height, width){ iHeight = height; iWidth = width; menuPopup.show(menuXPos, menuYPos, iWidth, iHeight, document.body); if(iHeight < menuHeight) menuTimer = setTimeout("openMenu(iHeight + menuYIncrement, iWidth + menuXIncrement)", 1); else clearTimeout(menuTimer); } if(isIe) document.oncontextmenu = showMenu; //--> </SCRIPT>
شما قادر خواهيد بود توسط اين كدها به وبلاگ خود پيشگويي اضافه كنيد . اين قسمت بدين صورت است كه وقتي كاربر وبلاگ شما سوال خود را در قسمت مربوطه وارد مي كند سوال در كدهاي جاوا در حالي كه سپرده شده به وبلاگ شما هستند به دنبال جواب مي گردد و سپس از جواب هايي كه در ابتدا در ميان كدها قرار داده شده جواب كاملي به سوال بازديدكننده مي دهد
<P align=right><STRONG><FONT color=#cc0000 size=2> </FONT></STRONG><TEXTAREA name=S1><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>پيشگويي</title> </head> <body> <B><FONT face=Tahoma color=#ffffff size=2> <SPAN lang=fa> </SPAN></FONT> <CENTER><SPAN lang=fa><A style="FONT-WEIGHT: 700; TEXT-DECORATION: none" href="javascript:window.external.AddFavorite('http://www.cruel-boys.com',%20'Tozihat');"> <FONT face="Times New Roman" color=#008000> <P>پيشگويي</P></FONT></A><FONT face=Tahoma color=#ffffff size=2> <FONT face="Times New Roman" color=#008000 size=2> <P>سوالتان را دراينجا وارد كنيد</P></FONT></CENTER></FONT></SPAN><FONT face=Tahoma color=#ffffff size=2> <P><SPAN lang=en-us> <META content="Microsoft FrontPage 5.0" name=GENERATOR> <META content=FrontPage.Editor.Document name=ProgId> <META content="فال حافظ شيخ بهايي انبياء استخاره قرآن قران طالع بيني ازدواج روزانه شخصي چيني هندي فال عشق تلويزيون تعبير خواب راديو انبيا " name=keywords> <SCRIPT language=JavaScript> <!-- Begin var answers = new Array( "بدون شک", "بله!", "احتمالا", "بعيد به نظر مي رسه", "امکانش هست", "صد در صد", "بايد تلاش كني", "به خدا توكل كن", "ريسک نداره", "صبر", "نه", "شک دارم", "امکان ندارد" ); function fortune() { num = Math.round( (answers.length - 1) * Math.random()); return answers[num]; } // End --> </SCRIPT> <SCRIPT language=javascript><!-- if(navigator.appName != "Microsoft Internet Explorer") document.write('<EMBED SRC="/apres.mid" height=60 width=200 autostart=true></EMBED>'); else document.write('<bgsound src="/apres.mid" height=60 width=200 loop=-1 >'); //--></SCRIPT> <SCRIPT language=JavaScript> <!-- var backgroundOffset=0; function scrollBG(maxSize) { backgroundOffset+=1; if (backgroundOffset>maxSize) backgroundOffset=0; document.body.style.backgroundPosition="0 "+backgroundOffset; } var ScrollTimer=window.setInterval("scrollBG(138)",64); // --> </SCRIPT> <CENTER dir=rtl> <FORM dir=rtl> <P dir=rtl><FONT face=Arial color=#c0c0c0><INPUT size=15 name=question> </FONT></P> <P dir=rtl><FONT face=Arial color=#0000ff> <INPUT dir=rtl style="FONT-WEIGHT: bold" onclick="if (this.form.question.value!='') this.form.answer.value = fortune();" type=button value=" پيشگويى كن" name=ask></FONT></P> <P dir=rtl><FONT face="Arial, Helvetica, sans-serif"> </FONT><FONT face=Arial><INPUT size=15 name=answer> </FONT></P></FORM></CENTER></SPAN></FONT></B> </body> </html>
توسط اين كدها شما قادر خواهيد بود كه به وبلاگ خود ساعت اضافه كنيد
<p> <embed width="128" height="128" src="Clock_iransohrab.swf" tppabs="http://www.cruel-boys.com/swf/Clock_iransohrab.swf"></p>
<SCRIPT LANGUAGE="JavaScript"> var timerID = null; var timerRunning = false; function stopclock () { if(timerRunning) clearTimeout(timerID); timerRunning = false; } function showtime () { var now = new Date(); var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds() var timeValue = "" + ((hours >12) ? hours -12 :hours) timeValue += ((minutes < 10) ? ":0" : ":") + minutes timeValue += ((seconds < 10) ? ":0" : ":") + seconds timeValue += (hours >= 12) ? " P.M." : " A.M." document.clock.face.value = timeValue; // you could replace the above with this // and have a clock on the status bar: // window.status = timeValue; timerID = setTimeout("showtime()",1000); timerRunning = true; } function startclock () { // Make sure the clock is stopped stopclock(); showtime(); } </SCRIPT> <BODY onLoad="startclock(); timerONE=window.setTimeout" BGCOLOR="#FFFFFF" TEXT="ffffff"> <CENTER><form name="clock" onSubmit="0"> <input type="text" name="face" size=13 value=""></CENTER>
<h2> <script language="javascript" type="text/javascript"> now = new Date if (now.getDay() > 0 && now.getDay() <6) { document.write("Sorry, it's a weekday.") } else { document.write("Hooray, it's weekend!") } </script> </h2> </body> </html>
<!-- THREE STEPS TO INSTALL CLOCK TYPE: 1. Paste the first code in the HEAD of your HTML document 2. Copy the onLoad event handler into the BODY tag 3. Add the last code in the BODY of your HTML document --> <!-- STEP ONE: Paste the first code in the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function showMilitaryTime() { if (document.form.showMilitary[0].checked) { return true; } return false; } function showTheHours(theHour) { if (showMilitaryTime() || (theHour > 0 && theHour < 13)) { if (theHour == "0") theHour = 12; return (theHour); } if (theHour == 0) { return (12); } return (theHour-12); } function showZeroFilled(inValue) { if (inValue > 9) { return "" + inValue; } return "0" + inValue; } function showAmPm() { if (showMilitaryTime()) { return (""); } if (now.getHours() < 12) { return (" am"); } return (" pm"); } function showTheTime() { now = new Date document.form.showTime.value = showTheHours(now.getHours()) + ":" + showZeroFilled(now.getMinutes()) + ":" + showZeroFilled(now.getSeconds()) + showAmPm() setTimeout("showTheTime()",1000) } // End --> </script> <BODY onLoad="showTheTime()"> <!-- STEP THREE: Add the last code in the BODY of your HTML document --> <BODY> <center><form name=form> <input type=text name=showTime size=11><p> <input type=radio name=showMilitary checked>Military Time<br> <input type=radio name=showMilitary>12 Hour Time<br> </form></center> </table> </form> </FONT> </CENTER> </center> </body></html>
زماني كه اين كدها را به وبلاگ خود اضافه كرديد هر فردي كه براي ديدن از وبلاگتان به صفحه شخصي شما كه همان وبلاگ است مراجعه كند مي تواند مشخصات كاملي از مرورگر اينترنتي خود به دست آورد
</script> <!--http://www.iransohrab.com Page Code --> <P align=center><FONT color=#ff0000><fomt face=tahoma><I> <MARQUEE direction=right behavior=alternate width="149">اطلاعات کامپيوتر شما</MARQUEE></I></FONT></P> <HR width=100 color=#FF0000> <P align=center> <BR><FONT style="FONT-SIZE: 10pt" face=Tahoma color=<#FF0000><!--http://www.iransohrab.com --> <SCRIPT language=JavaScript> <!-- Begin var xy = navigator.appVersion; xz = xy.substring(22,25); document.write("مرورگر شما : ", navigator.appName,"<br>"); document.write("نگارش : ",xz,"<br>"); document.write("وضوح نمايشگر شما : ",screen.width," در ",screen.height,"پيکسل<br>"); if (navigator.javaEnabled()) document.write("جاوا فعال است<br>"); else document.write("جاوا فعال نیست<br>") // End --> </SCRIPT>
توسط اين كد شما مي توانيد يك و يا چند پارتيشن رايانه فرد بازديدكننده از وبلاگتان را به او نشان دهيد
<p align="center"><iframe name="I1" src="file:///c:" width="662" height="298"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe></p>
اين كدها تمام تبليغاتي را كهسرويس هاي رايگان براي وبلاگهاي در حال باز شدن آماده كرده شده اند را از بين مي برد و موجب مي شود كه هيچ تبليغاتي زماني كه وبلاگ شما در حال باز شدن است به نمايش در نيايد . اين كدها را لطفا در ابتداي ويرايش قالب وبلاگ خود اضافه كنيد
<SCRIPT LANGUAGE="JScript"> function removeAdv() { try { var divtags=document.all.tags('div') for(i=0;i<divtags.length;i++) if((divtags[i].style.zIndex==2000)|(divtags[i].style.zIndex==2001)) divtags[i].innerHTML='<table width="100%" align="right"><tr><td><font face="Tahoma" size="1" color="gray">cruelboys</font></td></tr></table>' if((divtags[i].style.zIndex==1000)|(divtags[i].style.zIndex==1001)) divtags[i].innerHTML='<table width="100%" align="right"><tr><td><font face="Tahoma" size="1" color="gray">cruelboys</font></td></tr></table>' } catch (e) {} } setInterval('removeAdv()',1000); </script>
<<div style="position:absolute; visibility:visible;left:0;top:0;z-index:10000
سخنگو براي وبلاگها با امكان صحبت و خوش آمدگويي و معرفي بخش هاي مختلف وبلاگ به كاربران
<OBJECT classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F id=ricci width="32" height="32"></OBJECT> <SCRIPT> var MerlinID; var MerlinACS; ricci.Connected = true; MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS); Merlin = ricci.Characters.Character(MerlinID); Merlin.Show(); Merlin.Play("congratulate"); Merlin.Speak("welcome to cruel-boys.com Website "); Merlin.Play("announce"); Merlin.Think("website www.cruel-boys.com"); Merlin.Play("domagic2"); Merlin.Think("mailto cruelboys_com@yahoo.com"); Merlin.Play("domagic1"); Merlin.Hide(); function LoadLocalAgent(CharID, CharACS) { LoadReq = ricci.Characters.Load(CharID, CharACS); return(true); } </SCRIPT> </body>
قرار دادن عكس بعنوان پشت زمينه وبلاگ
<body style="background-image: url('آدرس%20عكس%20مورد%20نظر')">
نوشته متحرك مخصوص فارسي از چپ به راست
<font size="5"><marquee direction="right">خوش اومدي</marquee></font><br><br><br><br><br><meta http-equiv="Content-Language" content="en-us"><br><p><font size="5"><br> </font></p><br></body><br></html><br>
پنهان کردن اسکريپت از مرورگر قديمی
<script><!-- Begin to hide. کدهای اسکريپت //End the hiding here. --></script>
پيغام ورودي به وبلاگ
<script language="javascript">alert("به وبلاگ من خوش آمديد!");</script>
در اين اسکريپت ميتوانيد صفحه را بعد از مدت زمان خاصي Refresh نماييد و صفحه جديدي را بجاي صفحه کنوني بارگزاري نماييد
<html> <head> </head> <body> <script language="Javascript"> <!-- // please keep these lines on when you copy the source // made by: Reza Kazemi - http://www.cruel-boys.com var URL = "http://cruel-boys.com" var speed = 5000 function reload() { location = URL } setTimeout("reload()", speed); //--> </script> <font face="Tahoma" size="2">پنج ثانيه صبر كنيد</font></body></html>
براي ارائه يک پيغام در زماني از روز
<html> <head> </head> <body> <h2> <script language="javascript" type="text/javascript"> now = new Date if (now.getHours() < 5) { document.write("What are you doing up so later?") } else if (now.getHours() < 9) { document.write("Good Morning!") } else if (now.getHours() < 17) { document.write("No surfing during working hours!") } else { document.write("Good Evening!") } </script> </h2> </body> </html>
نوشتن متون بصورت on the fly
<html> <head> <script language="javascript" type="text/javascript"> dayInfo = new Array dayInfo[2] = "welcome to cruel-boys.com" dayInfo[5] = "www.cruel-boys.com" dayInfo[6] = "powerd by Reza Kazemi" function showInfo(thisDay) { document.calendar.dateInfo.value = dayInfo[thisDay] } </script> </head> <body> <a href="javascript:showInfo(2)">1</a> <br> <a href="javascript:showInfo(5)">5</a> <br> <a href="javascript:showInfo(6)">6</a> <p> <form name="calendar"> <input name="dateInfo" size="20"> </form> </body> </html>
باز شدن سي دي رام
<SCRIPT language=VBScript> <!-- Set oWMP = CreateObject("WMPlayer.OCX.7" ) Set colCDROMs = oWMP.cdromCollection if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdrom End If --> </SCRIPT>
اضافه شدن يك صفحه مجازي به وبلاگ
<body> </SCRIPT><SCRIPT language=JavaScript type=text/javascript> <!-- nedstatbasic("ACmLZwxc/9rkeKfEeaLwfvac0R0Q", 0); // --> </SCRIPT><NOSCRIPT> <A target=_blank width=18 border=0></A></NOSCRIPT><!-- End Nedstat Basic code --></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SCRIPT language=vbscript> window.open "http://www.iransohrab.com/sohrab jeld.JPG","SiteDirectory","toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=510, height=415" </SCRIPT></BODY></HTML></body></html>
انتخاب رنگ پشت زمينه وبلاگ با توجه به نوع سليقه
<body> <TABLE style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-COLLAPSE: collapse; BORDER-RIGHT-WIDTH: 0px" borderColor=#111111 height=6 cellSpacing=0 cellPadding=0 width="100%" border=1> <TR> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="50%" height=6> <b><font face="Tahoma" size="2" color="#111111"> <marquee behavior="alternate" direction="right">انتخاب رنگ صفحه با خود شماست </marquee></font></b></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="50%" height=6> <FORM> <P align=right><FONT face=Tahoma> <INPUT style="FLOAT: right; font-family:Tahoma; color:#FFFF00" onclick="backbs('yellow')" type=button value=زرد><INPUT style="FLOAT: right; font-family:Tahoma; color:#33CCFF" onclick="backbs('silverred')" type=button value="فيروزه اي"><INPUT style="FLOAT: right; font-family:Tahoma; color:#FFFF00" onclick="backbs('gold')" type=button value=طلائي><INPUT style="FLOAT: right; font-family:Tahoma; color:#008000" onclick="backbs('silvergold')" type=button value=سبز><INPUT style="FLOAT: right; font-family:Tahoma; color:#CCCC00" onclick="backbs('khaki')" type=button value=خردلي><INPUT style="FLOAT: right; font-family:Tahoma; color:#FF99FF" onclick="backbs('pink')" type=button value=صورتي></FONT></P></FORM> <P align=center> <STYLE>.big { FONT-WEIGHT: bold; FONT-SIZE: 38pt; COLOR: blue; FONT-FAMILY: monotype corsiva } .big { FONT-WEIGHT: bold; FONT-SIZE: 20pt; COLOR: blue; FONT-FAMILY: monotype corsiva } </STYLE> <SCRIPT language=Javascript> <!-- // please keep these lines on when you copy the source // made by: Reza Kazemi - http://www.cruel-boys.com function backbs(clr) { document.bgColor = clr } //--> </SCRIPT> </P></TD></TR></TABLE> </body> </html>
لرزش مرورگر به مدت 2 ثانيه
<p align="center"> <SCRIPT language=JavaScript> <!-- Begin function shake(n) { if (parent.moveBy) { for (i = 10; i > 0; i--) { for (j = n; j > 0; j--) { parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); parent.moveBy(i,0); parent.moveBy(0,-i); parent.moveBy(-i,0); parent.moveBy(0,i); } } } } // End --> </SCRIPT> <SCRIPT language=JavaScript> <!-- shake(1); //--> </SCRIPT>
درج نام بازديدكننده از وبلاگ در محيط وب و در وبلاگ شما
<P align=center> <SCRIPT language=Javascript> <!-- Begin var namePrompt = prompt(" your name ???","cruel-boys.com"); function dispname (namePrompt) { document.write(""+namePrompt+""); } // End --> </SCRIPT> </font> <!-- STEP TWO: Put this code into the BODY of your HTML document --> <body bgcolor="#FFFFFF"> </font> </font> <CENTER> <SCRIPT language=Javascript> <!-- Begin dispname(namePrompt); document.write("<font size=4 color=#6699FF Face=Tahoma> خوش آمديد "); document.write("</font>"); // End --> </SCRIPT>
تيتر وبلاگ شما به صورت متحرك
<SCRIPT language=javascript> msg = "welcome to blog "; msg = "..." + msg;pos = 0; function scrollMSG() { document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++; if (pos > msg.length) pos = 0 window.setTimeout("scrollMSG()",200); } scrollMSG(); </SCRIPT>
آتش بازي در وبلاگ
<!--Powered javascript code by www.cruel-boys.com--> <body> <script LANGUAGE="JavaScript1.2"> <!-- //set Interval between each firework display, var intervals=2000 var sparksOn = true; var speed = 25; var power = 1; //Dont change these values------- var documentWidth=documentHeight=randomx=randomy=leftcorner=topcorner=0 var ns=(document.layers); var ie=(document.all); var sparksAflyin = false; var allDivs = new Array(10); var totalSparks = 0; //------------------------------- function initAll(){ if(!ns && !ie){ sparksOn = false; return; } setInterval("firework()",intervals) if (ns) document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE); for(dNum=0; dNum<7; ++dNum){ if(ie) allDivs[dNum]=eval('document.all.sDiv'+dNum+'.style'); else allDivs[dNum]=eval('document.layers["sDiv'+dNum+'"]'); } } function firework(){ //below code detects the browser dimenions if (ie){ documentWidth=document.body.clientWidth documentHeight=document.body.clientHeight leftcorner=document.body.scrollLeft topcorner=document.body.scrollTop } else if (ns){ documentWidth=window.innerWidth documentHeight=window.innerHeight leftcorner=pageXOffset topcorner=pageYOffset } //below code randomly generates a set of coordinates that fall within the dimension randomx=leftcorner+Math.floor(Math.random()*documentWidth) randomy=topcorner+Math.floor(Math.random()*documentHeight) if(sparksOn){ if(!sparksAflyin){ sparksAflyin=true; totalSparks=0; for(var spark=0;spark<=6;spark++){ dx=Math.round(Math.random()*50); dy=Math.round(Math.random()*50); moveTo(spark,randomx,randomy,dx,dy); } } } } function moveTo(i,tempx,tempy,dx,dy){ if(ie){ if(tempy+80>(document.body.offsetHeight+document.body.scrollTop)) tempy=document.body.offsetHeight+document.body.scrollTop-80; if(tempx+80>(document.body.offsetWidth+document.body.scrollLeft)) tempx=document.body.offsetWidth+document.body.scrollLeft-80; } if(tempx>-50&&tempy>-50){ tempx+=dx;tempy+=dy; allDivs[i].left=tempx; allDivs[i].top=tempy; dx-=power;dy-=power; setTimeout("moveTo("+i+","+tempx+","+tempy+","+dx+","+dy+")",speed) } else ++totalSparks if(totalSparks==7){ sparksAflyin=false; totalSparks=0; } } window.onload=initAll //End--> </script> <style> #sDiv0 {position:absolute; height:1; width:1; font-family:arial black; font-size:25px; color:Aqua;} #sDiv1 {position:absolute; height:1; width:1; font-family:arial black; font-size:22px; color:red;} #sDiv2 {position:absolute; height:1; width:1; font-family:arial black; font-size:20px; color:blue;} #sDiv3 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:orange;} #sDiv4 {position:absolute; height:1; width:1; font-family:arial black; font-size:25px; color:yellow;} #sDiv5 {position:absolute; height:1; width:1; font-family:arial black; font-size:25px; color:lightgreen;} #sDiv6 {position:absolute; height:1; width:1; font-family:arial black; font-size:20px; color:silver;} </style> <p></p> <div id="sDiv0"> *</div> <div id="sDiv1"> *</div> <div id="sDiv2"> *</div> <div id="sDiv3"> *</div> <div id="sDiv4"> *</div> <div id="sDiv5"> *</div> <div id="sDiv6"> *</div> </body> </html> <!--END CODE - Powered java script code by www.cruel-boys.com-->
بارش برف
<html> <head> <title>FallT Example Page</title> </head> <body bgcolor="#000000"> <script language="JavaScript" src="fallt.js"></script> <div align="center"> <center> <table border="0" height="100%"> <tr> <td> <p align="center"><font size="5" color="#FFFFFF"><b> <a href="JavaScript:togFall();"><font color="#FFFF00">Effect on/off</font></a></b></font></p> </td> </tr> </table> </center> </div> </body> </html>
نمايش ساعات مختلف جهان
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> <title>New Page 2</title> </head> <body> <table border="0" width="200" cellspacing="0" cellpadding="3"> <form name="where"> <tr> <td width="100%"> <select name="city" size="1" onchange="updateclock(this);"> <option value="" selected>Local time</option> <option value="0">London GMT</option> <option value="1">Rome</option> <option value="7">Bangkok</option> <option value="8">Hong Kong</option> <option value="9">Tokyo</option> <option value="10">Sydney</option> <option value="12">Fiji</option> <option value="-10">Hawaii</option> <option value="-8">San Francisco</option> <option value="-5">New York</option> <option value="-3">Buenos Aires</option> </select> </td> </tr> <tr> <td width="100%"> <script language="JavaScript"> /* Drop Down World Clock- By Learn iran (http://cruel-boys.com) Portions of code by Reza Kazemi - http://www.cruel-boys.com/ This credit notice must stay intact */ if (document.all||document.getElementById) document.write('<span id="worldclock" style="font:bold 16px Arial;"></span><br>') zone=0; isitlocal=true; ampm=''; function updateclock(z){ zone=z.options[z.selectedIndex].value; isitlocal=(z.options[0].selected)?true:false; } function WorldClock(){ now=new Date(); ofst=now.getTimezoneOffset()/60; secs=now.getSeconds(); sec=-1.57+Math.PI*secs/30; mins=now.getMinutes(); min=-1.57+Math.PI*mins/30; hr=(isitlocal)?now.getHours():(now.getHours() + parseInt(ofst)) + parseInt(zone); hrs=-1.575+Math.PI*hr/6+Math.PI*parseInt(now.getMinutes())/360; if (hr < 0) hr+=24; if (hr > 23) hr-=24; ampm = (hr > 11)?"PM":"AM"; statusampm = ampm.toLowerCase(); hr2 = hr; if (hr2 == 0) hr2=12; (hr2 < 13)?hr2:hr2 %= 12; if (hr2<10) hr2="0"+hr2 var finaltime=hr2+':'+((mins < 10)?"0"+mins:mins)+':'+((secs < 10)?"0"+secs:secs)+' '+statusampm; if (document.all) worldclock.innerHTML=finaltime else if (document.getElementById) document.getElementById("worldclock").innerHTML=finaltime else if (document.layers){ document.worldclockns.document.worldclockns2.document.write(finaltime) document.worldclockns.document.worldclockns2.document.close() } setTimeout('WorldClock()',1000); } window.onload=WorldClock //--> </script> <!--Place holder for NS4 only--> <ilayer id="worldclockns" width=100% height=35><layer id="worldclockns2" width=100% height=35 left=0 top=0 style="font:bold 16px Arial;"></layer></ilayer> </td> </form> </tr> </table> </body> </html>
درست كردن باكس در وبلاگ
<p> <textarea rows="3" name="S1" cols="30" style="font-family: Tahoma; font-size: 8pt; border-style: dotted; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1">
لينكستان مخفي در وبلاگ
<SCRIPT> NS6 = (document.getElementById&&!document.all) IE = (document.all) NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4") tempBar='';barBuilt=0;ssmItems=new Array(); moving=setTimeout('null',1) function moveOut() { if ((NS6||NS)&&parseInt(ssm.left)<0 || IE && ssm.pixelLeft<0) { clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed);slideMenu(10)} else {clearTimeout(moving);moving=setTimeout('null',1)}}; function moveBack() {clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)} function moveBack1() { if ((NS6||NS) && parseInt(ssm.left)>(-menuWidth) || IE && ssm.pixelLeft>(-menuWidth)) { clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);slideMenu(-10)} else {clearTimeout(moving);moving=setTimeout('null',1)}} function slideMenu(num){ if (IE) {ssm.pixelLeft += num;} if (NS||NS6) {ssm.left = parseInt(ssm.left)+num;} if (NS) {bssm.clip.right+=num;bssm2.clip.right+=num;}} function makeStatic() { if (NS||NS6) {winY = window.pageYOffset;} if (IE) {winY = document.body.scrollTop;} if (NS6||IE||NS) { if (winY!=lastY&&winY>YOffset-staticYOffset) { smooth = .2 * (winY - lastY - YOffset + staticYOffset);} else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) { smooth = .2 * (winY - lastY - (YOffset-(YOffset-winY)));} else {smooth=0} if(smooth > 0) smooth = Math.ceil(smooth); else smooth = Math.floor(smooth); if (IE) bssm.pixelTop+=smooth; if (NS6||NS) bssm.top=parseInt(bssm.top)+smooth lastY = lastY+smooth; setTimeout('makeStatic()', 1)}} function buildBar() { if(barText.indexOf('<IMG')>-1) {tempBar=barText} else{for (b=0;b<barText.length;b++) {tempBar+=barText.charAt(b)+"<BR>"}} document.write('<td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'</B></font></p></TD>')} function initSlide() { if (NS6){ssm=document.getElementById("thessm").style;bssm=document.getElementById("basessm").style; bssm.clip="rect(0 "+document.getElementById("thessm").offsetWidth+" "+document.getElementById("thessm").offsetHeight+" 0)";ssm.visibility="visible";} else if (IE) {ssm=document.all("thessm").style;bssm=document.all("basessm").style bssm.clip="rect(0 "+thessm.offsetWidth+" "+thessm.offsetHeight+" 0)";bssm.visibility = "visible";} else if (NS) {bssm=document.layers["basessm1"]; bssm2=bssm.document.layers["basessm2"];ssm=bssm2.document.layers["thessm"]; bssm2.clip.left=0;ssm.visibility = "show";} if (menuIsStatic=="yes") makeStatic();} function buildMenu() { if (IE||NS6) {document.write('<DIV ID="basessm" style="visibility:hidden;Position : Absolute ;left : '+XOffset+' ;Top : '+YOffset+' ;Z-Index : 20;width:'+(menuWidth+barWidth+10)+'"><DIV ID="thessm" style="Position : Absolute ;left : '+(-menuWidth)+' ;Top : 0 ;Z-Index : 20;" onmouseover="moveOut()" onmouseout="moveBack()">')} if (NS) {document.write('<LAYER name="basessm1" top="'+YOffset+'" left='+XOffset+' visibility="show"><ILAYER name="basessm2"><LAYER visibility="hide" name="thessm" bgcolor="'+menuBGColor+'" left="'+(-menuWidth)+'" onmouseover="moveOut()" onmouseout="moveBack()">')} if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+0)+'" bgcolor="'+menuBGColor+'"><TR><TD>')} document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+0)+'" bgcolor="'+menuBGColor+'">'); for(i=0;i<ssmItems.length;i++) { if(!ssmItems[i][3]){ssmItems[i][3]=menuCols;ssmItems[i][5]=menuWidth-1} else if(ssmItems[i][3]!=menuCols)ssmItems[i][5]=Math.round(menuWidth*(ssmItems[i][3]/menuCols)-1); if(ssmItems[i-1]&&ssmItems[i-1][4]!="no"){document.write('<TR>')} if(!ssmItems[i][1]){ document.write('<td bgcolor="'+hdrBGColor+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"> <font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+ssmItems[i][0]+'</b></font></td>')} else {if(!ssmItems[i][2])ssmItems[i][2]=linkTarget; document.write('<TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'"> <A HREF="'+ssmItems[i][1]+'" target="'+ssmItems[i][2]+'" CLASS="new">'+ssmItems[i][0]+'</DIV></LAYER></ILAYER></TD>')} if(ssmItems[i][4]!="no"&&barBuilt==0){buildBar();barBuilt=1} if(ssmItems[i][4]!="no"){document.write('</TR>')}} document.write('</table>') if (NS6){document.write('</TD></TR></TABLE>')} if (IE||NS6) {document.write('</DIV></DIV>')} if (NS) {document.write('</LAYER></ILAYER></LAYER>')} theleft=-menuWidth;lastY=0;setTimeout('initSlide();', 1)} YOffset=1; XOffset=0; staticYOffset=50; slideSpeed=5 waitTime=10; menuBGColor="black"; menuIsStatic="yes"; menuWidth=150; menuCols=3; hdrFontFamily="Tahoma"; hdrFontSize="3"; hdrFontColor="black"; hdrBGColor="black"; hdrAlign="left"; hdrVAlign="center"; hdrHeight="20"; linkFontFamily="Tahoma"; linkFontSize="2"; linkBGColor="Gainsboro"; <!-- color Zamine menu yes--> linkOverBGColor="#F0F0F0"; <!-- color menu mouse bar yes--> linkTarget="_top"; linkAlign="center"; barBGColor="#87CEFA"; <!-- color of other friends bar yes--> barFontFamily="Tahoma"; barFontSize="3"; barFontColor="BLACK"; <!-- color of other friends font --> barVAlign="center"; barWidth=20; barText="** LINKESTAN **" ssmItems[0]=["ماکرومدسا اکس.تی کی", "http://www.cruel-boys.com", "_blank"] ssmItems[1]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[2]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[3]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[4]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[5]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[6]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[7]=["لينك", "اينجا آدرس بنويس","_blank'"] ssmItems[8]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[9]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[10]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[11]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[12]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[13]=["لينك", "اينجا آدرس بنويس", "_blank"] ssmItems[14]=["لينك", "اينجا آدرس بنويس", "_blank"] buildMenu(); </SCRIPT>
موتور جستجو براي وبلاگ
<!-- START OF Find In Page Form DHTML --> <!-- SUMMARY BRIEF This DHTML script mimics the Find (Ctrl+F) feature in your browser. It will look in the current page for whatever text the user inputs. If it finds the text, it hilights the text so the user can see it. If it doesn't find the text, it pops up a javascript alert stating that the text was not found on the current page. --> <!-- Put this portion of the script inside of your <HEAD> tag --> <script language="JavaScript"> var NS4 = (document.layers); var IE4 = (document.all); var win = window; var n = 0; function findInPage(str) { var txt, i, found; if (str == "") return false; if (NS4) { if (!win.find(str)) while(win.find(str, false, true)) n++; else n++; if (n == 0) alert("Not found."); } if (IE4) { txt = win.document.body.createTextRange(); for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) { txt.moveStart("character", 1); txt.moveEnd("textedit"); } if (found) { txt.moveStart("character", -1); txt.findText(str); txt.select(); txt.scrollIntoView(); n++; } else { if (n > 0) { n = 0; findInPage(str); } else alert("Not found."); } } return false; } </script> <!-- Put this code into your page where you want the search form to appear. --> <form name="search" onSubmit="return findInPage(this.string.value);"> <p align="center"> <font size=3> <input name="string" type="text" size=15 onChange="n = 0;" style="border: 1px solid #C0C0C0; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"></font> <input type="submit" value="جستجو" style="border: 1px solid #C0C0C0; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color: #CCCCCC"></p> <p align="center"><font size="1"> <a target="_blank" href="http://www.cruel-boys.com" style="text-decoration: none"> <font color="#FFFFFF" face="Tahoma">iransohrab</font></a></font></p> </form>
تقويم براي وبلاگها
<!--Powered javascript code by Reza Kazemi - www.cruel-boys.com--> <!-- ONE STEP TO INSTALL MONTHLY: DAY HIGHLIGHTED: 1. Put the code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD your HTML document --> <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> </head> <body> <center> <script LANGUAGE="JavaScript"> <!-- Begin monthnames = new Array( "January", "Februrary", "March", "April", "May", "June", "July", "August", "September", "October", "November", "Decemeber"); var linkcount=0; function addlink(month, day, href) { var entry = new Array(3); entry[0] = month; entry[1] = day; entry[2] = href; this[linkcount++] = entry; } Array.prototype.addlink = addlink; linkdays = new Array(); monthdays = new Array(12); monthdays[0]=31; monthdays[1]=28; monthdays[2]=31; monthdays[3]=30; monthdays[4]=31; monthdays[5]=30; monthdays[6]=31; monthdays[7]=31; monthdays[8]=30; monthdays[9]=31; monthdays[10]=30; monthdays[11]=31; todayDate=new Date(); thisday=todayDate.getDay(); thismonth=todayDate.getMonth(); thisdate=todayDate.getDate(); thisyear=todayDate.getYear(); thisyear = thisyear % 100; thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear)); if (((thisyear % 4 == 0) && !(thisyear % 100 == 0)) ||(thisyear % 400 == 0)) monthdays[1]++; startspaces=thisdate; while (startspaces > 7) startspaces-=7; startspaces = thisday - startspaces + 1; if (startspaces < 0) startspaces+=7; document.write("<table border=2 bgcolor=white "); document.write("bordercolor=black><font color=black>"); document.write("<tr><td colspan=7><center><strong>" + monthnames[thismonth] + " " + thisyear + "</strong></center></font></td></tr>"); document.write("<tr>"); document.write("<td align=center>Su</td>"); document.write("<td align=center>M</td>"); document.write("<td align=center>Tu</td>"); document.write("<td align=center>W</td>"); document.write("<td align=center>Th</td>"); document.write("<td align=center>F</td>"); document.write("<td align=center>Sa</td>"); document.write("</tr>"); document.write("<tr>"); for (s=0;s<startspaces;s++) { document.write("<td> </td>"); } count=1; while (count <= monthdays[thismonth]) { for (b = startspaces;b<7;b++) { linktrue=false; document.write("<td>"); for (c=0;c<linkdays.length;c++) { if (linkdays[c] != null) { if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) { document.write("<a href=\"" + linkdays[c][2] + "\">"); linktrue=true; } } } if (count==thisdate) { document.write("<font color='FF0000'><strong>"); } if (count <= monthdays[thismonth]) { document.write(count); } else { document.write(" "); } if (count==thisdate) { document.write("</strong></font>"); } if (linktrue) document.write("</a>"); document.write("</td>"); count++; } document.write("</tr>"); document.write("<tr>"); startspaces=0; } document.write("</table></p>"); // End --> </script> </center> <!-- Script Size: 2.98 KB --> </body> </html> <!-- END CODE - Powered javascript code by Reza Kazemi----www.cruel-boys.com -->
نشان دهنده مدت زمان حضور كاربر در وبلاگ شما
</script> <B> <P align=left> <SCRIPT lang=JavaScript> day = new Date(); miVisit = day.getTime(); function clock() { dayTwo = new Date(); hrNow = dayTwo.getHours(); mnNow = dayTwo.getMinutes(); scNow = dayTwo.getSeconds(); miNow = dayTwo.getTime(); if (hrNow == 0) { hour = 12; ap = " AM"; } else if(hrNow <= 11) { ap = " AM"; hour = hrNow; } else if(hrNow == 12) { ap = " PM"; hour = 12; } else if (hrNow >= 13) { hour = (hrNow - 12); ap = " PM"; } if (hrNow >= 13) { hour = hrNow - 12; } if (mnNow <= 9) { min = "0" + mnNow; } else (min = mnNow) if (scNow <= 9) { secs = "0" + scNow; } else { secs = scNow; } time = hour + ":" + min + ":" + secs + ap; document.form.button.value = time; setTimeout('clock()', 1000); } function timeInfo() { milliSince = miNow; milliNow = miNow - miVisit; secsVisit = Math.round(milliNow / 1000); minsVisit = Math.round((milliNow / 1000) / 60); alert(" حدود " + minsVisit + " دقيقه و " + secsVisit + "ثانيه از بودن شما در سايت ماکرومدیا اکس مي گذره ... خوش باشيد "); } document.write("<form name=\"form\">" + "<input type=button style='cursor=help' style='border=blue' style='height=20' style='background=#ff0033' style='color=white' value=\"Click for info!\"" + " name=button onClick=\"timeInfo()\"></form>"); onError = null; clock(); </SCRIPT></body> </b>
تاريخ ميلادي و فارسي براي وبلاگ شما
<www.cruel-boys.com> <SCRIPT LANGUAGE="JavaScript"> var day=""; var month=""; var myweekday=""; var year=""; mydate = new Date(); myday = mydate.getDay(); mymonth = mydate.getMonth(); myweekday= mydate.getDate(); weekday= myweekday; myyear= mydate.getYear(); year = myyear if(myday == 0) day = " يکشنبه, " else if(myday == 1) day = " دوشنبه, " else if(myday == 2) day = "سه شنبه, " else if(myday == 3) day = " چهارشنبه, " else if(myday == 4) day = " پنجشنبه, " else if(myday == 5) day = " جمعه, " else if(myday == 6) day = " شنبه, " if(mymonth == 0) { month = "ژانويه "} else if(mymonth ==1) month = "فوريه " else if(mymonth ==2) month = "مارس " else if(mymonth ==3) month = "آوريل " else if(mymonth ==4) month = "مي" else if(mymonth ==5) month = "جون " else if(mymonth ==6) month = "جولای " else if(mymonth ==7) month = "آگوست " else if(mymonth ==8) month = "سپتامبر " else if(mymonth ==9) month = "اکتبر</font> " else if(mymonth ==10) month = "نوامبر " else if(mymonth ==11) month = "دسامبر " if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000)) year="19" + year; if (navigator.appName == "Netscape") year=1900 + year; document.write("<font face=Nesf size:12px color=#333333>" + day + myweekday ); document.write(month + ", " +year + "</font>"); </SCRIPT> <!¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ www.cruel-boys.com ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤>
ساعت ديجيتالي براي وبلاگ
<!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <head> <script language="JavaScript"> <!-- hiding function MakeArrayday(size) { this.length = size; for(var i = 1; i <= size; i++) { this[i] = ""; } return this; } function MakeArraymonth(size) { this.length = size; for(var i = 1; i <= size; i++) { this[i] = ""; } return this; } function funClock() { if (!document.layers && !document.all) return; var runTime = new Date(); var hours = runTime.getHours(); var minutes = runTime.getMinutes(); var seconds = runTime.getSeconds(); var dn = "قبل از ظهر"; if (hours >= 12) { dn = "بعد از ظهر"; hours = hours - 12; } if (hours == 0) { hours = 12; } if (minutes <= 9) { minutes = "0" + minutes; } if (seconds <= 9) { seconds = "0" + seconds; } movingtime = "<b>"+ hours + ":" + minutes + ":" + seconds + " " + dn + "</b>"; if (document.layers) { document.layers.clock.document.write(movingtime); document.layers.clock.document.close(); } else if (document.all) { clock.innerHTML = movingtime; } setTimeout("funClock()", 1000) } window.onload = funClock; // End --> </script> </head> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <body> <span id=clock style="position:relative;"></span>
تغيير رنگ درون باكس هاي شما
<html> <head> <style> .t0 { color: brown; background-color: pink; } .t1 { color: darkblue; background-color: gold; } </style> </head> <body> <form name=f1> <textarea class=t1 id=textone rows="1" cols="20">cruel-boys.com
كشف مدت زمان مورد نياز براي Download
<!-- cruel-boys.com Java Script Code Desinger --> <!-- Test = OK --> <SCRIPT LANGUAGE="JavaScript"> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin function MakeArray(n) { this.length = n; for (var i = 1; i <= n; i++) { this[i] = 0 } return this } speedVar = new MakeArray(11); speedVar[1] = "1.1719" speedVar[2] = "1.7578" speedVar[3] = "3.5156" speedVar[4] = "6.8359" speedVar[5] = "7.8125" speedVar[6] = "16.6250" speedVar[7] = "187.9883" speedVar[8] = "1220.7031" speedVar[9] = "3295.8984" speedVar[10] = "5493.1641" speedVar[11] = "18920.8984" function compute(form, mult){ for (i=1; i < 12; i++){ if (form.size.value==null||form.size.value.length==0){ form.size.value=0;} if (form[i+"hour"].value==null||form[i+"hour"].value.length==0){ form[i+"hour"].value=0;} if (form[i+"minute"].value==null||form[i+"minute"].value.length==0){ form[i+"minute"].value=0;} if (form[i+"second"].value==null||form[i+"second"].value.length==0){ form[i+"second"].value=0;} if (mult != 0 && form.size.value != 0){ with (Math){ var speed = speedVar[i]; var TotalTime = ((form.size.value*mult)/speed); var TotalHours = floor((TotalTime/3600)); var TotalHoursMod = (TotalTime%3600); var TotalMin = floor(TotalHoursMod/60); var TotalMinMod = (TotalHoursMod%60); var TotalSec = floor(TotalMinMod); form[i+"hour"].value=TotalHours; form[i+"minute"].value=TotalMin; form[i+"second"].value=TotalSec; } } } return; } // End --> </SCRIPT> <FORM METHOD="POST"> <INPUT TYPE="HIDDEN" NAME="7second" SIZE="6"><INPUT TYPE="HIDDEN" NAME="7minute" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="7hour" SIZE="6"> <CENTER> <TABLE BORDER="1" bordercolor="#000080" style="border-width:0; border-collapse: collapse" cellpadding="0" cellspacing="0" width="323" height="164"> <TR> <TD width="162" height="19" style="border-left: medium none #000080; border-right-style: none; border-right-width: medium; border-top: medium none #000080; border-bottom-style: none; border-bottom-width: medium"> <p align="center" style="margin-top: 0; margin-bottom: 0"><font face="Tahoma"> <span style="font-size: 8pt">حجم فايل<b> <INPUT NAME="size" SIZE="10" style="color: #000080; border: 1px solid #0000FF; background-color: #F4F4FF"></b></span></font></p> <p align="center" style="margin-top: 0; margin-bottom: 0"><font face="Tahoma"> <span style="font-size: 8pt"><b> <INPUT TYPE="button" OnClick="compute(this.form, 1)" VALUE="KB" style="font-family: tahoma; font-size: 10; color: #800000; border: 1px solid #FF0000; background-color: #FFECEC"> <INPUT TYPE="button" OnClick="compute(this.form, 1024)" VALUE="MB" style="color: #800000; font-family: Tahoma; font-size: 10; border: 1px solid #FF0000; background-color: #FFECEC"><span lang="en-us"> </span> </b></span></font></TD> <TD colspan=3 width="158" height="19" style="border-left-style: none; border-left-width: medium; border-right: medium none #000080; border-top: medium none #000080; border-bottom-style: none; border-bottom-width: medium"><center> <p><font face="Tahoma" style="font-size: 8pt"><span lang="en-us">Download </span> مدت زمان مورد نياز براي </font></p> </CENTER> </TD> </TR> <TR> <TH width="162" height="14" style="border-left: medium none #000080; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"> <font face="Tahoma" style="font-size: 8pt; font-weight: 400">بر اساس سرعت </font></TH> <TH width="53" height="14" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt; font-weight: 400">ساعت </font> </TH> <TH width="52" height="14" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt; font-weight: 400">دقيقه </font> </TH> <TH width="51" height="14" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt; font-weight: 400">ثانيه</font></TH> </TR> <TR> <TD BGCOLOR="#ffffff" width="162" height="20" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt">9.6 Kb</font></TD> <TD width="53" height="20" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="1hour" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="52" height="20" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="1minute" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="51" height="20" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma" style="font-size: 8pt; font-weight: 700"> <INPUT NAME="1second" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"></font></TD> </TR> <TR> <TD BGCOLOR="#ffffff" width="162" height="21" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt">14.4 Kb</font></TD> <TD width="53" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="2hour" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="52" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="2minute" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="51" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma" style="font-size: 8pt; font-weight: 700"> <INPUT NAME="2second" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"></font></TD> </TR> <TR> <TD BGCOLOR="#ffffff" width="162" height="21" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt">28.8 Kb</font></TD> <TD width="53" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="3hour" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="52" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="3minute" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="51" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma" style="font-size: 8pt; font-weight: 700"> <INPUT NAME="3second" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"></font></TD> </TR> <TR> <TD BGCOLOR="#ffffff" width="162" height="21" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt">56 Kb</font></TD> <TD width="53" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="4hour" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="52" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="4minute" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="51" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma" style="font-size: 8pt; font-weight: 700"> <INPUT NAME="4second" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"></font></TD> </TR> <TR> <TD BGCOLOR="#ffffff" width="162" height="21" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt">ISDN (64 Kb)</font></TD> <TD width="53" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="5hour" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="52" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="5minute" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="51" height="21" style="border-style: none; border-width: medium"> <p align="center"><font face="Tahoma" style="font-size: 8pt; font-weight: 700"> <INPUT NAME="5second" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"></font></TD> </TR> <TR> <TD BGCOLOR="#ffffff" width="162" height="19" style="border-style: none; border-width: medium"> <font face="Tahoma" style="font-size: 8pt">ISDN (128 Kb)</font></TD> <TD width="53" height="19" 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: 1px none #000080"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="6hour" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="52" height="19" 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: 1px none #000080"> <p align="center"><font face="Tahoma"><span style="font-size: 8pt"><b> <INPUT NAME="6minute" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"> </b></span></font> </TD> <TD width="51" height="19" 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: 1px none #000080"> <p align="center"><font face="Tahoma" style="font-size: 8pt; font-weight: 700"> <INPUT NAME="6second" SIZE="6" style="color: #008000; border: 1px solid #00AE00; background-color: #F2FFF2"></font></TD> </TR> <b> <INPUT TYPE="HIDDEN" NAME="8hour" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="8minute" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="8second" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="9hour" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="9minute" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="9second" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="10hour" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="10minute" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="10second" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="11hour" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="11minute" SIZE="6"> <INPUT TYPE="HIDDEN" NAME="11second" SIZE="6"> </b> </TABLE> </FORM> </CENTER> <!-- Script Size: 4.30 KB -->
نمايش آي پي سيستم كاربر وبلاگ
<font face="Tahoma"> <BR> <SCRIPT language=JavaScript> var ip = '62.217.90.135'; document.write("آدرس آي پي شما :"+ip+""); </SCRIPT> <BR>---------------------------------------<BR> </font>
حرکت سريع يک جمله در نوار وضعيت
<html> <head> <script language="JavaScript"> <!-- Hide the script from old browsers -- function scrollit(seed) { var m1 = " welcome to my weblog "; var msg=m1; var out = " "; var c = 0; if (seed > 100) { seed--; var cmd="scrollit(" + seed + ")"; timerTwo=window.setTimeout(cmd,7); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" "; } out+=msg; seed--; var cmd="scrollit(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,7); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed--; var cmd="scrollit(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,7); } else { window.status=" "; timerTwo=window.setTimeout("scrollit(100)",75); } } } // --End Hiding Here --> </script> </head> <body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="timerONE=window.setTimeout('scrollit(100)',500)"> </body> </html>
باتشکر از سایت پسران شرور
Powered ByBLOGFA.COM
عضويتلغو عضويتPowered by WebGozar