View Full Version : Resolved Text and Image Crawler: How to scroll left to right?

Scott Z.
04-16-2009, 01:26 AM
1) Script Title: Text and Image Crawler

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm

3) Describe problem: First let me say - this is a great script! I haven't had any problems with the script! It's easy to setup and basic customizations a simple! Kudos John!

I do, however, need a bit more clarification on how to scroll a marquee in the opposite direction. I have two marquee instances on my page. They are currently both scrolling toward the left. I would like one to scroll from left to right. How can I accomplish this? I did not quite understand the Advanced instructions on the scripts page.

04-16-2009, 05:20 AM
Add the parameter direction: 'right', into marqueeInit(), example:

<script type="text/javascript">
direction: 'right',
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

Good luck!

Scott Z.
04-16-2009, 07:27 PM
Thanks Snookerman!

That was simple ... to simple!

Everything about this script and Dynamic Drive is awesome. Thanks for a wonderful resource!

04-16-2009, 08:17 PM
You're welcome, glad to help!
You can go to your first post in this thread, click http://www.dynamicdrive.com/forums/images/buttons/edit.gif then click Go Advanced and add the Resolved prefix to the thread title.
This will let other users know the problem has been solved.

Good luck with your site!