Giter Site home page Giter Site logo

Comments (6)

onokumus avatar onokumus commented on July 2, 2024

@TWAD

I think, I fixed it.

from metismenu.

andemx avatar andemx commented on July 2, 2024

work really great :)

from metismenu.

simonckenyon avatar simonckenyon commented on July 2, 2024

i have just tested today (10th oct 2014) http://startbootstrap.com/templates/sb-admin-2/index.html on IE8 and the left menus do not work. they still have the error were they get ou of sync as described above.

is there a fix for this?

from metismenu.

nandapop avatar nandapop commented on July 2, 2024

Hello
I have already updated metisMenu and still doesn't work on IE 8 =(
Thanks

from metismenu.

carloscolombo avatar carloscolombo commented on July 2, 2024

#32

Okay so I did a little research and found out this little gem:

This problem is not related to IE : this will happen on any browser that doesn't support transitions (or if it is deactivated).

That's because you need to initialize the plugin first. If you don't, it both initializes and toggles the collapse on the first click : the default initialization toggles the collapse (doc), and without the transitions, the collapse is toggled twice in a row without being seen.

Follow the link for more detail.

http://stackoverflow.com/a/12787593/1211936

In the metisMenu.js, right before the click event I added the following and the issue was fixed for me.

// added code
$this.find("li").find("ul").collapse({toggle: false});

// the click listener
$this.find("li").has("ul").children("a").on("click", function (e) {
     // ...
});

Hope that helps anyone with the same issue!

from metismenu.

nandapop avatar nandapop commented on July 2, 2024

Von meinem iPad gesendet

Am 16.12.2014 um 20:19 schrieb carloscolombo [email protected]:

#32

Okay so I did a little research and found out this little gem:

This problem is not related to IE : this will happen on any browser that doesn't support transitions (or if it is deactivated).

That's because you need to initialize the plugin first. If you don't, it both initializes and toggles the collapse on the first click : the default initialization toggles the collapse (doc), and without the transitions, the collapse is toggled twice in a row without being seen.

Follow the link for more detail.

http://stackoverflow.com/a/12787593/1211936

In the metisMenu.js, right before the click event I added the following and the issue was fixed for me.

// added code
$this.find("li").find("ul").collapse({toggle: false});

// the click listener
$this.find("li").has("ul").children("a").on("click", function (e) {
// ...
});

Hope that helps anyone with the same issue!


Reply to this email directly or view it on GitHub.

from metismenu.

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.