PDA

View Full Version : Ultimate Fade Errors IE8



Rokoshiru
02-16-2010, 07:24 PM
IE 8 is having problems displaying the images and loads saying "Done but with errors on page".

And under the errors listed, I have the following error:


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Tue, 16 Feb 2010 19:19:58 UTC


Message: Object doesn't support this property or method
Line: 4821
Char: 5
Code: 0
URI: http://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js


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

But if anyone has any suggestions on this error, they would be greatly appreciated.

jscheuer1
02-17-2010, 09:32 AM
Sounds like a conflict with prototype.js. If you don't need prototype.js for that page, remove its external script tag and any other external script tags you may have for prototype related scripts. If you do need prototype, make sure that the external script tags for jQuery and fadeslideshow.js come before those for prototype and any other prototype related script tags.

If you want more help:

Please post a link to a page on your site that contains the problematic code so we can check it out.

admod
06-19-2012, 06:59 AM
Hi Sir,
I have too same problem in IE8 , but it work perfect in FF 12 . I am not use
prototype any way , do you please advise a solution in IE8.

Thanks
Anes :rolleyes:

jscheuer1
06-19-2012, 02:29 PM
If you don't have prototype, you don't have the same problem.

One thing you have to be extra careful of in IE 8 is the imagearray. There cannot be a trailing comma after the last entry:


var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "#what", "", "<a style='color: #fff;' href='http://www.google.com/'>Nothing</a> beats relaxing next to the pool when the weather is hot."],
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."],
["http://i30.tinypic.com/531q3n.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false},
persist: true, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})

If that's not the problem, and/or you want more help:

Please start a new thread for a new question.