Git Product home page Git Product logo

Comments (4)

 avatar commented on August 20, 2024

I've just added: window.location.hash = 'tab-1'; which rectifies this issue, or is there a cleaner way?

Thanks

from jquery-easytabs.

 avatar commented on August 20, 2024

Actually that doesn't work at all because if I had a link of a sub-tab in an email on window load it would go straight to #home instead of the actual sub-tab.

from jquery-easytabs.

mastersf avatar mastersf commented on August 20, 2024

Steve, thanks so much for adding this new feature. Incredible! And you did it so fast. Very appreciated!

With this new feature, however, the functionality of the script is entirely broken, for me. As James says, the page doesn't load with the first tab being active and I can't seem to set an li to be the defaultTab. Not sure what's going on. Also, if I don't link directly with a hash in the url to active a url the script doesn't even work when on the page and clicking the different tabs. Hmm

from jquery-easytabs.

JangoSteve avatar JangoSteve commented on August 20, 2024

Oops yeah, that was definitely a bug. I just fixed this (hopefully) in this commit.

from jquery-easytabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.