View Full Version : Text and Image Crawler v1.5 not working in Chrome or Safari

10-22-2012, 04:10 PM
1) Script Title: Text and Image Crawler v1.5

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

3) Describe problem: I am using a crawler here and it works great in FF and IE but for some reason I only get an empty space where the div is on Safari and Chrome. Safari does seem to work but only sometimes but Chrome never seems to display the contents. I have the plain .js file with no mods.

Hope somebody can be of some help.

10-22-2012, 05:08 PM
I'm not sure of the cause but in those browsers either the markup, styles, and/or other scripts are giving the crawler a width of 0px.

Add the highlighted to the head of the page as shown:

<title>Britten Grove Baptist Church</title>
<script type="text/javascript" src="../scripts/crawler.js">
/* Text and/or Image Crawler Script v1.5 (c)2009-2011 John Davenport Scheuer
as first seen in http://www.dynamicdrive.com/forums/
username: jscheuer1 - This Notice Must Remain for Legal Use
updated: 4/2011 for random order option, more (see below)
<link rel="stylesheet" type="text/css" href="../css/main.css">
<style type="text/css">
.marquee0 {
width: 100% !important;
<script type="text/javascript" src="http://ajax.google . . .

or incorporate its rule at the end of the existing stylesheet for the page.

The browser cache may need to be cleared and/or the page refreshed to see changes.

10-22-2012, 05:26 PM
Thanks problem solved, you were spot on.