So dig this -
I have a little countdown script that I modified. Here's my test:
http://truths.treehugger.com/test.php
It seems to work great on all browsers.
But on the main page - http://truths.treehugger.com/
My little clock dissapears in FireFox! Works great in Opera and IE. Although in Opera, there's a span problem on the seconds. Must be related to the FF problem, but I'm baffled.
Any thoughts?
Sounds like your different scripts conflict over variables with common names to me. If you figure out the variables they're fighting over, then you can rename them in one of the scripts to eliminate the conflict.
Ha! I caught it... it's a DOCtype thing... If I eliminate the DOCType all together then it works... I realize I shouldn't do that, but can you suggest a doctype that would allow this?
XHTML is case sensitive, and all element and attribute names must be in lower case. If you use an XHTML doctype declaration that puts some modern browsers into http://hsivonen.iki.fi/doctype/, then they will enforce the case sensitivity. You could use an HTML doctype (and convert your XHTML syntax to HTML syntax). Or you could fix the case mismatches and use an XHTML doctype. Although I don't recommend using XHTML unless there's a specific benefit to you in doing so.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)