Giter Site home page Giter Site logo

Comments (7)

onokumus avatar onokumus commented on July 21, 2024

@LordLiverpool
Clean duplicate scripts and css files.
https://jsfiddle.net/m07zv7ro/embedded/result/

from metismenu.

MikeRuddock avatar MikeRuddock commented on July 21, 2024

Hello onokumus

Thank you for replying. I appreciate your help.

I removed the duplicate js and css files and it fixed the problem of the drop down menu not working, thank you!

I've managed to embed metismenu onto the navbar as a menu item.

However when I click on a menu item from metisMenu it closes.
When I click again on metisMenu the menu item I clicked is expanded.
How do I stop metisMenu from closing like this?

See here: http://michaelruddock.co.uk/metis/index.html

Thank very much

from metismenu.

MikeRuddock avatar MikeRuddock commented on July 21, 2024

Would stopPropagation work?

$('.panel-heading a').on('click',function(e){
if($(this).parents('.panel').children('.panel-collapse').hasClass('in')){
e.stopPropagation();
}
});

http://jsfiddle.net/dozoisch/SMT9D/45/

I am not sure where to add it?

from metismenu.

MikeRuddock avatar MikeRuddock commented on July 21, 2024

any luck?

from metismenu.

onokumus avatar onokumus commented on July 21, 2024

@LordLiverpool
https://jsfiddle.net/xhuhajy9/1/embedded/result/

from metismenu.

MikeRuddock avatar MikeRuddock commented on July 21, 2024

Thank you very much, that worked perfectly.

You can now offer metisMenu as either a sidebar menu or a drop down menu.

Cheers :-)

from metismenu.

onokumus avatar onokumus commented on July 21, 2024

πŸ˜„

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.