Csigs
10-05-2011, 07:55 PM
1) Script Title: DD Text and Image Crawler 1.5
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm
3) Describe problem:
I'm trying to get the crawler to scroll through various world clocks (The time in Washington, Moscow, Sydney, etc), but when I plug in the scripts for each one it just displays them as one long column and repeatedly scrolls through that one column. I tried putting the <span> </span> tags around each element but that didn't help.
Here's a copy of the script and what it appears as on my site. I'm a novice with this kind of stuff so I apologize if the solution is obvious or if I'm attempting something that can't be done.
Site: http://diplomunion.com - It's on the left
<script type="text/javascript" src="http://diplomunion.com/crawler.js">
/* Text and/or Image Crawler Script v1.5 (c)2009-2011 John Davenport Scheuer
as first seen in http://www.dynamicdrive.com/forums/
username: jscheuer1 - This Notice Must Remain for Legal Use
updated: 4/2011 for random order option, more (see below)
*/
</script>
<div class="marquee1" id="mycrawler2">
<span><!-Local Time Clock widget - HTML code - localtimes.info --><div align="center" style="margin:15px 0px 0px 0px"><div align="center" style="width:140px;border:1px solid #ccc;background:#fff ;color: #fff ;font-weight:bold"><a style="padding:2px 1px;margin:2px 1px;font-size:13px;line-height:16px;font-family:arial;text-decoration:none;color:#000 ;" href="http://localtimes.info/Oceania/New_Zealand/Wellington/"><img src="http://localtimes.info/images/countries/nz.png" border=0 style="border:0;margin:0;padding:0"> Wellington Time</a></div><script type="text/javascript" src="http://localtimes.info/clock.php?continent=Oceania&country=New+Zealand&city=Wellington&color=black-white&widget_number=1000"></script></div><!-end of code--></span>
<span><!-Local Time Clock widget - HTML code - localtimes.info --><div align="center" style="margin:15px 0px 0px 0px"><div align="center" style="width:140px;border:1px solid #ccc;background:#fff ;color: #fff ;font-weight:bold"><a style="padding:2px 1px;margin:2px 1px;font-size:13px;line-height:16px;font-family:arial;text-decoration:none;color:#000 ;" href="http://localtimes.info/Oceania/Australia/New_South_Wales/Sydney/"><img src="http://localtimes.info/images/countries/au.png" border=0 style="border:0;margin:0;padding:0"> Sydney Time</a></div><script type="text/javascript" src="http://localtimes.info/clock.php?continent=Oceania&country=Australia&city=Sydney&color=black-white&widget_number=1000"></script></div><!-end of code--></span>
*Similar script repeated several times. Removed so could fit in post.*
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '600px',
'margin': '0 auto',
'height': '75px'
},
inc: 1, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 1,
neutral: 150,
savedirection: true,
random: false
});
</script>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm
3) Describe problem:
I'm trying to get the crawler to scroll through various world clocks (The time in Washington, Moscow, Sydney, etc), but when I plug in the scripts for each one it just displays them as one long column and repeatedly scrolls through that one column. I tried putting the <span> </span> tags around each element but that didn't help.
Here's a copy of the script and what it appears as on my site. I'm a novice with this kind of stuff so I apologize if the solution is obvious or if I'm attempting something that can't be done.
Site: http://diplomunion.com - It's on the left
<script type="text/javascript" src="http://diplomunion.com/crawler.js">
/* Text and/or Image Crawler Script v1.5 (c)2009-2011 John Davenport Scheuer
as first seen in http://www.dynamicdrive.com/forums/
username: jscheuer1 - This Notice Must Remain for Legal Use
updated: 4/2011 for random order option, more (see below)
*/
</script>
<div class="marquee1" id="mycrawler2">
<span><!-Local Time Clock widget - HTML code - localtimes.info --><div align="center" style="margin:15px 0px 0px 0px"><div align="center" style="width:140px;border:1px solid #ccc;background:#fff ;color: #fff ;font-weight:bold"><a style="padding:2px 1px;margin:2px 1px;font-size:13px;line-height:16px;font-family:arial;text-decoration:none;color:#000 ;" href="http://localtimes.info/Oceania/New_Zealand/Wellington/"><img src="http://localtimes.info/images/countries/nz.png" border=0 style="border:0;margin:0;padding:0"> Wellington Time</a></div><script type="text/javascript" src="http://localtimes.info/clock.php?continent=Oceania&country=New+Zealand&city=Wellington&color=black-white&widget_number=1000"></script></div><!-end of code--></span>
<span><!-Local Time Clock widget - HTML code - localtimes.info --><div align="center" style="margin:15px 0px 0px 0px"><div align="center" style="width:140px;border:1px solid #ccc;background:#fff ;color: #fff ;font-weight:bold"><a style="padding:2px 1px;margin:2px 1px;font-size:13px;line-height:16px;font-family:arial;text-decoration:none;color:#000 ;" href="http://localtimes.info/Oceania/Australia/New_South_Wales/Sydney/"><img src="http://localtimes.info/images/countries/au.png" border=0 style="border:0;margin:0;padding:0"> Sydney Time</a></div><script type="text/javascript" src="http://localtimes.info/clock.php?continent=Oceania&country=Australia&city=Sydney&color=black-white&widget_number=1000"></script></div><!-end of code--></span>
*Similar script repeated several times. Removed so could fit in post.*
</div>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '600px',
'margin': '0 auto',
'height': '75px'
},
inc: 1, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 1,
neutral: 150,
savedirection: true,
random: false
});
</script>