Results 1 to 3 of 3

Thread: Text and Image Marquee Crawler v1.53 - Need Help, Change direction

  1. #1
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Text and Image Marquee Crawler v1.53 - Need Help, Change direction

    1) Script Title: Text and Image Marquee Crawler v1.53

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

    3) Describe problem:


    Love the script its just what I needed, but I will like to add some arrows on both side to change the direction for example


    < [marquee text] >


    how can I add these arrow to control the image?

    thanks.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If you have just one crawler on the page:

    Code:
    marqueeInit.ar[0].direction = 'right'
    will make it go to the right and:

    Code:
    marqueeInit.ar[0].direction = 'left'
    will make it go to the left.

    So you could have links like:

    HTML Code:
    <a href="#" onclick="marqueeInit.ar[0].direction = 'right'; return false;">&gt;</a>
    and:

    HTML Code:
    <a href="#" onclick="marqueeInit.ar[0].direction = 'left'; return false;">&lt;</a>
    You can use images or buttons instead, and if you prefer use onmouseover instead of onclick.

    As I say, this works for 1 crawler, or the first crawler. For a second crawler, change the [0] to [1], for a third to [2], and so on.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    Last edited by jscheuer1; 08-18-2013 at 02:55 PM. Reason: add info
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks you that worked perfectly.

Similar Threads

  1. Text and Image Marquee Crawler v1.53 help please
    By rlhenryjr in forum Dynamic Drive scripts help
    Replies: 23
    Last Post: 03-22-2013, 03:22 AM
  2. DD Text and Image Crawler marquee style to CSS
    By john7p in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 08-17-2010, 03:17 PM
  3. Text and Image Crawler - Vertical Direction
    By ich_anderson in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-29-2009, 09:18 AM
  4. Text and Image Crawler - Vertical Direction
    By ich_anderson in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-07-2009, 04:08 PM
  5. Cross Browser marquee - Can I change its direction?
    By ET1 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-08-2005, 08:33 PM

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
  •