Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed to edit this...

Status
Not open for further replies.
Code:
function initializeScroller(){
dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")
dataobj.style.top="[COLOR=green][b]150px[/b][/color]"
setTimeout("getdataheight()", initialdelay)
}

and
Code:
function scrollDiv(){
dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+"px"
if (parseInt(dataobj.style.top)<thelength*(-1))
dataobj.style.top="[COLOR=green][b]150px[/b][/color]"
setTimeout("scrollDiv()",40)
}

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Thanks dwarfthrower! You are a great help to me. Appreciated it!

:)
 
One more qns, after the news scroll upwards, is there any way to pause the news(even no mouse over) at the top for x sec?

Thanks.
 
Not without rewriting the script.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top