Tabbar skin in HTML

I have a tabbar that in being initialized via HTML markup. I need to change the skin from the default to “modern”. My previous solution was to add dhtmlx.skin = "modern"; to the page, but it seemed to interfere with my slider component on the same page. Taking it out seemed to be the only fix to get both on the same page.

My current approach is to add an oninit function to the tabbar, but after the page loads I am still seeing the default skin. Only after clicking on a tab does it change to the “modern” skin.

Please help.

You may set tabstyle=“modern” in the tabbar tag:

...

Alexandra,

I had tried that and didn’t think it worked. After trying it again it seemed to take a couple refreshes to take effect. Either I typed something wrong or is a caching issue. Either way, it appears to be working now. Thanks!