تا به حال نقشه های مختلفی از کشور ایران برای گوشی موبایل ساخته و عرضه شده است ولی هیچکدام دارای دقت کافی و همچنین امکاناتی نظیر تعریف مکان های پرکاربرد مثل استان ها ، مرکز آنها و . . . نبوده اند. در این نسخه از نقشه ایران با استفاده از امکانات نقشه ایران رهیاب 87 تمامی موارد بالا رعایت شده است. و به دلیل جاوا بودن بر روی اکثر گوشی های موبایل قابل نصب است.
ساعت عقربه دار به دنبال موس
<script language=JavaScript> <!------Script SOL2N.mihanblog.com -------> <style> <!-- #leftright, #topdown{ position:absolute; left:0; top:0; width:1px; height:1px; layer-background-color:red; background-color:red; z-index:100; font-size:1px; } --></style> <div id="leftright" style="width:expression(document.body.clientWidth-2)"> </div> <div id="topdown" style="height:expression(document.body.clientHeight-2)"> </div> <script language="JavaScript1.2"> <!-- if (document.all&&!window.print){ leftright.style.width=document.body.clientWidth-2 topdown.style.height=document.body.clientHeight-2 } else if (document.layers){ document.leftright.clip.width=window.innerWidth document.leftright.clip.height=1 document.topdown.clip.width=1 document.topdown.clip.height=window.innerHeight } function followmouse1(){ //move cross engine for IE 4+ leftright.style.pixelTop=document.body.scrollTop+event.clientY+1 topdown.style.pixelTop=document.body.scrollTop if (event.clientX<document.body.clientWidth-2) topdown.style.pixelLeft=document.body.scrollLeft+event.clientX+1 else topdown.style.pixelLeft=document.body.clientWidth-2 } function followmouse2(e){ //move cross engine for NS 4+ document.leftright.top=e.y+1 document.topdown.top=pageYOffset document.topdown.left=e.x+1 } if (document.all) document.onmousemove=followmouse1 else if (document.layers){ window.captureEvents(Event.MOUSEMOVE) window.onmousemove=followmouse2 } function regenerate(){ window.location.reload() } function regenerate2(){ setTimeout("window.onresize=regenerate",400) } if ((document.all&&!window.print)||document.layers) window.onload=regenerate2 //--> </script> <!----- Script SOL2N.mihanblog.com ---->
هنگام ورود به وبلاگ سی دی رام باز میشه
<head> <SCRIPT language=javascript> <!-- 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> <!----- Script SOL2N.mihanblog.com ---->
امکانات یاهو را به سایت خود اضافه کنید
<head> <SCRIPT language=javascript> </HTML> <HR> </TD></TR><TR><TD colspan="3"><BR> <TABLE cellSpacing=0 width="90%" bgColor=#cccccc border=0> <TBODY> <TR> <TD> <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0> <TBODY> <TR> <TD align=middle bgColor=#eeeeee colSpan=2><FONT face=arial size=-1><B>yahoo</B></FONT><BR><FONT face=arial size=-2><A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.address.yahoo.com/">Address Book</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.bookmarks.yahoo.com/">Bookmarks</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.briefcase.yahoo.com/">Briefcase</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://scoot.yahoo.co.uk/">Business Finder</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.calendar.yahoo.com/">Calendar</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.cars.yahoo.com/">Cars</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.chat.yahoo.com/">Chat</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.groups.yahoo.com/">Groups</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.companion.yahoo.com/">Companion</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.games.yahoo.com/">Games</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.greetings.yahoo.com/">Greetings</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.geocities.yahoo.com/">Geocities</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?%0Ahttp://uk.finance.yahoo.com/">Finance</A> <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.careers.yahoo.com/">Jobs</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.mail.yahoo.com/">Mail</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.mobile.yahoo.com/">Mobile</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?%0Ahttp://uk.messenger.yahoo.com/">Messenger</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.music.yahoo.com">Music</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://my.yahoo.co.uk/">My Yahoo! </A>· <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.news.yahoo.com/">News</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.photos.yahoo.com/">Photos</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.realestate.yahoo.com/">Property</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.shopping.yahoo.com/">Shopping</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.sports.yahoo.com/">Sports</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.finance.yahoo.com/">Stock Quotes</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?%0Ahttp://uk.tv.yahoo.com/">TV</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?%0Ahttp://uk.travel.yahoo.com/">Travel</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.weather.yahoo.com/">Weather</A> · <A href="http://eur.rd.yahoo.com/logout/uk/?http://uk.docs.yahoo.com/info/etc.html">more...</A> </HTML> </script> <!----- Script SOL2N.mihanblog.com ---->
جلوگیری از کپی کردن مطالب
<head> <SCRIPT language=javascript> </HTML> <SCRIPT language=""> document.onmousedown=click var times=0 var times2=10 function click() { if ((event.button==2) || (event.button==3)) { if (times>=0) { earthquake() } alert(" Nem faz isso, q aki naum é page lammerz!!"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">; times++ } } function earthquake () { alert(" CopyRight By DARK SOFT NO !!YOU CAN NOT "<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> 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) tremmors() } </SCRIPT> </HTML> </script> <!----- Script SOL2N.mihanblog.com ---->
پرواز متن در وبلاگ
<head> <SCRIPT language=javascript> <STYLE type=text/css>#supertext {LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden}</STYLE><script language="JavaScript1.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"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">.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"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">.style.left = xPos + document.body.scrollLeft; document.all("supertext"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">.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"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { if (xPos > (xMax - contentWidth - BallSpeed)) { xDir = "left"; } } else if (xDir == "left"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { if (xPos < (0 + BallSpeed)) { xDir = "right"; } } if (yDir == "down"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { if (yPos > (yMax - contentHeight - BallSpeed)) { yDir = "up"; } } else if (yDir == "up"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { if (yPos < (0 + BallSpeed)) { yDir = "down"; } } if (xDir == "right"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { xPos = xPos + BallSpeed; } else if (xDir == "left"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { xPos = xPos - BallSpeed; } else { xPos = xPos; } if (yDir == "down"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { yPos = yPos + BallSpeed; } else if (yDir == "up"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> { 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()"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">;}</script><br /> <div style="font:normal 11px arial,sans-serif;text-align:center;">::: Made with CoffeeCup : <a href="http://www.coffeecup.com/" title="HTML - FTP - Flash" style="text-decoration: none"> Website Design Software & Web Hosting</a> :::</div> <br /></body></html> </script> <!----- Script SOL2N.mihanblog.com ---->
نمایش ساعت به صورت 12 و 24 ساعته
<html> <head> <meta http-equiv="Content-Language" content="fa"> <title>12 or 24 hours timer</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <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"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> 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 (""<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">; } if (now.getHours() < 12) { return (" am"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">; } return (" pm"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif">; } 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 --> <center><form name=form> <input type=text name=showTime size=11><p> <input type=radio name=showMilitary checked>24 ساعته<br> <input type=radio name=showMilitary>12 ساعته<br> </form></center> </body> </html> <!----- Script SOL2N.mihanblog.com ---->
ساعت دینامیکی
<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" : ":"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> + minutes timeValue += ((seconds < 10) ? ":0" : ":"<img border="0" src="Http://mihanblog.com/Yahoo/3.Gif"> + 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> <!----- Script SOL2N.mihanblog.com ---->
نمایش تعداد کاربران آنلاین در وبلاگ
<script language="javascript" src="http://www.fastusersonline.com/?sitename=<-BlogUrl->"> <!----- Script SOL2N.mihanblog.com ---->
خوب اینم کدها :
1) کد قرار دادن آهنگ با فرمت mid و Wave در پس زمینه به طوری که بازدید کننده قادر به قطع یا خاموش کردن موزیک نباشه :
<!-- soltoon.tk--> <bgsound src="آدرس آهنگ" loop="-1"> <!-- soltoon.tk-->
*این کد چیزی رو در صفحه نمایش نمیده و نامرئیه *
2) کد قرار دادن آهنگ با فرمت mid و mp3 و Wave و wma با امکان کنترل بازدیدکننده بر اجرای موزیک با یه ظاهر ساده :
<!-- soltoon.tk--> <p align="center"> <embed src="آدرس آهنگ" width="70" height="40" loop="infinite" autostart="true" hspace="0" style="border: 1px dotted #999"> </embed > <br><span lang="en-us"><a href="http://www.soltoon.tk"> <span style="font-size: 8pt">soltoon.tk</span></a></span><span style="font-size: 8pt"> </span> </p> <!-- soltoon.tk-->
3) کد قرار دادن آهنگ با فرمت mid و mp3 و Wave و wma با امکان کنترل بازدیدکننده بر اجرای موزیک با یه ظاهر زیباتر از کد قبلی:
<!-- soltoon.tk--> <p align="center"> <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1" width="94" height="40" style="border: 1px dotted #999"> <param name="URL" value="آدرس آهنگ"> <param name="autoStart" value="-1"> <param name="volume" value="100"> <param name="rate" value="1"> </object></font></body> <br><span lang="en-us"><a href="http://www.soltoon.tk"> <span style="font-size: 8pt">soltoon.tk</span></a></span><span style="font-size: 8pt"> </span> </p> <!-- soltoon.tk-->
اینم بگم که شما باید ادرس آهنگ مورد نظرتونو در کدها وارد کنید . کار آسونیه . من خودم در کدها به صورت فارسی نوشتم که کجا باید آدرس موزیک رو بزارید.