Home
> Bug report
> Topic
IE 8 script Error
Posted by berad
IE 8 script Error June 22, 2010 03:48AM | Registered: 13 years ago Posts: 5 |
Hey guys
When testing my slideshows - IE8 has picked up this 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)
Timestamp: Tue, 22 Jun 2010 03:42:30 UTC
Message: Object required
Line: 107
Char: 6
Code: 0
The script on line 107 is
var contentHeight = contentElement.offsetHeight;
I notice contentElement has been declared but offsetHeight has not been included anywhere else in the script function
is this important ?? or have you come across this error before
thanks,
Brad
When testing my slideshows - IE8 has picked up this 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)
Timestamp: Tue, 22 Jun 2010 03:42:30 UTC
Message: Object required
Line: 107
Char: 6
Code: 0
The script on line 107 is
var contentHeight = contentElement.offsetHeight;
I notice contentElement has been declared but offsetHeight has not been included anywhere else in the script function
is this important ?? or have you come across this error before
thanks,
Brad
Re: IE 8 script Error June 22, 2010 08:44AM | Admin Registered: 13 years ago Posts: 248 |
Re: IE 8 script Error June 22, 2010 09:29AM | Registered: 13 years ago Posts: 5 |
Thanks guys appreciate your time on this - being a newbie I'm not sure how to Open a Ticket?
The above I.E. 8 warning was from this URL
[www.wizardsofozband.com]
Two other pages that have slideshows also have I.E.8 warnings
[www.wizardsofozband.com]
[www.wizardsofozband.com]
let me know what else you need
cheers,
Brad
The above I.E. 8 warning was from this URL
[www.wizardsofozband.com]
Two other pages that have slideshows also have I.E.8 warnings
[www.wizardsofozband.com]
[www.wizardsofozband.com]
let me know what else you need
cheers,
Brad
Re: IE 8 script Error June 22, 2010 02:38PM | Admin Registered: 13 years ago Posts: 248 |
Re: IE 8 script Error June 22, 2010 02:43PM | Admin Registered: 13 years ago Posts: 248 |
Re: IE 8 script Error June 23, 2010 05:05AM | Registered: 13 years ago Posts: 5 |
Re: IE 8 script Error June 23, 2010 01:39PM | Admin Registered: 13 years ago Posts: 248 |
That's correct,it is included but is not related to the SlideShowBox embed feature, the code just align some objects that you don't have. You can use the embed feature by signing in in the online panel(http://www.slideshowbox.com/online-panel.html).
You took our java script sample code and add it to your file. That's not correct, the code is made to work only for our samples. Anyway if you want to use our code you need to change this function getElementByID("content") with getElementByID("mainContent") function.
You took our java script sample code and add it to your file. That's not correct, the code is made to work only for our samples. Anyway if you want to use our code you need to change this function getElementByID("content") with getElementByID("mainContent") function.
Re: IE 8 script Error June 23, 2010 11:01PM | Registered: 13 years ago Posts: 5 |
I really appreciate your help Kneo
That's a very useful feature-set you mentioned
I actually wasn't sure whether to use the sample scripts as I would usually use the Dreamweaver automatic embed feature
BTW your last advice on the code worked perfectly and the warning has now gone
ah well always learning
cheers
That's a very useful feature-set you mentioned
I actually wasn't sure whether to use the sample scripts as I would usually use the Dreamweaver automatic embed feature
BTW your last advice on the code worked perfectly and the warning has now gone
ah well always learning
cheers
Sorry, only registered users may post in this forum.