Odd placement requirement.
This really isn't a problem, more of a perculiarity. The code only works in Mozilla and Safari if the tags to include the library scripts are at the VERY top of the page, and nowhere else. I've tried putting them lower in the page, or inside the <head> tag, or even just below the <html> tag, but they all make the code dysfunctional.
Does anyone know why that is?
You can only have one onload event....
Yeah, I guess that makes sense.
I only figured out what the problem was by chance. If I hadn't moved the script tags to the top I never would have figured it out.
Did you fix the problem?
Or merely ignore the underlying problem because removing the externals scripts from the flow of the document and placing them above/outside the document appears to fix the problem....
Either way, like I said, putting it at the top of the page isn't a problem for me.
Last edited by non_zero; 09-25-2004 at 06:44 AM.
Just figured out the problem. Apparently it doesn't work with an XHTML doctype.
That's why it worked when I placed the script tags before declaring the doctype.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)