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!
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!
Yes, that's what it was, use this instead:
Scroll the code block to see all changes. If you want the shows also to be linked, configure them here: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>
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
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!
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,
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