PDA

View Full Version : cross browser marquee II problem in Opera 10



bconfino
07-15-2010, 02:58 PM
I have just installed opera 10 and my lovely marquee does not show up at all.
Can anyone help?
Many thanks

jscheuer1
07-15-2010, 03:24 PM
Please post new questions in a new thread like here where I've moved this, and:

Warning: Please include a link to the DD script(s) in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

That said, if the script you are using is:

http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

Remove the highlighted part shown below:


function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
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)
}

if (window.addEventL . . .