Results 1 to 3 of 3

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

  1. #1
    Join Date
    Jul 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade In Slideshow Does not work in IE (works in other browsers i.e. Safari)

    1) Script Title: Ultimate Fade-in slideshow (v2.4)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.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.co...deslideshow.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.co...deslideshow.js

    Help! Many thanks!

  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

    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:

    Code:
    <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>
    - John
    ________________________

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

  3. #3
    Join Date
    Jul 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    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:

    Code:
    <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!!

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
  •