Get rid of:
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'padding': '5px',
'width': '450px',
'background': 'lightyellow',
'border': '1px solid #CC3300'
},
inc: 8, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 4,
neutral: 150,
savedirection: true
});
At best it's ignored because it's part of the external script tag. It could be causing problems though.
Also get rid of align="center" for the marquee div:
Code:
<div class="marquee" id="mycrawler2" align="center">
Use 'margin': '0 auto' in the style object instead (requires a standards invoking DOCTYPE as the very first thing on the page for IE and probably for other Microsoft products):
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '0px',
'width': '1000px',
'margin': '0 auto',
'height': '224px'
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true,
random: true
});
</script>
That actually could be the problem, as styling the marquee div at all will often cause problems. That's what the style object is for, to allow styling without disrupting the script.
Other than that, I'm not sure. If you can put it up as a live HTML page somewhere and demonstrate the problem, I can probably troubleshoot it further.
The browser (or whatever you're using to view this with) cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks