above and lower sliding banner accomplish

They have: 1 posts

Joined: Aug 2008

hello folks above and lower sliding banner code accomplish

// "
el_width=5
el_height=65
ns4=document.layers
ie4=document.all
ns6=document.getElementById&&!document.all
if (ns4){document.write(''+element+'')}
else{document.write(''+element+'')}
el_width_start=el_height_start=0
function el_move(){
if(ie4){ydiff=el_height_start-document.body.scrollTop; xdiff=el_width_start-document.body.scrollLeft}
else{ydiff=el_height_start-pageYOffset; xdiff=el_width_start-pageXOffset}
if(ydiff!=0){movey=Math.round(ydiff/10);el_height_start-=movey}
if(xdiff!=0){movex=Math.round(xdiff/10);el_width_start-=movex}
if(ns4){document.layers.element.top=el_height_star t+el_height;document.layers.element.right=el_width _start+el_width}
if(ie4){document.all.element.style.top=el_height_s tart+el_height;document.all.element.style.right=el _width_start+el_width}
if(ns6){document.getElementById("element").style.t op=el_height_start+el_height;document.getElementBy Id("element").style.right=el_width_start+el_width } }
elmove=setInterval("el_move()",15)
//-->

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Sorry, I'm not clear what the question is. Are you having trouble with this code? A URL would be better (if you have one).

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.