![]() |
Question on js
How to use the script of the tickerin two separate windows?
Such as, for Left_tickr and Right_tickr. I tried to change the function to function initializemarquee(my_ticker){ cross_marquee=document.getElementById("let_tickr,right_ticker") cross_marquee.style.top=0 marqueeheight=document.getElementById("marqueecontainer1,marqueecontainer2").offsetHeight actualheight=cross_marquee.offsetHeight //height of marquee content (much of which is hidden from view) if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit cross_marquee.style.height=marqueeheight+"px" cross_marquee.style.overflow="scroll" return } setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll) } I get an error message that the function return Mihotz By the way, using Google's translation and I apologize for errors Thanks in advance respondents |
| All times are GMT +1. The time now is 04:03 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.