Results 1 to 4 of 4

Thread: Text and Image Crawler: How to scroll left to right?

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Text and Image Crawler: How to scroll left to right?

    1) Script Title: Text and Image Crawler

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...wler/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.
    Last edited by Snookerman; 04-22-2009 at 07:57 AM. Reason: added "Resolved" prefix

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Add the parameter direction: 'right', into marqueeInit(), example:
    Code:
    <script type="text/javascript">
    marqueeInit({
    	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
    });
    </script>
    Good luck!

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    Scott Z. (04-16-2009)

  4. #3
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks Snookerman!

    That was simple ... to simple!

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

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome, glad to help!
    You can go to your first post in this thread, click 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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •