quote:
Originally posted by WDZ
quote:
Originally posted by CookieRevised
B) If there was an error in javascript, the errorline would be from the script, and there aren't 339 lines in any script used when viewing threads.
MyBB's HTML output for a thread can have that many lines though... what if the error occurs when my resize function is called from the <img> tag?
A) There is nothing wrong with the calling of the Javascript routine (onload="imgresize(this);").
B) If there was an error, then it also would happen on the first occurence of the calling, which is only after +-100 lines of HTML-code.
C) And an error in javascript gives a linenumber in the script. And because the script is loaded after a few lines, it can't be +300...
quote:
Originally posted by WDZ
quote:
Originally posted by CookieRevised
There is nothing wrong with the HTML of the threads...
I'm sure if you tried the W3C validator on it, there would be hundreds of errors...
Yeah... but W3C is also very strict and browsers are forgiving. The errors have nohing todo with the runtime error mentionned.