| Paste this section within the HEAD tags & change the Distance to travel, Step & setTimeout as explained above
<script language="javascript">
<!-- hide from old browsers
// Written & created by Shivaji Basu
// Copyright www.shivbasu.com
// Use this script at your own risk
// To use his script, you MUST leave this disclaimer & credit as it is
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
function init() {
if(ns4||ie4){
if (ns4) block = document.example
if (ie4) block = example.style
block.y = parseInt(block.top)
}
}
function downslide() {
if(ns4||ie4){
if (block.y < 780) {
block.y +=30
block.top = block.y
setTimeout("downslide()",50)
}
}
}
//--end hide>
</script>
Paste this part within the OPENING Body tag for Auto execute
<BODY onload="init();downslide()" background="" bgcolor="" .....>
// Fill in the Background Image URL, BG color etc as normal
// THEN, in the actual Body -
<div id="example" style="position:absolute;left:350;top:-30; height:30;">
<img src="testblock.gif" width=100 height=30 border=0 alt="Test Block">
</div>
Otherwise this - for "onClick" execution.
<BODY onload="init();" background="" bgcolor="" .....>
// Fill in the Background Image URL, BG color etc as normal
// THEN, in the actual Body as before -
<div id="example" style="position:absolute;left:350;top:-30; height:30;">
<img src="testblock.gif" width=100 height=30 border=0 alt="Test Block">
</div>
//Finally, a link
<a href="javascript:downslide()">TEST IT or Whatever You Wish</a>
|