Results 1 to 4 of 4

Thread: Ultimate Fade-in slideshow (v1.5) - this.theimages[picindex] has no properties

  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Ultimate Fade-in slideshow (v1.5) - this.theimages[picindex] has no properties

    Im using the Ultimate Fade-in slideshow (v1.5) script on my site at http://www.technicomesc.co.uk and get the following error...

    Error: this.theimages[picindex] has no properties
    Source File: http://www.technicomesc.co.uk/slideshow.js
    Line: 96

    This is the error shown in FF Javascript console but i'm also getting an error in IE6 which is...

    Error: 'this.theimages[...].1' is null or not an object

    Can anyone show me how to correct this error?

    My js files are located here...
    http://www.technicomesc.co.uk/slideshow.js
    http://www.technicomesc.co.uk/slideshow2.js

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, your second array is not defined (all of its 'entries' are for the fadimages array). I am at a loss as to what you are trying to do however. My best guess is that you just want one slide show, the one that is showing. If that is the case, remove this:

    Code:
    new fadeshow(fadeimages2, 100, 75, 1, 4000, 0)
    from slideshow2.js

    That's all you need to do but you can also get rid of this:

    Code:
    var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["dooraccess.gif", "door_access.shtml", "_new", "Door Access"] //plain image syntax
    fadeimages[1]=["dooraccess2.gif", "door_access.shtml", "_new", "Door Access"] //image with link syntax
    fadeimages[2]=["house.gif", "intruder_alarms.shtml", "_new", "Intruder Alarms"] //image with link and target syntax
    fadeimages[3]=["alarm.gif", "intruder_alarms.shtml", "_new", "Intruder Alarms"] //image with link and target syntax
    fadeimages[4]=["keypad.gif", "intruder_alarms.shtml", "_new", "Intruder Alarms"] //image with link and target syntax
    from slideshow.js
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John that worked. Your correct i only wanted to show the one slideshow. I guess my error was in not removing the code for the second array from the example?

    Thanks again, much appreciated.

    Rick

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by rickh
    Thanks John that worked. Your correct i only wanted to show the one slideshow. I guess my error was in not removing the code for the second array from the example?

    Thanks again, much appreciated.

    Rick
    You got it! You're welcome.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •