| كد هاي زيباي جاوا | |
|
|
|
نويسنده | پيام |
---|
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:22 am | |
| نشان دادن آب و هوا در وبلاگ
<SCRIPT language=javascript src="http://zedsmr.persiangig.com/image/Tools%20Web/Weathers.js"></SCRIPT><P align=center><A href="http://mi2nam.blogfa.com/cat-4.aspx" target=_blank>دریافت کد</A></P | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:29 am | |
| شما باید عکسی رو که ساختین به عنوان لوگو در یک سایت مثل Hosted pictures آپلود کنید و اون رو تو قالب وبلاگتون قرار بدید
<img border="0" src="آدرس عکس" width="عرض عکس" height="ارتفاع عکس"> | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:30 am | |
| گذاشتن پيغام خوش آمد گويي
<body onload="alert('Peygham')"></body> | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:31 am | |
| برای ساختن کادر زیر لوگو میتونید از کد زیر استفاده کنید
<input type="text" | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:37 am | |
| برای جلوگیری از انتخاب شدن نوشته هاتون از کد زیر استفاده کنید
<BODY onselectstart="return false" ondragstart="return | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:40 am | |
| | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:42 am | |
| اگر میخواین تعداد ثانیه هایی که تو وبلاگ بودید هنگام خروج اعلام بشه از کد زیر استفاده کنید
<!-- Coded By Digital Keyvan --> | |
|
| |
ELMIRAYE ABI
تعداد پستها : 8 Registration date : 2008-10-07
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 10:44 am | |
| با کلیک روی لینک صفحه جدید باز بشه.به جای آدرس صفحه , آدرس صفحه مقصد رو بنویسید و به جای width و height عرض و ارتفاع صفحهای که میخواد باز بشه
<a href="#" | |
|
| |
Iman كاربر فعال
تعداد پستها : 645 Age : 34 Registration date : 2008-03-09
| عنوان: رد: كد هاي زيباي جاوا الأربعاء فبراير 18, 2009 11:15 am | |
| حركت متن زير صفحه اينترنتي باز شده سریع و زیبا <SCRIPT> language=JavaScript | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:19 am | |
| لرزش صفحه در هنگام ورود به آن
<!-- aghaze larzeshe safhe--> <meta http-equiv="Content-Language" content="en-us"> <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); } } }
} // End -->
<!-- shake(1); //--> </SCRIPT> <!-- p align="center"><font size="7" color="#FF0000">chi?</font></p> -->
<!--payan--> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:21 am | |
| نوشته شما در استاتوس بار
<!-- اینجا رو در head کپی کنید -->
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document">
<SCRIPT LANGUAGE="JavaScript">
<!--Total Java Scripts 99 - Next Step Software-->
<!-- Begin var Message="salam be weblog java 4 u khosh amadid"; var place=1; function scrollIn() { window.status=Message.substring(0, place); if (place >= Message.length) { place=1; window.setTimeout("scrollOut()",300); } else { place++; window.setTimeout("scrollIn()",50); } } function scrollOut() { window.status=Message.substring(place, Message.length); if (place >= Message.length) { place=1; window.setTimeout("scrollIn()", 100); } else { place++; window.setTimeout("scrollOut()", 50); } } // End --> </SCRIPT> <!-- پایان قسمت اول -->
<!-- اینجا رو در بادی کپی کنید 2 -->
</html> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:22 am | |
| ساعت دینامیک
<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"
TEXT="ffffff">
<CENTER><form name="clock" onSubmit="0"> <input type="text" name="face" size=13 value="" style="background-color: #FF9900"></CENTER> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:23 am | |
| اجرای موزیک در وبلاگ
<p align="center" style="margin-top: 0; margin-bottom: 0"> <EMBED SRC='ادرس وب اهنگ در اینجا' WIDTH=120 HEIGHT=26 LOOP=true type=audio/x-pn-realaudio-plugin></TD></TR></TBODY></TABLE></TD> <TD vAlign=top align=left width=4 </body> </html> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:24 am | |
| افکت رقص نور به متن
<meta http-equiv="Content-Language" content="en-us"> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function initArray() { for (var i = 0; i < initArray.arguments.length; i++) { this[i] = initArray.arguments[i]; } this.length = initArray.arguments.length; } var colors = new initArray( "red", "blue", "green", "purple", "black", "tan", "red"); delay = .5; // seconds link = 0; vlink = 2; function linkDance() { link = (link+1)%colors.length; vlink = (vlink+1)%colors.length; document.linkColor = colors[link]; document.vlinkColor = colors[vlink]; setTimeout("linkDance()",delay*1000); } linkDance(); // End --> </script></body> <p align="center"><font face="Tahoma" style="font-size: 30pt; font-weight: 700"> <a href="http://www.webloger.5u.com/" style="text-decoration: none">Created By HULK </a></font></p> </html> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:24 am | |
| جستجوگر ام اس ان
<html> <head> <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-1252"> <title>New Page 2</title> </head> <body> <table BORDER="0" WIDTH="222" HEIGHT="18"> <tr> <td WIDTH="214" HEIGHT="10"> <form NAME="search" ID="search" ACTION="http://search.msn.com/results.asp" METHOD="get"> <p><a HREF="http://www.msn.com"> <img SRC="http://go.msn.com/AG/E/0.asp" width="61" height="33" BORDER="0" ALT="Go to msn.com"></a><font FACE="arial" SIZE="2"><strong>Search <font COLOR="#808080">the Web for:</font></strong></font><br> <input TYPE="text" ID="q" SIZE="18" MAXLENGTH="251" NAME="q" VCARD_NAME="SearchText"><input TYPE="submit" VALUE="Search" NAME="B1"><input TYPE="hidden" NAME="FORM" VALUE="FRNT"><input TYPE="hidden" NAME="un" VALUE="doc"><input TYPE="hidden" NAME="v" VALUE="1"></p> </form> </td> </tr> <tr> <td WIDTH="214" HEIGHT="21" VALIGN="bottom"> <p ALIGN="center"><font SIZE="1" FACE="arial"> <a HREF="http://search.msn.com/advanced.asp?MT=&RS=CHECKED&Form=FRNT">Use Advanced Search</a></font></td> </tr> </table> <p> </p> </body> </html> </body> </html> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:25 am | |
| جستجوگر گوگل
<!-- Search Google --> <center> <FORM method=GET action="http://www.google.com/search"> <TABLE bgcolor="#FFFFFF"><tr><td> <A HREF="http://www.google.com/"> <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" <br>border="0" ALT="Google" align="absmiddle"></A> <INPUT TYPE=text name=q size=31 maxlength=255 value=""> <INPUT TYPE=hidden name=hl value="en"> <INPUT type=submit name=btnG VALUE="Google Search"> </td></tr></TABLE> </FORM> </center> <!-- Search Google --> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:25 am | |
| وقت بخیر فارسی
<TBODY> <TR> <TD width="100%" align="right" valign="center" height="46"> <td width="100%" ><img src="http://members.lycos.co.uk/hashjen/jam.jpg"</td> </TD> <TD bgColor=#f0f1f5 colSpan=2 width="280" height="3"> <IMG height=1 alt="" hspace=0 src="templates/public/cyber/images/pixel.gif" width=1 border=0></TD></TR> <TR vAlign=center bgColor=#e0e2eb> <TD vAlign=top align=left width=2 height=1> <IMG src="templates/public/cyber/images/topnav-left.gif" width="8" height="22"></TD> <TD align=middle width="116" background="templates/public/cyber/images/topnav-bg.gif" height=5> <P> <FONT color=#3B9812 size=3> <SCRIPT language=javascript type=text/javascript> now = new Date if (now.getHours() < 5) { document.write("!!نصف شب بخير") } else if (now.getHours() < 11) { document.write("!!صبح بخير") } else if (now.getHours() < 15) { document.write("!!ظهر بخير") } else if (now.getHours() < 20) { document.write("!!عصر بخير") } else if (now.getHours() < 24) { document.write("!!شب بخير") } | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:26 am | |
| مرلین - عروسک کوچک سخنگو در سایت
<OBJECT id=wolfi classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F>></OBJECT> <SCRIPT language=JavaScript type=text/javascript> function LoadLocalAgent(CharID, CharACS) { LoadReq = wolfi.Characters.Load(CharID, CharACS);
return(true);
}
var MerlinID;
var MerlinACS;
wolfi.Connected = true; MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);
Merlin = wolfi.Characters.Character(MerlinID); Merlin.Show(); Merlin.Play("Surprised"); Merlin.speak("hi dear"); Merlin.MoveTo (350,250); Merlin.Play("Surprised"); Merlin.Play("GetAttention"); Merlin.Play("Blink"); Merlin.Play("Blink");
Merlin.speak(" Welcome to <#user#> ");
Merlin.Play("Blink"); Merlin.Play("Confused");
Merlin.speak("i hope enjoy to this website");
Merlin.speak("created by HULK");
Merlin.Play('GestureLeft'); Merlin.Play("Blink") Merlin.Hide(); </SCRIPT> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:27 am | |
| متن های پشت سر هم به صورت پیغام <!-- Start of Murphy's Laws JavaScript --> <!-- Randomly displays different sections of Murphy's Laws --> <!-- Instructions: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- Script supplied with CoffeeCup HTML Editor --> <!-- www.coffeecup.com --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function CC_Message() { var ar = new Array(20) ar[0] = "Nothing is as easy as it looks." ar[1] = "Everything takes longer than you think." ar[2] = "Anything that can go wrong will go wrong." ar[3] = "If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong." ar[4] = "If there is a worse time for something to go wrong, it will happen then." ar[5] = "If anything simply cannot go wrong, it will anyway." ar[6] = "If you perceive that there are four possible ways in which a procedure can go wrong, and circumvent these, then a fifth way, unprepared for, will promptly develop." ar[7] = "Left to themselves, things tend to go from bad to worse." ar[8] = "If everything seems to be going well, you have obviously overlooked something." ar[9] = "Nature always sides with the hidden flaw." ar[10] = "Mother nature is a bitch." ar[11] = "It is impossible to make anything foolproof because fools are so ingenious." ar[12] = "Whenever you set out to do something, something else must be done first." ar[13] = "Every solution breeds new problems." ar[14] = "Trust everybody ... then cut the cards." ar[15] = "Two wrongs are only the beginning." ar[16] = "If at first you don't succeed, destroy all evidence that you tried." ar[17] = "To succeed in politics, it is often necessary to rise above your principles." ar[18] = "Exceptions prove the rule ... and wreck the budget." ar[19] = "Success always occurs in private, and failure in full view." var now = new Date() var sec = now.getSeconds() alert("Murphy's Law:\r" + ar[sec % 20]) } // End --> </SCRIPT> <BODY onLoad="CC_Message()"> <CENTER> <FORM> <input type="button" Value="New Murphy's Law" onClick="CC_Message()"> </FORM> </CENTER> <!-- End of Murphy's Laws JavaScript --> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:29 am | |
| شروع متن با یک رنگ و پایان آن با یک رنگ دیگر
<!-- This fades the text color giving you a rainbow effect. Change it by playing with the <FONT COLOR= > -->
<script language="JavaScript"> <!-- Hide the script from old browsers --
// Modified by CoffeeCup Software
function MakeArray(n) { this.length=n; for(var i=1; i<=n; i++) this[i]=i-1; return this }
hex=new MakeArray(16); hex[11]="A"; hex[12]="B"; hex[13]="C"; hex[14]="D"; hex[15]="E"; hex[16]="F";
function ToHex(x) { // Changes a int to hex (in the range 0 to 255) var high=x/16; var s=high + ""; s=s.substring(0,2); high=parseInt(s,10); var left=hex[high+1];
var low=x-high*16; s=low+""; s=s.substring(0,2); low=parseInt(s,10); var right=hex[low+1];
var string=left + "" + right; return string; }
function fadein(text) { text=text.substring(3,text.length-4);
color_d1=255; color_d1b=255; color_d1c=255;
mul=color_d1/text.length; for(i=0;i<text.length;i++) { color_d1=mul*i; color_d1b=255-mul*i; color_d1c=255*Math.sin(i/(text.length/3)); // ******* // some other things you can try>> "=255-mul*i" to fade out, "=mul*i" to fade in, or try "255*Math.sin(i/(text.length/3))" // ******* color_h1=ToHex(color_d1); color_d2=mul*i; color_h2=ToHex(color_d2);
color_h1b=ToHex(color_d1b); color_d2b=mul*i; color_h2b=ToHex(color_d2b);
color_h1c=ToHex(color_d1c); color_d2c=mul*i; color_h2c=ToHex(color_d2c);
document.write("<FONT COLOR='#FF8000"+color_h1+color_h2+"'>"+text.substring(i,i+1)+'</FONT>'); } } // --End Hiding Here --> </script> <SCRIPT LANGUAGE="JavaScript"> <!-- { fadein("-->This is the Text, just put yours here !<!__"); } //--> </SCRIPT> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:32 am | |
| کد راست کلیک قفل کردن که دو بار کلیک کند کارش تمومه
</style> <SCRIPT language=JavaScript> document.onmousedown=click var times=0 var times2=10 function click() { if ((event.button==2) || (event.button==3)) { if (times>=1) { bye() } alert("No right clicking!!!!!! don't do it again.."); times++ } } function bye() { alert("I said NO right clicking! click ok to exit LMAO!"); bye() } </SCRIPT> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:33 am | |
| کد ساعت و تاریخ به دنبال موس
<!--END CODE - Powered java script code by <span lang="en-us"><font color="#FFFFFF"><b> <font size="5" color="#FFFFFF"> <a href="http://www.javakhafan.9f.com.com">http://www.javakhafan.9f.com.com</a></font></b></font></span>-->
<SCRIPT language=JavaScript> dCol='cc0099';//date colour. fCol='ff99cc';//face colour. sCol='cc99ff';//seconds colour. mCol='008000';//minutes colour. hCol='000080';//hours colour. ClockHeight=40; ClockWidth=40; ClockFromMouseY=0; ClockFromMouseX=100; //Alter nothing below! Alignments will be lost! d=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");
m=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
date=new Date(); day=date.getDate(); year=date.getYear(); if (year < 2000) year=year+1900; TodaysDate=" "+d[date.getDay()]+" "+day+" "+m[date.getMonth()]+" "+year; D=TodaysDate.split(''); H='ooo'; H=H.split(''); M='oooo'; M=M.split(''); S='.....'; S=S.split(''); Face='1 2 3 4 5 6 7 8 9 10 11 12'; font='tohoma'; size=1; speed=0.6; ns=(document.layers); ie=(document.all); Face=Face.split(' '); n=Face.length; a=size*10; ymouse=0; xmouse=0; scrll=0; props="<font face="+font+" size="+size+" color="+fCol+"><B>"; props2="<font face="+font+" size="+size+" color="+dCol+"><B>"; Split=360/n; Dsplit=360/D.length; HandHeight=ClockHeight/4.5 HandWidth=ClockWidth/4.5 HandY=-7; HandX=-2.5; scrll=0; step=0.06; currStep=0; y=new Array();x=new Array();Y=new Array();X=new Array(); for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0} Dy=new Array();Dx=new Array();DY=new Array();DX=new Array(); for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0} if (ns){ for (i=0; i < D.length; i++) document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');
for (i=0; i < n; i++) document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');
for (i=0; i < S.length; i++) document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');
for (i=0; i < M.length; i++) document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');
for (i=0; i < H.length; i++) document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');
} if (ie){ document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < D.length; i++) document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>');
document.write('</div></div>'); document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < n; i++) document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>');
document.write('</div></div>'); document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < H.length; i++) document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>');
document.write('</div></div>'); document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < M.length; i++) document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>');
document.write('</div></div>') document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < S.length; i++) document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'+S[i]+'</div>');
document.write('</div></div>') } (ns)?window.captureEvents(Event.MOUSEMOVE):0; function Mouse(evnt){ ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX; } (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse; function ClockAndAssign(){ time = new Date (); secs = time.getSeconds(); sec = -1.57 + Math.PI * secs/30; mins = time.getMinutes(); min = -1.57 + Math.PI * mins/30; hr = time.getHours(); hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360; if (ie){ Od.style.top=window.document.body.scrollTop; Of.style.top=window.document.body.scrollTop; Oh.style.top=window.document.body.scrollTop; Om.style.top=window.document.body.scrollTop; Os.style.top=window.document.body.scrollTop; } for (i=0; i < n; i++){ var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style; F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll; F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180); } for (i=0; i < H.length; i++){ var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style; HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll; HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs); } for (i=0; i < M.length; i++){ var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style; ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll; ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min); } for (i=0; i < S.length; i++){ var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style; SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll; SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec); } for (i=0; i < D.length; i++){ var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style; DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll; DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180); } currStep-=step; } function Delay(){ scrll=(ns)?window.pageYOffset:0; Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed); Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed); for (i=1; i < D.length; i++){ Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed); Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed); } y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed); x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed); for (i=1; i < n; i++){ y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed); x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed); } ClockAndAssign(); setTimeout('Delay()',20); } if (ns||ie)window.onload=Delay; </SCRIPT> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:35 am | |
| <FONT face=Tahoma color=white> <html> <head> </head> <body> <!– STEP ONE: Insert the onLoad event handler into your BODY tag –> <BODY BGCOLOR=”#۰۰۰۰۰۰″ onLoad=”fly()”> <!– STEP TWO: Paste this code into the BODY of your HTML document –> <SCRIPT LANGUAGE=”JavaScript”> <!– Begin SmallStars = ۳۰; LargeStars = ۱۰; SmallYpos = new Array(); SmallXpos = new Array(); LargeYpos = new Array(); LargeXpos = new Array(); Smallspeed= new Array(); Largespeed= new Array(); ns=(document.layers)?۱:۰; if (ns) { for (i = ۰; i < SmallStars; i++) { document.write(”<LAYER NAME=’sn”+i+”‘ LEFT=۰ TOP=۰ BGCOLOR=’#FFFFF۰′ CLIP=’۰,۰,۱,۱′></LAYER>”); } for (i = ۰; i < LargeStars; i++) { document.write(”<LAYER NAME=’ln”+i+”‘ LEFT=۰ TOP=۰ BGCOLOR=’#FFFFFF’ CLIP=’۰,۰,۲,۲′></LAYER>”); } } else { document.write(’<div style=”position:absolute;top:۰px;left:۰px”>’); document.write(’<div style=”position:relative”>’); for (i = ۰; i < SmallStars; i++) { document.write(’<div id=”si” style=”position:absolute;top:۰;left:۰;width:۱px;height:۱px;background:#fffff۰;font-size:۱px”></div>’); } document.write(’</div>’); document.write(’</div>’); document.write(’<div style=”position:absolute;top:۰px;left:۰px”>’); document.write(’<div style=”position:relative”>’); for (i = ۰; i < LargeStars; i++) { document.write(’<div id=”li” style=”position:absolute;top:۰;left:۰;width:۲px;height:۲px;background:#ffffff;font-size:۲px”></div>’); } document.write(’</div>’); document.write(’</div>’); } WinHeight = (document.layers)?window.innerHeight:window.document.body.clientHeight; WinWidth = (document.layers)?window.innerWidth:window.document.body.clientWidth; for (i = ۰; i < SmallStars; i++) { SmallYpos[i] = Math.round(Math.random() * WinHeight); SmallXpos[i] = Math.round(Math.random() * WinWidth); Smallspeed[i]= Math.random() * ۵ + ۱; } for (i = ۰; i < LargeStars; i++) { LargeYpos[i] = Math.round(Math.random() * WinHeight); LargeXpos[i] = Math.round(Math.random() * WinWidth); Largespeed[i] = Math.random() * ۱۰ + ۵; } function fly() { var WinHeight = (document.layers)?window.innerHeight:window.document.body.clientHeight; var WinWidth = (document.layers)?window.innerWidth:window.document.body.clientWidth; var hscrll = (document.layers)?window.pageYOffset:document.body.scrollTop; var wscrll = (document.layers)?window.pageXOffset:document.body.scrollLeft; for (i = ۰; i < LargeStars; i++) { LargeXpos[i] -= Largespeed[i]; if (LargeXpos[i] < -۱۰) { LargeXpos[i] = WinWidth; LargeYpos[i] = Math.round(Math.random() * WinHeight); Largespeed[i] = Math.random() * ۱۰ + ۵; } if (ns) { document.layers[’ln’+i].left = LargeXpos[i]; document.layers[’ln’+i].top = LargeYpos[i] + hscrll; } else { li[i].style.pixelLeft = LargeXpos[i]; li[i].style.pixelTop = LargeYpos[i] + hscrll; } } for (i = ۰; i < SmallStars; i++) { SmallXpos[i] -= Smallspeed[i]; if (SmallXpos[i] < -۱۰) { SmallXpos[i] = WinWidth; SmallYpos[i] = Math.round(Math.random()*WinHeight); Smallspeed[i] = Math.random() * ۵ + ۱; } if (ns) { document.layers[’sn’+i].left = SmallXpos[i]; document.layers[’sn’+i].top = SmallYpos[i]+hscrll; } else { si[i].style.pixelLeft = SmallXpos[i]; si[i].style.pixelTop = SmallYpos[i]+hscrll; } } setTimeout(’fly()’, ۱۰); } // End –> </script> <!– Script Size: ۳.۷۹ KB –> </body> </html> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:36 am | |
| کد دعای امام زمان در وبلاگ
<p align=center> دعاي امام زمان </p> <P align=center><MARQUEE style="FONT-SIZE: 8pt; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; FONT-FAMILY: Tahoma" scrollAmount=4 scrollDelay=114 direction=right width=151 height=20>اللّهُمَّ كُنْ لِوَلِيِّكَ الْحُجَّةِ بْنِ الْحَسَنِ صَلَواتُكَ عَلَيْهِ وَعَلى آبائِهِ في هذِهِ السّاعَةِ وَفي كُلِّ ساعَةٍ وَلِيّاً وَحافِظاً وَقائِدا وَناصِراً وَدَليلاً وَعَيْناً حَتّى تُسْكِنَهُ أَرْضَك َطَوْعاً وَتُمَتِّعَهُ فيها طَويلاً</MARQUEE></P> | |
|
| |
SETAREH كاربر فعال
تعداد پستها : 599 Age : 33 Registration date : 2008-04-11
| عنوان: رد: كد هاي زيباي جاوا الجمعة فبراير 20, 2009 11:39 am | |
| کد نشان دادن تمام شبکه های تلویزین در وبلاگ
<CENTER><IMG height=99 src="http://bia2azad.parsaspace.com/tv.gif" width=99><FONT style="FONT-SIZE: 8pt" face=Tahoma color=#dd3700> <P><FONT color=#666666><FONT class=content><SELECT style="BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; FONT-SIZE: 11px; BORDER-LEFT: 1px dotted; BORDER-BOTTOM: 1px dotted; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #ffffff" onchange="var a=this.options[this.selectedIndex].value; window.open(a,'')" size=1 name=nam> <OPTION>شبکه های تلویزیون</OPTION> <OPTION value=http://www.irib.ir/live/tv11.asx>شبکه 1</OPTION> <OPTION value=http://www.irib.ir/live/tv22.asx selected>شبکه 2</OPTION> <OPTION value=http://www.irib.ir/live/tv33.asx>شبکه 3</OPTION> <OPTION value=http://www.irib.ir/live/tv44.asx>شبکه 4</OPTION> <OPTION value=http://www.irib.ir/live/tv55.asx>شبکه تهران</OPTION> <OPTION value=mms://62.220.119.89/khabar>شبکه خبر</OPTION> <OPTION value=http://www.wwitv.com/television/100.htm>دیگر کانال ها</OPTION></SELECT></FONT></FONT></FONT><FONT style="FONT-SIZE: 8pt" face=Tahoma><FONT color=#ffffff> </FONT></P></FONT><FONT style="FONT-SIZE: 8pt" face=Tahoma><FONT style="FONT-SIZE: 8pt" face=Tahoma><SPAN lang=en-us><SPAN lang=en-us><SPAN lang=en-us><SPAN lang=en-us><A href="http://mi2nam.blogfa.com/post-237.aspx" target=_blank><FONT color=#66cccc></FONT></A><BR> <P><FONT color=#66cccc>شما می توانید با انتخاب شبکه ی دلخواه آن را به صورت آنلاین در پلیر خود تماشا کنید </FONT></P></SPAN></SPAN></SPAN></SPAN></FONT></FONT></CENTER> | |
|
| |
| كد هاي زيباي جاوا | |
|