Forums

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

Home Forums JavaScript jQuery tabs

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45724
    Kuzyo
    Participant

    Hey guys
    I want to implement jQuery tabs in a different way than default example(through adding id ), found this solution http://codepen.io/Kuzyo/pen/fHhik, but this doesn’t work. Could someone to help find mistake?

    Thanks.

    #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”
    });

    #139852
    Kuzyo
    Participant

    > I’m not familiar with jQuery UI…

    I always thought knowing how to use jQ UI is a very important, did you write widgets from scratch?


    @CrocoDillon
    thanks for your help

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.