Cool Disk's

  
 Helping the Spread of Knowledge & Skill's...

Proud Member of the EyeTweaks Network

Java   
   Batch

HTML

Java

VB

  

Special Thanks to Ours Sponsor's
How to become a sponsor

Java Shaky Text

By Alan Mitchell EyeTweaks How To Section
All copyrights apply.

You may use this code freely as long as the copyrights remains intact, "you may change the area which is visible by the person viewing your site", "primarily the visible Text Area".
Remember this is free code as long as it is not sold or use in items for sale or resale.  All copyrights apply
.

copy the code below between <head and /head> on your HTML page. to create this shaky text affect.

<head>

<style>

.ET{

position:relative;

}

<!--Do not chage content below this line-->

<!--created by Alan Mitchell all copy rights apply-->

<!--site's and codes created for exclusive use and distribution by EyeTweaks.com-->

<!--you are permitted to use this code free of charge as long as all copyright stay intact. visit us at http://www.eyetweaks.com-->

</style>

<script language="JavaScript1.2">

var Alan=document.AlteredState&&!document.all

var Mitchell=document.all

var ShakyText=new Array()

var ETs=0

function Shaky(num){

if ((!document.all&&!document.AlteredState)) return;

ShakyText[num].style.left=(parseInt(ShakyText[num].style.left)==-1)? ShakyText[num].style.left=1 : ShakyText[num].style.left=-1

}

function init(){

if (Mitchell){

while (eval("document.all.Wow"+ETs)!=null){

ShakyText[ETs]= eval("document.all.Wow"+ETs)

ETs++

}

}

else if (Alan){

while (document.AlteredState("Wow"+ETs)!=null){

ShakyText[ETs]= document.AlteredState("Wow"+ETs)

ETs++

}

}

if (ShakyText.length==1)

setInterval("Shaky(0)",80)

else if (ShakyText.length>1)

for (Al=1;Al<ShakyText.length;Al++){

var Sunshine='setInterval("Shaky('+Al+')",'+'50)'

eval(Sunshine)

}

}

window.onload=init

</script></head>

<body>

</body>

</html>

Place this portion of the code between the <body> and </body> this is the only portion you are permitted to alter or change.  Using the <span> tag to activate it.  If you get an error about null you may have this listed to many times.  "Wow0" instead of the next incremental number like "Wow5, etc"

<body>
<span id="Wow0"
class="ET"><b>Shaky Text By Alan Mitchell <a
href=
"../HowTo/how_to_index.htm">EyeTweaks How To Section</a></b><FONT
color=
#ff0000></span>
</body>

Example of Two Shaky Text on one page below

<body>
<
span id="Wow0"
class="ET"><b>Shaky Text By Alan Mitchell <a
href=
"../HowTo/how_to_index.htm">EyeTweaks How To Section</a></b><FONT
color=
#ff0000></span>
<span id="Wow1"
class="ET"><b>Second shaky text <a
href=
"../HowTo/how_to_index.htm">EyeTweaks How To Section
2</a></b><FONT
color=
#ff0000></span>
</body>

To add multiple Text Messages,
Increment the attribute <span> from "
Wow0" to "Wow1" to "Wow2", etc, otherwise you will
receive a null error.

Member of the EyeTweaks Network, We just keep on Tweaken!TM
CoolDisks.com All copyrights apply.(C)

Contact Us