View Full Version : IE JS Error on Blending Image Slide Show Script

11-30-2007, 10:48 PM
I am getting the following error in IE for the Blending Image Slide Show Script:

Line: 104
Char: 1
Error: 'document.images.slide.filters.0.duration' is null or not an object
Code: 0

Can anyone explain why I get this in IE and why the slide show will not work, whereas it does work in FireFox without any errors?

Your help is massively appreciated, as I need to get this fixed within the next 48 hours for viewing on IE...

Thank you...

12-01-2007, 05:24 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Sounds like a coding error, conflict, or browser setting(s) problem. It could be something else.

Please post a link to the page on your site that contains the problematic code so we can check it out.

12-03-2007, 10:52 PM
In response to the previous poster, I double-checked the code, and this is copy and paste code...If there is an error with the JavaScript, then there is an error in the Blending Image Slide Show Script. Can anyone else please read my original question and provide me with some kind of explanation?

Thank you much.

12-03-2007, 11:03 PM
As requested, the link to the Blending Image Slide Show Script is http://www.dynamicdrive.com/dynamicindex14/image4.htm.

The page I used this script on is http://www.laveen.org/newsite/

Any help would be greatly appreciated...

12-04-2007, 10:36 AM
This is an older script and I would recommend using either:





However, the problem in IE is that you took out the style:

<img src="images/banner1.jpg" name="slide" style="" alt="Welc . . .

which should be:

<img src="images/banner1.jpg" name="slide" style="filter:blendTrans(duration=3)" alt="Welc . . .

Further, the script has many other potential problems and should, at the very least have this added in its top portion:

var imageholder=new Array()
var ie=document.all&&document.documentElement.filters
for (i=0;i<slideimages.length;i++){
imageholder[i]=ne . . .

for compatibility with other browsers that do support document.all, but not filter styles.