Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Ultimate Fade-in slideshow doesn't work with IE7

  1. #21
    Join Date
    Apr 2007
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    thanks, john.

    here's the page: http://www.coloradospringslofts.com/...lofts-new.html

    i had a feeling it was something like that, i just can't figure out what i need to fix!

  2. #22
    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

    Yes, that's what it was, use this instead:

    Code:
          <td><div align="center"><a href="http://www.newhomeconnection.com/homes.php?id=512">Reference #880-01-000</a> <br />
            <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 200, 134, 0, 3000, 1, "R")
    </script><br />
            <a href="http://www.newhomeconnection.com/homes.php?id=512">2 Bedrooms - 2 Bathrooms<br />
            Starting at $505,000</a></div></td>
          <td><div align="center"><a href="http://www.newhomeconnection.com/homes.php?id=511">Reference #880-02-000</a> <br />
    	 <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages2, 200, 134, 0, 3000, 1, "R")
    </script><br />
            <a href="http://www.newhomeconnection.com/homes.php?id=511">4 Bedrooms - 2 Bathrooms<br />
          Starting at $615,000</a></div></td>
    Scroll the code block to see all changes. If you want the shows also to be linked, configure them here:

    Code:
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["images/lofts/880-01-000/1.jpg", "http://www.newhomeconnection.com/homes.php?id=512", ""] //image with link syntax
    fadeimages[1]=["images/lofts/880-01-000/2.jpg", "http://www.newhomeconnection.com/homes.php?id=512", ""] //image with link syntax
    fadeimages[2]=["images/lofts/880-01-000/3.jpg", "http://www.newhomeconnection.com/homes.php?id=512", ""] //image with link syntax
     
    var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages2[0]=["images/lofts/880-02-000/1.jpg", "http://www.newhomeconnection.com/homes.php?id=511", ""] //image with link syntax
    fadeimages2[1]=["images/lofts/880-02-000/2.jpg", "http://www.newhomeconnection.com/homes.php?id=511", ""] //image with link syntax
    fadeimages2[2]=["images/lofts/880-02-000/3.jpg", "http://www.newhomeconnection.com/homes.php?id=511", ""] //image with link syntax
     
    var fadebgcolor="white"
    - John
    ________________________

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

  3. #23
    Join Date
    Apr 2007
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    thank you so much! i tried messing around with those links, but i guess i just didn't mess around with the right part.

    thanks again!

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

    Default

    hi, great script!

    I have a similar problem using it in IE7. The slideshow works fine until the page is unloaded (ie. refreshing, moving to a different page or closing IE7)... at which point I get this error message;

    'undefined' is null or not an object
    at line 55 character 143

    I've tracked it down to this line in the jquery.min code;

    if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefaul t();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),

    the bit at character 143 is;
    d=e[a.type]
    I've highlighted it in the code above

    I've managed to get round this problem by wrapping the problem bit of code in a try...catch, ie;
    try{d=e[a.type]} catch(err){}

    same as the other posts here... fine in IE8, Firefox etc

    the page in question is;
    http://www.snh.gov.uk/

    I've managed a workaround but I'd be cursious to know if there is a better fix.

    thanks in advance,

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

    I've closed this thread because it's so old and it was brought to my attention that a spam post had been added to it.

    However, in answer to movealpha's question, you could try updating to a more recent version of jQuery. That often solves issues like this. But first make sure you don't have any invalid HTML on the page.

    If you or anyone else wants more help on this topic, please start a new thread.
    - 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
  •