* GeoCities*

Thanks for every thing you gave us for years, a lot of satisfactions.

We are going to miss you, you are the best.


MasterDiz.com

 


 

The JavaScript's Manager
Presents:

Scripts and
JavaScripts for Web pages

Scripts for the snake effects.

 

Get the most popular scripts for a snake effects to enhance your webpages

 

For more scripts visit
 coming soon

Snake text following the cursor #3

updated banner

.

Menu

Snake #1 Snake #2 Snake #3 Snake #4 Snake #5 Snake #6 Snake #7

 

Where to put it in your html.
The script to copy and paste
It is in blue letters.
This are the instruction on how to do it. Free WebMaster Resources

<html>
<title>
</title>
<head>

<style>
.spanstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:10pt;
font-family:Verdana;
font-weight:bold;
color:
red;
}
</style>

<script>


var x,y
var step=11
var flag=1

// Your snappy message. Important: the space at the end of the sentence!!!
var message=
"Your message goes here "
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 makesnake() {
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("makesnake()",30)
}

</script>


</head>
<body
onLoad="makesnake()" style="width:80%;overflow-x:hidden;overflow-y:scroll">

 

<script>
<!-- Beginning of JavaScript -

for (i=0;i<=message.length-1;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>")
document.write(message[i])
document.write("</span>")
}

if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;

// - End of JavaScript - -->
</script>


</body>
</html>

The words in brown are the "html" tags in your html document where you are going to paste the script.

The words in blue are the scripts; Paste them between <head>Here</head>

Word in yellow is to change the font color of the snake text.

The words in red is the message that you want to display in the snake text.

The words in green go inside the <body> tag in this way:

<body onLoad="makesnake()" style="width:80%;overflow-x:hidden;overflow-y:scroll">

The words in black go between the <body onLoad="makesnake()" style="width:80%;overflow-x:hidden;overflow-y:scroll") Here </body> tags

_________(*)_________

For tutorials on scripts Visit:

coming soon

New Links
Tricks with JavaScript
JavaScript for Popup
Scripts and tutorials
Scripts for menus
Secret JavaScript's
Change scrollbars color
 
 
Mister Popup and his windows.
Scripts for Popup windows.
Shake that Link.
A script that makes links to shake on mouse over.
Script tricks.
A script to Put your webpage Up side down and backwards
El Mago.
Tricks with scripts.
Great trick for your web pages.
For support remember to go to our forum and post any trouble you might have with the scripts.


bye

bye
Your link Here

Light Speed WebGraphics.
Animated Backgrounds

New Links
Cool web Backgrounds
Super 3D Backgrounds
Real Animated Backgrounds
Free Web Graphics
Free Graphic Tools
Free Web Tools
 
 
 
 
.

Disclaimer

visit www.24fun.com

Most scripts listed are either public domain or freeware unless otherwise stated. While most scripts are submitted to us, some have been found in public script libraries. If we are in error, please tell us and we will either remove the script or update the author data accordingly. Proof of copyright must be submitted to us. Authors may or may not be mentioned with or without link depending on author's wishes. Unless otherwise stated, all scripts are freeware and therefore free to use provided you leave any copyright message as is.

"THE SNEAKY GUY" MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE // SOFTWARE, SCRIPTS OR ANY OTHER IN THIS WEBSITE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED // WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR // NON-INFRINGEMENT.  "THE SNEAKY GUY" SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY // USER AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR // ITS DERIVATIVES.

Copyright © 2004~2005 The sneaky guy (All graphics and scripts are owned by their authors and we don't claim their copyright but for the web page design)