PDA

View Full Version : Text and Image Crawler FF1+ IE6+ Opr7+ appears to not work with IE



talon
10-05-2012, 04:46 AM
1) Script Title: Text and Image Crawler FF1+ IE6+ Opr7+

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

3) Describe problem: This script works fine on Firefox, chrome, iPad, android but the images simply do not show up in IE (on a few different PC's). See www.taloncom.com

Greatly appreciate any help here. The image scroller looks great! Escpecially on chrome which does not shrink the webpage like Firefox 9.01.

-Scott

bernie1227
10-05-2012, 05:25 AM
the script seems to be working fine on ie9, I will test on ie6 in a minute.

jscheuer1
10-05-2012, 05:36 AM
There are invalid comment tokens and an extra comma in the init:


<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'width': '826px',
'height': '300px'
},
inc: 1, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'false', //mouseover behavior ('pause' 'cursor driven' or false)
<!-- random: true, -->
direction: 'right',
<!-- addDelay: 10 -->
});
</script>

This will work in many browsers which error correct. It would even work in IE 9 if the page were in standards mode, which would be a good idea because initialization is smoother in IE 8 and 9 when standards are in force. But that may or may not create the need to redo some or a lot of the css or html code to conform to standards. It also may or may not break other scripts on the page (only if they are old and rely upon quirks mode). To try it out, change the DOCTYPE to a standards invoking DOCTYPE*.

But simply to get things working, change the init to:


<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'width': '826px',
'height': '300px'
},
inc: 1, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'false', //mouseover behavior ('pause' 'cursor driven' or false)
// random: true,
// addDelay: 10,
direction: 'right'
});
</script>

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


* To try out the page with a standards invoking DOCTYPE, change:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

to:


<!DOCTYPE html>