<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><title>[keiz3r] JavaScript</title><meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=utf-8" /><style type="text/css"><!--
.BACKGROUND { color: #FFFFFF; background-color: #150517; font-size: 5px; text-decoration: none; font-style: normal; padding: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 0px; background-attachment: fixed;  } 
.right { right: 0px; left: 0px;  } 
.Titlelinks { font-style: normal; text-decoration: none; text-transform: lowercase; font-weight: bold;  } 
.text { text-decoration: none;  } 
--></style></head><body class="BACKGROUND">
<code><center><div style="background-color: #4E4848"><font color="white"><b>JavaScript </b></font></div><div style="background-color: black"></code>
<img src="http://keiz3r.waphall.com/images/image.jpg" alt="" />
<br />
<code></div><div class="stat" style="background-image:url(http://keiz3r.waphall.com/3g.gif)"></code>
<b class="text" style="color: #FFFFFF">Views:</b>
<xt id="counter" type="4"  /><code></div><div style="background-color: orange"><font color="black"><b>JavaScript </b></font></div></center></code>
<span class="text" style="color: #FF9900">» MSN Search on web.</span>
<br />
<code><textarea rows="3" cols="20"><html><head><meta name="GENERATOR" content="Microsoft FrontPage 6.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><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></textarea></code>
<span class="text" style="color: #FF9900">» Close The Browser With A button.</span>
<br />
<code><textarea rows="3" cols="20"><!-- Start of Close Browser Script --><!-- When the "Close Window" button is clicked, this script
	will close the browser window that the webpage is in.
--><script language="JavaScript"><!--

function closeIt() {
  close();
}

// --></script><center><form><input type=button value="Close Window" onClick="closeIt()"></form></center><!-- End of Close Browser Script --></textarea></code>
<span class="text" style="color: #FF9900">» Text Alert For Enter And Exit.</span>
<br />
<code><textarea rows="3" cols="20"><html><head><script language="javascript" type="text/javascript">

alert("Welcome to my weblog")

</script></head><body><h1><!-- hide script from old browsers --><!--this is on example of a long JavaScript comment--><script language="javascript" type="text/javascript">

document.write("IranJavaScript")

//end hiding script from old browsers -->
</script></h1></body></html><!--   DESCRIPTION:  This will cause an elert message before your visitor leaves (OR reloads) your page. 
	INSTRUCTIONS:  Place this tag where your BODY tag is.  Make changes to attributes (TEXT, LINK, VLINK, BGCOLOR, etc.) as necessary.
	FUNCTIONALITY: Works in both Netscape and IE.

//Modified by CoffeeCup Software 
//This code is Copyright (c) 1997 CoffeeCup Software 
//all rights reserved. License is granted to a single user to 
//reuse this code on a personal or business Web Site. 
--><BODY onUnload="window.alert(' Good Bye ')"></BODY><!--   DESCRIPTION:  This will cause an elert message before your visitor leaves (OR reloads) your page. 
	INSTRUCTIONS:  Place this tag where your BODY tag is.  Make changes to attributes (TEXT, LINK, VLINK, BGCOLOR, etc.) as necessary.
	FUNCTIONALITY: Works in both Netscape and IE.

//Modified by CoffeeCup Software 
//This code is Copyright (c) 1997 CoffeeCup Software 
//all rights reserved. License is granted to a single user to 
//reuse this code on a personal or business Web Site. 
--><BODY onUnload="window.alert(' Good Bye ')"></BODY></textarea></code>
<span class="text" style="color: #FF9900">» Moving Text Status.</span>
<br />
<code><textarea rows="3" cols="20"><!--   DESCRIPTION:  This script will make your status message slide into place.  Neat effect.  

	INSTRUCTIONS:  Place this script in the BODY tags of
your webpage.  Then place the appropriate message in the var msg value. 

	FUNCTIONALITY: Works in both Netscape and IE.



//Modified by CoffeeCup Software 
//This code is Copyright (c) 1997 CoffeeCup Software 
//all rights reserved. License is granted to a single user to 
//reuse this code on a personal or business Web Site. 

--><BODY onLoad="timerONE=window.setTimeout('slide(120,0)',20);"><SCRIPT LANGUAGE="JavaScript">

function slide(jumpSpaces,position) {
  var msg = "This JavaScript will slide in your desired message....Cool...isn't it???.......drink more coffee"
  var out = ""
  if (endScroll) {return false}
  for (var i=0; i<position; i++) 
    {out += msg.charAt(i)}
  for (i=1;i<jumpSpaces;i++) 
    {out += " "}
  out += msg.charAt(position)
  window.status = out
  if (jumpSpaces <= 1) {
    position++
    if (msg.charAt(position) == ' ') 
      {position++ }
    jumpSpaces = 100-position
  } else if (jumpSpaces >  3)
       {jumpSpaces *= .75}
  else
    {jumpSpaces--}
  if (position != msg.length) {
    var cmd = "slide(" + jumpSpaces + "," + position + ")";
    scrollID = window.setTimeout(cmd,5);
  } else {
    scrolling = false
    return false 
  }
  return true
}
function ccSetup() {
 if (scrolling) 
  if (!confirm('Re-initialize slide?'))
   return false 
   endScroll = true 
   scrolling = true 
   var killID = window.setTimeout('endScroll=false',6)
   scrollID = window.setTimeout('slide(100,0)',10)
   return true 
}
var scrollID = Object
var scrolling = false
var endScroll = false
</SCRIPT></textarea></code>
<span class="text" style="color: #FF9900">» Go To Top Of Page.</span>
<br />
<code><textarea rows="3" cols="20"><script><!--

// Change this text to the text that you want to be displayed as the link on your page.

var displayed="<nobr><font size=2 face=Arial><b>[Top]</b></font></nobr>"

// === DO NOT EDIT ANYTHING BELOW THIS LINE!!! === //

var logolink='javascript:window.scrollTo(0,0)'
var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4)
setTimeout("window.onresize=regenerate",400)
}

