I don't think anyone has ever done just one image with this script. At least not and had a problem that they asked about it here.
Anyways, even with a 'normal' crawler, you shouldn't specify style inline for the container.
So try it without the highlighted:
Code:
<div class="marquee" id="mycrawler2" style="width:100%;height:450px;">
<img src="test.jpg" width="2000" height="450"/>
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '0px',
'width': '2000px',
'height': '450px'
},
inc: 50, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 500,
savedirection: false
});
</script>
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks