ارسال کاربر از یک سایت به سایت دیگر به صورت زمانی
<!----www.grafcood.mihanblog.com---><p align="center"><b><font size="7" color="#800000">لطفا صبر کنید<form name="redirect"><center><p></p><form><input type="text" size="3" name="redirect2"></form></b></font></center><><!--var targetURL="http://badboys05.mihanblog.com "var countdownfrom=10var currentsecond=document.redirect.redirect2.value=countdownfrom+1function countredirect(){if (currentsecond!=1){currentsecond-=1document.redirect.redirect2.value=currentsecond}else{window.location=targetURLreturn}setTimeout("countredirect()",1000)}countredirect()//--></><!----www.grafcood.mihanblog.com--->
پرواز یک متن در وبلاگ
<!----www.grafcood.mihanblog.com---><STYLE type=text/css>#supertext { LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden}</STYLE>< language="Java1.2">var thecontent="<h2><font color="#0000FF">Welcome to my weblog!</font></h2>"var hidetimer="";var BallSpeed = 5;var contentWidth;var contentHeight;var maxBallSpeed = 50;var xMax;var yMax;var xPos = 0;var yPos = 0;var xDir = "right";var yDir = "down";var superballRunning = true;var tempBallSpeed;var currentBallSrc;var newXDir;var newYDir;function initializeBall() { if (document.all) { xMax = document.body.clientWidth yMax = document.body.clientHeight document.all("supertext".style.visibility = "visible"; contentWidth=supertext.offsetWidth contentHeight=supertext.offsetHeight } else if (document.layers) { xMax = window.innerWidth; yMax = window.innerHeight; contentWidth=document.supertext.document.width contentHeight=document.supertext.document.height document.layers["supertext"].visibility = "show"; } setTimeout("moveBall()",400); if (hidetimer!="") setTimeout("hidetext()",hidetimer) }function moveBall() { if (superballRunning == true) { calculatePosition(); if (document.all) { document.all("supertext".style.left = xPos + document.body.scrollLeft; document.all("supertext".style.top = yPos + document.body.scrollTop; } else if (document.layers) { document.layers["supertext"].left = xPos + pageXOffset; document.layers["supertext"].top = yPos + pageYOffset; } animatetext=setTimeout("moveBall()",20); } }function calculatePosition() { if (xDir == "right" { if (xPos > (xMax - contentWidth - BallSpeed)) { xDir = "left"; } } else if (xDir == "left" { if (xPos < (0 + BallSpeed)) { xDir = "right"; } } if (yDir == "down" { if (yPos > (yMax - contentHeight - BallSpeed)) { yDir = "up"; } } else if (yDir == "up" { if (yPos < (0 + BallSpeed)) { yDir = "down"; } } if (xDir == "right" { xPos = xPos + BallSpeed; } else if (xDir == "left" { xPos = xPos - BallSpeed; } else { xPos = xPos; } if (yDir == "down" { yPos = yPos + BallSpeed; } else if (yDir == "up" { yPos = yPos - BallSpeed; } else { yPos = yPos; } }function hidetext(){if (document.all)supertext.style.visibility="hidden"else if (document.layers)document.supertext.visibility="hide"clearTimeout(animatetext)}if (document.all||document.layers){document.write("<span id="supertext"><nobr>"+thecontent+"</nobr></span>")window.onload = initializeBall;window.onresize = new Function("window.location.reload()"}</></body></html><!----www.grafcood.mihanblog.com--->
آتش بازی در وبلاگ
<!----www.grafcood.mihanblog.com---><body>< LANGUAGE="Java1.2"><!--//set Interval between each firework display, var intervals=2000var sparksOn = true;var speed = 25;var power = 1;//Dont change these values-------var documentWidth=documentHeight=randomx=randomy=leftcorner=topcorner=0var 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]=("document.all.sDiv"+dNum+".style"); else allDivs[dNum]=("document.layers["sDiv"+dNum+""]"); }}function firework(){//below code detects the browser dimenionsif (ie){documentWidth=document.body.clientWidthdocumentHeight=document.body.clientHeightleftcorner=document.body.scrollLefttopcorner=document.body.scrollTop}else if (ns){documentWidth=window.innerWidthdocumentHeight=window.innerHeightleftcorner=pageXOffsettopcorner=pageYOffset}//below code randomly generates a set of coordinates that fall within the dimensionrandomx=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--></><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><!----Www.Dlisladn.Com---></body></html><!----www.grafcood.mihanblog.com--->
این وبلاگ را صفحه خانگی خود کنید
<!----www.grafcood.mihanblog.com---><font face="Tahoma" size="2"><A href="java:history.go(0)" onClick="java:this.style.behavior="url(#default#homepage)";this.setHomePage("http://mohandes-computer.blogfa.com");" TARGET="_self">این وبلاگ را صفحه خانگی خود کنید</A></font></body></html><!----www.grafcood.mihanblog.com--->
تیتر وبلاگ شما به صورت متحرک
<!----www.grafcood.mihanblog.com--->< language=java>msg = "welcome to blog http://www.dlisland.com ";msg = "..." + msg;pos = 0;function scrollMSG() {document.title = msg.substring(pos, msg.length) + msg.substring(0, pos);pos++;if (pos > msg.length) pos = 0window.setTimeout("scrollMSG()",200);}scrollMSG(); </><!----www.grafcood.mihanblog.com--->
نظر یادتون نره