Results 1 to 3 of 3

Thread: Text and Image Crawler Stops Crawling after click (if paused when clicked)

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

    Default Text and Image Crawler Stops Crawling after click (if paused when clicked)

    1) Script Title: Text and Image Crawler

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

    3) Describe problem: When using the crawler users can see it changing and then mouse over it (in the center area) to pause it. If they then click, I open a new browser window to display the content in. BUT, when they close that window and return to the original browser the crawler is still paused because it never got a mouseout. So unless the user thinks to put their mouse over the crawler and then move it out again the crawler will not start working again.

    This occurs when using the Safari/Webkit browser.

    Is there a way to add the click event so that when clicked the scroller starts moving again?

    Note: I had a similar question about two other components here and got excellent assistance here, http://www.dynamicdrive.com/forums/s...ad.php?t=55077 and http://www.dynamicdrive.com/forums/s...ad.php?t=55312

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Probably can be accomplished using an event when the main window is focused. When the focus returns, check if there's some reason it should be paused (if the mouse is over it) and if not, it should start moving again.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Apr 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks Daniel! I'm not very good with Javascript so I'm not sure where I would start doing what you suggested.

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
  •