| |
|
|
| |
|
|
|
| |
|
 |
|
|
<html> <head> <title>Digital Clock - Status Bar</title>
<script Language="JavaScript"> var timerID = null; var timerRunning
= false;
function stopclock () { if(timerRunning) clearTimeout(timerID);
timerRunning = false; }
|
|
|
|
|
|
|
| |
|
|
|
|
|
| |
|
 |
|
|
<script language=javascript> msg = "www.ITGlobe.ir";
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>
|
|
|
|
|
|
|
| |
|
|
|
|
|
| |
|
 |
|
|
<body> <script> musi="1mid.mp3" function mus1() { if (t.options.selectedIndex==0){ mus.innerHTML="<embed
src="+musi+" loop=-1>" } if (t.options.selectedIndex==1) {mus.innerHTML="" } }
document.write("<span id='mus' style='position:absolute;top:-90000'><embed src="+musi+"
width=0 height=0 loop=-1></span>") </script> <select name="t"onchange=mus1()> <option>Enable
background music <option>Disable background music </select>
|
|
|
|
|
|
|
| |
|
 |
|
|
|
| |
|
 |
|
|
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="Javascript"> var namePrompt = prompt("لطفا اسم خود را وارد نمایید:",""); function
dispname (namePrompt) { document.write(""+namePrompt+""); } </script>
<body>
<center> <script language="Javascript"> document.write("<font size=3 color=red> به سایت ما خوش آمدی,
"); dispname(namePrompt); document.write("!</font>"); </script> </center> </body>
</html>
|
|
|
|
|
|
|
| |
|
|
|
|
|
| |
|
 |
|
|
<script> var yourwords = "Your Message Comes Here ( www.ITGlobe.ir ) "; var speed = 300; var control = 1;
function flash() { if (control == 1) { window.status=yourwords; control=0; } else { window.status="";
control=1; } setTimeout("flash()",speed); } </script> <!--Now put this inside your body code.-->
<html>
<head> <title>New Page 3</title> </head>
<body onLoad="flash()">
</body> </html>
|
|
|
|
|
|
|
| |
|
 |
|
|
|
| |
|
 |
|
|
<script language="JavaScript" type="text/javascript"> setTimeout("location.href = 'redirect_here.html'",10000);
// milliseconds, so 10 seconds = 10000ms </script>
<meta http-equiv="refresh" content="10; url=redirect_here.html">
|
|
|
|
|
|
|
| |
|
| |
|
|
|
| |
|
 |
|
|
<body>
<script
language="JavaScript">
// IE
if (document.all){
document.write('<A
HREF="javascript:history.go(0);"
onClick="this.style.behavior=\'url(#default#homepage)\';
this.setHomePage(\'http://www.ITGlobe.ir\');">');
document.write('Click
Here to Make this
Your Homepage</a>');
}
// Netscape 6 or
higher
else if
(document.getElementById){
document.write('<a
href="http://www.ITGlobe.ir">
Drag this link
onto your Home
button to make this
your
HomePage.</a>');
}
//Netscape 4 or
lower
else if
(document.layers){
document.write('<b>Make
this site your
Homepage:</b><br>-
Go to
<b>Preferences</b>
in the <B>Edit</B>
Menu.<br>- Choose
<b>
Navigator</b> from
the list on the
left.<br>- Click on
the <b>
"Use Current
Page"</b> button.');
}
//Other browsers
else {
document.write('<b>Make
this site your
Homepage:</b><br>-
Go to
<b>Preferences</b>
in the <B>Edit</B>
Menu.<br>- Choose
<b>
Navigator</b> from
the list on the
left.<br>- Click on
the <b>
"Use Current
Page"</b> button.');
}
</script>
|
|
|
|
|
|
|
 |
|