: :
: : :Also, it is a automatic scroller that starts when the page is loaded and stops when the mouse hovers over it. Does it matter where it's loading in the script?
: :
: :
: : you should have said so in the first place, might be a bug in the scroller code, you should check the code again - if you wrote it.
: :
: :
http://owensoft.20m.com
: : check out my current projects:
http://www.owensoft.net
: :
: : Here is the code that makes it scroll, it is from dynamicdrive.com. I can not point anything in the code that looks odd.
: ***************************
: <div id="datacontainer"
: style="position:absolute;left:0;top:10;width:100%"
: onMouseover="scrollspeed=0" onMouseout="scrollspeed=cache">
:
: <!-- ADD YOUR SCROLLER COMMENT INSIDE HERE--------------------->
:
: <!-- END SCROLLER CONTENT---------------------------------------->
:
: </div>
:
: <script language="JavaScript1.2">
:
: //<iframe> script by Dynamicdrive.com
:
: //Specify speed of scroll. Larger=faster (ie: 5)
: var scrollspeed=cache=2
:
: function initialize(){
: marqueeheight=document.all? parent.document.all.datamain.height :
: parent.document.getElementById("datamain").getAttribute("height")
: dataobj=document.all? document.all.datacontainer :
: document.getElementById("datacontainer")
: dataobj.style.top=5
: thelength=dataobj.offsetHeight
: scrolltest()
: }
:
: function scrolltest(){
: dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed
: if (parseInt(dataobj.style.top)<thelength*(-1))
: dataobj.style.top=5
: setTimeout("scrolltest()",50)
: }
:
: window.onload=initialize
:
: </script>
: ************************************
:
:
I'm having the same problem with the scrolling not working in Explorer. I get the following error:
I have installed this contribution and and am having the following errors with IE:
It displays the text in the box, but doesnt scroll.
Line 24
Char : 1
Error : Access is Denied
Code : 0
URL: ........../mainnews.php
How do I fix this?