Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Frank Lawlor on Nov 16, 2007 20:00
open dhtmlx forum
Null tabs appear on IE

Earlier I asked what could be causing null tabs t oshow up in IE.

I finally, after a lot of work, found the problem.

If there are HTML comments within the scope of the tabbar div it causes the problem. E.g.

<!-- this is a comment -->

This is not good.

-- Frank
Answer posted on Nov 19, 2007 02:32
While initialization tabbar from HTML any child tag inside of tabbar container will be converted in separate tab.
It works as expected in most cases , but IE recognize HTML comments as normal tag (with name "!"), so it also included in tab-tags, but because it has not any attributes defined - null tab appears.

To resolve issue you can use attached js file instead of original one - it will ignore HTML comment, but please beware that it still convert any found tag into tab.
Attachments (1)