Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery tabs Re: jQuery tabs

#139764
Kuzyo
Participant

I remade my code and this works fine http://codepen.io/Kuzyo/pen/fHhik, but very interesting how works this solution, it stays riddle for me

if ($(“ul.tab-headers”).length)
$(“ul.tab-headers”).tabs(“.tab-panes > div”, {
current: “active”
});