View Full Version : Text and Image Crawler Stops Crawling after click (if paused when clicked)

06-25-2010, 11:09 PM
1) Script Title: Text and Image Crawler

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crawler/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/showthread.php?t=55312

06-25-2010, 11:31 PM
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.

06-25-2010, 11:59 PM
thanks Daniel! I'm not very good with Javascript so I'm not sure where I would start doing what you suggested.