|
Here's the cut and paste script for you to copy:
copy this part where you want the text to
display - edit the message below
=============================================================================
<script language="JavaScript1.2">
/*created by Vjekoslav Begovic (vjbegovic@inet.hr)
Please keep this credit intact*/
var msg = "Dancing Letters, isn't that cool?";
for (var i=0; i<msg.length; i++){
document.write("<span id = \"dancer" + i + "\" style = \"position:relative;
color:blue; font-family: serif; font-size:xx-large;\">" +
msg.charAt(i) + "</span>");
}
function init(){
if (!document.all) return;
for (i=0; i<msg.length; i++){
k = Math.round(Math.random() * 30);
document.all["dancer"+i].style.top = k;
}
setTimeout("init(0)", 200);
}
</script>
==============================================
copy into body tag onload="init()"
or into page body
<body onload="init()"> |