Results 1 to 5 of 5

Thread: Can't make it stop on mouseover

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

    Default Can't make it stop on mouseover

    1) Script Title: Crawler

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

    3) Describe problem: I want the marquee effect stop on mouseover but as instructed I set the "mouse" value to "pause" but it doesn't work. The other values work well, though.

    See the problem here: http://weightlossbeforeandaftera.com/

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,951
    Thanks
    43
    Thanked 3,194 Times in 3,157 Posts
    Blog Entries
    12

    Default

    Here:

    Code:
    marqueeInit({
    	uniqueid: 'photos',
    	style: {
    		'padding': '2px',
    		'width': '100%',
    		'height': '310px'
    	},
    	inc: 2, //speed - pixel increment for each iteration of this marquee's movement
    	mouse: 'pavse', //mouseover behavior ('pause' 'cursor driven' or false)
    	moveatleast: 2,
    	neutral: 10,
    	savedirection: true,
    	random: true
    });
    There's a typo. It should be 'pause'. But that's the default, so you can delete that line. Also savedirection, moveatleast and neutral are only for cursor driven, and width 100% is default, so you can get rid of them as well. So you end up with:

    Code:
    marqueeInit({
    	uniqueid: 'photos',
    	style: {
    		'padding': '2px',
    		'height': '310px'
    	},
    	inc: 2, //speed - pixel increment for each iteration of this marquee's movement
    	random: true
    });
    Last edited by jscheuer1; 12-15-2011 at 05:32 PM.
    - John
    ________________________

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

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

    Default

    Oh god it was because of the fancy font I use and v and u look just the same. Sorry and thanks for further info. I'll edit the code asap. Thanks a lot!

  4. #4
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I want the crawler to stop instead of crawling to left when I move my cursor right

    I want to change how its crawling. Whenever I move my cursor to the right, the crawler starts crawling to the left. But I want it to stop crawling, no matter where my cursor is. Can you help me?

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,951
    Thanks
    43
    Thanked 3,194 Times in 3,157 Posts
    Blog Entries
    12

    Default

    Please start a new thread for your question.
    - John
    ________________________

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

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
  •