Page 1 of 1

Dont know whats wrong i get 'Done, but with errors on page'

Posted: Mon Aug 11, 2008 11:21 am
by apg1985
Hi Guys,

For some reason i get the 'done but with errors on page' error. I've validated my code in DW but still get the error!

When i click the error icon it comes up with the show details box which says Line:383 / object doesnt support this property or method.

check out to see the error in bottom left in IE

Thanks

p.s this error doesnt display in firefox

Re: Dont know whats wrong i get 'Done, but with errors on page'

Posted: Mon Aug 11, 2008 4:34 pm
by kaszu
Only script with at least 383 lines is "slide/script/slide.js" and there on line 382 and 384 is call to function "this.gostop", but It's nowhere defined in slide.js, and undefined function could cause that error.

Re: Dont know whats wrong i get 'Done, but with errors on page'

Posted: Wed Aug 13, 2008 2:59 pm
by Alan01252
Possible ie issues:

1. you have no placed the word "var" when defining a variable.

E,g bob = 1 (wrong)
var bob = 1 (correct)

You only need to do this for the first instance.

2. An extra , some where. Firefox will ignore this, IE will throw an error.

3. It's trying to access an object from the DOM which hasn't been loaded yet

That's all I can think of for now, I'm sure there are more ;)