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 not good.



– Frank

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.

dhtmlxtabbar_start.zip (952 Bytes)