if (ie4||ns6)
document.write('<span id="logo" style="position:absolute;top:-300;z-index:100">'+displayed+'</span>')

function createtext(){ //function for NS4
staticimage=new Layer(5)
staticimage.left=-300
staticimage.document.write('<a href="'+logolink+'">'+displayed+'</a>')
staticimage.document.close()
staticimage.visibility="show"
regenerate2()
staticitns()
}

function staticit(){ //function for IE4/ NS6
var w2=ns6? pageXOffset+w : document.body.scrollLeft+w
var h2=ns6? pageYOffset+h : document.body.scrollTop+h
crosslogo.style.left=w2
crosslogo.style.top=h2
}

function staticit2(){ //function for NS4
staticimage.left=pageXOffset+window.innerWidth-staticimage.document.width-28
staticimage.top=pageYOffset+window.innerHeight-staticimage.document.height-10
}

function inserttext(){ //function for IE4/ NS6
if (ie4)
crosslogo=document.all.logo
else if (ns6)
crosslogo=document.getElementById("logo")
crosslogo.innerHTML='<a href="'+logolink+'">'+displayed+'</a>'
w=ns6? window.innerWidth-crosslogo.offsetWidth-20 : document.body.clientWidth-crosslogo.offsetWidth-10
h=ns6? window.innerHeight-crosslogo.offsetHeight-15 : document.body.clientHeight-crosslogo.offsetHeight-10
crosslogo.style.left=w
crosslogo.style.top=h
if (ie4)
window.onscroll=staticit
else if (ns6)
startstatic=setInterval("staticit()",100)
}

if (ie4||ns6){
window.onload=inserttext
window.onresize=new Function("window.location.reload()")
}
else if (ns4)
window.onload=createtext

function staticitns(){ //function for NS4
startstatic=setInterval("staticit2()",90)
}

//-->
</script><!-- END OF Watermark Jump to Top Link DHTML --></textarea></code>
<span class="text" style="color: #FF9900">» Text Following Mouse.</span>
<br />
<code><textarea rows="3" cols="20"><!-- START OF Mouse Cursor Text Trailer DHTML --><!-- SUMMARY BRIEF

	This DHTML script will make a text message follow
	your cursor around the screen. You can change the
	message to say whatever you want.

	You can change the font face, color and size in
	the .trailersytle tag below. You can change the message
	in the javascript below that. Just look for the 
	comment that says "Insert your personal message below."

--><!-- Put this portion of the script inside of your <HEAD> tag -->


<style>
.trailerstyle {
	position: absolute;
	visibility: visible;
	top: -50px;
	font-size: 12px;
	font-family: Arial,Helvetica,Verdana;
      	font-weight: bold;
	color: #000000;
}
</style><script><!--

var x,y
var step=20
var flag=0

// Insert your personal message below.
// Important: Do NOT remove the space at the end of the sentence!!!

var message=" www.javascriptfreecode.com "
message=message.split("")

var xpos=new Array()
for (i=0;i<=message.length-1;i++) {
	xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=message.length-1;i++) {
	ypos[i]=-50
}

function handlerMM(e){
	x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
	y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
	flag=1
}

function mousetrailer() {
	if (flag==1 && document.all) {
    	for (i=message.length-1; i>=1; i--) {
   			xpos[i]=xpos[i-1]+step
			ypos[i]=ypos[i-1]
    	}
		xpos[0]=x+step
		ypos[0]=y
	
		for (i=0; i<message.length-1; i++) {
    		var thisspan = eval("span"+(i)+".style")
    		thisspan.posLeft=xpos[i]
			thisspan.posTop=ypos[i]
    	}
	}
	
	else if (flag==1 && document.layers) {
    	for (i=message.length-1; i>=1; i--) {
   			xpos[i]=xpos[i-1]+step
			ypos[i]=ypos[i-1]
    	}
		xpos[0]=x+step
		ypos[0]=y
	
		for (i=0; i<message.length-1; i++) {
    		var thisspan = eval("document.span"+i)
    		thisspan.left=xpos[i]
			thisspan.top=ypos[i]
    	}
	}
		var timer=setTimeout("mousetrailer()",30)
}

//--></script><!-- Put this code inside of your <BODY> tag. -->


<script><!--

for (i=0;i<=message.length-1;i++) {
    document.write("<span id='span"+i+"' class='trailerstyle'>")
	document.write(message[i])
    document.write("</span>")
}

if (document.layers){
	document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;

//-->
</script><!-- Lastly, insert the following into the <BODY> tag, itself, just like the example that follows. -->



<body onLoad="mousetrailer()" style="width:100%;overflow-x:hidden;overflow-y:scroll"><!-- END OF Mouse Cursor Text Trailer DHTML --></textarea></code>
<a href="Page_2" class="text" style="color: #FF9900">« Prev</a>
<br />
<a href="Page_4" class="text" style="color: #FF9900">» Next</a>
<br />
<code><center><div style="background-color: orange"></code>
<a href="http://keiz3r.waphall.com" class="Titlelinks" style="color: #000000">Home</a>
<br />
<code></div><div style="background-color: #4E4848"></code>
</p>
</body></html>