Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
TreeMenu - Complex disappearing problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Thomas 'PointedEars' Lahn, post: 4888721"] | The Validator XML support has some limitations | <[URL]http://openjade.sourceforge.net/doc/xml.htm[/URL]>. Since you are sending XHTML as text/html when it should be application/xhtml+xml -- <[URL]http://www.hixie.ch/advocacy/xhtml[/URL]> -- you force Gecko's parser to do error correction since it uses the HTML parser instead of the XML parser then. IE 6, OTOH, since there is no stylesheet linked and it does not really know how to handle XHTML, displays the document element tree. I recommend to refrain from using XHTML where possible, i.e. where additional features provided by XML applications compared to HTML 4.01 Strict are not required. Where not possible, serve it with the proper MIME type instead of relying on error correction. Bear in mind that the latter makes it incompatible with current IE browsers. You mean `element.className'. ECMAScript implementations are case-sensitive. I am not sure if this is of help regarding your current problem, but there are more valid values for `display' than just `block' and `none'. CSS implicates that e.g. `td' elements have display:table-cell and `tr' elements have display:table-row initially which is why Gecko implements them this way while IE does not. You should have mentioned that the methods you are referring to are defined in a script file where the respective `script' element has been commented out (javascript/javascript.js). PointedEars [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
TreeMenu - Complex disappearing problem
Top