PDA

View Full Version : Ultimate Fade v1.51



MarcusDeMaaijer
12-08-2009, 06:56 PM
Message: 'this.theimages[...].1' is null or not an object
Line: 172
Char: 1
Code: 0
URI: http://www.dolphin-academy.com/index.php


please some help to fix this only for IE. In chrome and firefox no problems!

jscheuer1
12-08-2009, 08:05 PM
Please start a new thread for a new question. You originally posted this in a thread about version 2.1 of this script. You are using version 1.51 of the script.

Anyways, you need more images. With just two and two the same, you are not getting much action, as with:


var bikerace=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
bikerace[0]=["http://www.dolphin-academy.com/images/news/archive/contador_dolphin_race.jpg", "http://www.dolphin-academy.com/news/2009/amstel_curacao_race.html", ""]
bikerace[1]=["http://www.dolphin-academy.com/images/news/archive/contador_dolphin_race.jpg", "http://www.dolphin-academy.com/news/2009/amstel_curacao_race.html", ""]


However, with ony one image, nothing is happening, at least not that I can see:


var tros=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
tros[0]=["http://www.dolphin-academy.com/images/1x1.jpg", "", ""]

This is causing the error. And yes it occurs in Firefox and Chrome as well. You just aren't seeing any notification of it. To fix the error, get rid of this:


<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(tros, 260, 191, 0, 3000, 1, "R")

</script>