javascript - Semantic-UI tab history activates tabs -
i'm using menu object in semantic , if set tab history state true, load page content tab activated, despite none of tabs being active begin with. full context source big cumbersome found here. can see, loads first "about" tab open, despite not containing active
class in tab content's code:
<div class="ui tab segment" data-tab="about">
some relevant bits:
readystate function:
$(document).ready(function(){ $('.links.menu .item').tab({ history : true, historytype : 'hash', }); $('.links.menu').transition({ animation : 'fade down', duration : '1s' }); });
Comments
Post a Comment