Results 1 to 6 of 6

Thread: Fadeslideshow getting undefined errors in IE works in Firefox

  1. #1
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fadeslideshow getting undefined errors in IE works in Firefox

    1) Script Title: Fadeslideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: get the following error

    Message: Object doesn't support this property or method
    Line: 44
    Char: 2
    Code: 0
    URI: http://maineflyfish.com/Scripts/fadeslideshow.js

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    
    <script type="text/javascript" src="Scripts/fadeslideshow.js">
    
    /***********************************************
    * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    
    </script>
    
    <script type="text/javascript">
    
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [300, 171], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["http://www.maineflyfish.com/hatches/caddis.jpg", "http://www.maineflyfish.com/hatches/caddisfly/page1.htm", "", "Caddis: Click to read Caddis Hatch report"],
    		["http://www.maineflyfish.com/hatches/dragonfly.jpg", "http://www.maineflyfish.com/hatches/dragonfly/page1.htm", "", "Dragonfly: Click to read Dragonfly Hatch report"],
    		["http://www.maineflyfish.com/hatches/mayfly.jpg", "http://www.maineflyfish.com/hatches/mayfly/page1.htm", "", "Mayfly: Click to read Mayfly Hatch report"],
    		["http://www.maineflyfish.com/hatches/midge.jpg", "http://www.maineflyfish.com/hatches/midges/page1.htm", "", "Midge: Click to read Midge Hatch report"],
                    ["http://www.maineflyfish.com/hatches/newengland.jpg", "http://www.maineflyfish.com/hatches/newenglandhatches/page1.htm", "", "New England: Click to read New England Hatch report"],
    		["http://www.maineflyfish.com/hatches/stonefly.jpg", "http://www.maineflyfish.com/hatches/stonefly/page1.htm", "", "Stonefly: Click to read Stonefly Hatch report"] 
    	],
    	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>

  2. #2
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry, the post title should read "Object doesn't support this property or method" instead of undefined. I was looking up a different error when I wrote it.

    Anyone have any suggestions?

  3. #3
    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

    The page is a bit of a mess code wise. I'd try changing this (from the page's source code):

    Code:
    <!--[if lte IE 7]>
    	<link rel="stylesheet" type="text/css" title='Main' media="screen" href="http://www.maineflyfish.com/forums/public/style_css/css_1/ipb_ie.css" />
    <![endif]-->
    		<!--<meta http-equiv="X-UA-Compatible" content="IE=7" />-->
    to:

    Code:
    		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <!--[if lte IE 7]>
    	<link rel="stylesheet" type="text/css" title='Main' media="screen" href="http://www.maineflyfish.com/forums/public/style_css/css_1/ipb_ie.css" />
    <![endif]-->
    and placing it all before the first script tag on the page. With a bit of luck that should take care of it.
    - John
    ________________________

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

  4. #4
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John, thanks for that quick response. I did that and moved it to the top by still no luck.

  5. #5
    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

    Works here in IE 8 on:

    http://maineflyfish.com/

    Perhaps you need to clear your IE 8 browser's cache.
    - John
    ________________________

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

  6. #6
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks! I did clear my cache just now and it looks like it is working! Thanks for your help.

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
  •