PDA

View Full Version : Text and Image Crawler



jscheuer1
11-02-2009, 03:38 PM
1) Script Title: Text and Image Crawler

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

3) Describe problem: In Opera, when navigating to the page after the images are cached, a refresh is required to see the images. When I first wrote this script I believed that Opera should be excluded from a part of the preload/load recognition routine, and at that time this may have been correct. However, it certainly isn't now. This line (around line 150) in the crawler.js file should be changed:


if(typeof ims[i].complete == 'boolean' && ims[i].complete && !window.opera)

to:


if(typeof ims[i].complete == 'boolean' && ims[i].complete)

ddadmin
11-02-2009, 09:22 PM
Thanks for the heads up, code updated!