1) Script Title: Text and Image Crawler
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...wler/index.htm
3) Describe problem: Great script, does everything I need, only it seems to break when images are wrapped in a div, like so:
Same thing happens in Chrome and IE as well. I've tried using display:inline but that just makes things even worse.Code:<div class="marquee" id="mycrawler2"> <div><img src="http://i40.tinypic.com/9tlic8.jpg" /></div> <img src="http://i43.tinypic.com/1zbqs5t.jpg" /> <img src="http://i44.tinypic.com/2419ul3.jpg" /> <img src="http://i43.tinypic.com/296nh3r.jpg" /> <img src="http://i40.tinypic.com/mk7ki.jpg" /> </div> <script type="text/javascript"> marqueeInit({ uniqueid: 'mycrawler2', style: { 'padding': '2px', 'width': '600px', 'height': '180px' }, 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 }); </script>
Any ideas how to go about fixing this? Thank you.




Reply With Quote

Bookmarks