Cannot get "Modern" style to work with Tabbar

I cannot seem to get the modern style to work. What am I doing wrong?









    Initialization from HTML









    

    

    



    

    





Tab1


Tab2


Tab3


Tab4








Thanks!

a) When you init code from HTML layout , you need not duplicate init from js script
b) setStyle can be reflected as tabstyle attribute, please check updated html file.

updated.zip (466 Bytes)