PDA

View Full Version : Ultimate Fade In Slideshow Does not work in IE (works in other browsers i.e. Safari)



dontehunt
07-25-2011, 05:09 PM
1) Script Title: Ultimate Fade-in slideshow (v2.4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:
Good day,
I am using the Ultimate Fade In Slideshow script. It works in Safari but does not work in IE - simply blank. The following is the Webpage error details:

Message: Unable to get value of the property '1': object is null or undefined
Line: 38
Char: 3
Code: 0
URI: http://www.marshallsmaintenanceco.com/Templates/fadeslideshow.js

Message: Unable to get value of the property '1': object is null or undefined
Line: 38
Char: 3
Code: 0
URI: http://www.marshallsmaintenanceco.com/Templates/fadeslideshow.js

Help! :) Many thanks!

jscheuer1
07-25-2011, 07:32 PM
No trailing comma allowed after the last element in the imagearray (get rid of the red comma in highlighted line - scroll the code block to see it). From the source code of page at marshallsmaintenanceco.com/index.html:


<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [850, 230], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["Images/Banner2.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
["Images/Banner3.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
["Images/Banner4.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
["Images/Banner5.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
//<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})

</script>

dontehunt
07-26-2011, 03:02 PM
No trailing comma allowed after the last element in the imagearray (get rid of the red comma in highlighted line - scroll the code block to see it). From the source code of page at marshallsmaintenanceco.com/index.html:


<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [850, 230], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["Images/Banner2.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
["Images/Banner3.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
["Images/Banner4.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
["Images/Banner5.jpg", "", "", "Professional Cleaning Services - Steam Cleaning of Carpets and Upholstery, Floor Maintenance (Scrubbing, Waxing, Polishing), Restroom Sanitation."], //["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
//<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})

</script>
Many, many thanks!!!! You are awesome!!! I sing your praises...I have heard you are the KING!!