Results 1 to 3 of 3

Thread: How do I change speed on Text and Image Crawler v1.53

  1. #1
    Join Date
    Oct 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How do I change speed on Text and Image Crawler v1.53

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

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

    3) Describe problem: Where in the code can I edit the default speed? It moves too fast.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,136
    Thanks
    44
    Thanked 3,231 Times in 3,192 Posts
    Blog Entries
    12

    Default

    In the on page init:

    Code:
    <script type="text/javascript">
    marqueeInit({
    	uniqueid: 'mycrawler',
    	style: {
    		'padding': '5px',
    		'width': '450px',
    		'background': 'lightyellow',
    		'border': '1px solid #CC3300'
    	},
    	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,
    	persist: true,
    	savedirection: true
    });
    </script>
    You can set those both to 1. The moveatleast only has effect if the crawler is cursor driven though.

    If that's still not slow enough, you can add more delay:

    Code:
    <script type="text/javascript">
    marqueeInit({
    	uniqueid: 'mycrawler',
    	style: {
    		'padding': '5px',
    		'width': '450px',
    		'background': 'lightyellow',
    		'border': '1px solid #CC3300'
    	},
    	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,
    	addDelay: 30,
    	neutral: 150,
    	persist: true,
    	savedirection: true
    });
    </script>
    - John
    ________________________

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

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

    action (05-03-2013)

  4. #3
    Join Date
    Oct 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you! I was only changing one number at a time. The speed is now perfect. I appreciate your help.

Similar Threads

  1. Text and Image Crawler v1.5 Speed difference in different browsers
    By philrutter in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 10-26-2012, 07:05 PM
  2. Replies: 0
    Last Post: 11-01-2011, 09:49 PM
  3. Text and Image Crawler problem about text
    By shp1367 in forum Dynamic Drive scripts help
    Replies: 12
    Last Post: 09-24-2011, 10:31 AM
  4. Text and Image Crawler - multiple lines of text
    By jeffshead in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 08-21-2011, 01:40 PM
  5. DD Text and Image Crawler align img with text-bottom
    By john7p in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 05-16-2010, 03:43 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
  •