Skip to content
Advertisement

Tag: menu

Why is the site navigation collapsing so fast?

When you look at the menu of this website: https://www.eurotuin.be/ And when you try to hover it, it collapses really fast. see the menu here I’ve tried experimenting with the following code, but it doesn’t seem to work: This one has same effect: Answer Two things : How transition would have any effect if duration is 0s (I’m no expert,

How to make a dropdown menu transition with CSS?

I have created a responsive navigation-bar/menu but I want it to appear with a sliding animation from the top to the bottom when the needed button is presed. The menu does appear on itself but it completely ignores the transitioni have set it to execute. I tried multiple methods – using webkit library, using the change in height method, etc.

How to handle event element in container?

I want to click btnToggle, Navigation will run but I don’t know why this code sometimes is successful, sometimes is unsuccessful. Help me please, thanks all Answer You’re pretty close. Because you attached the event listener to document, your callback function will actually run if you click anywhere on the page. And because browsers have something called event bubbling, that

Full screen overlay menu toggle

I want to create a full screen overlay menu. I am not able to close the menu on anchor click eg. if we click on Home. It scrolls down to the section but does not close the overlay. I have tried adding some jquery but I am not able to do it. I have tried to toggle the menus as

Javascript: multi level menu slide on button click

Could you help me with this code? I would like to make a menu slide with multi level but the element “slide-panel” is not showing up… Answer I’m not a big fan of mixing pure javascript with jquery .. so the next code is in jquery .. Also I prefer to use add/remove/toggleClass instead of hide/show() Note: The problem when

Error with menu button toggle css js html

I would like to use part of this code from codepen on my website but the menu button does not currently work. I do not know what the problem is so I have not tried anything to solve it. The code works flawlessly on codepen but stops working when use in visual studio. The HTML code is: The CSS: And

Add Active Navigation Class Based on URL

I’m trying to add an active class (i.e. class=”active”) to the appropriate menu list item based upon the page it is on once the page loads. Below is my menu as it stands right now. I’ve tried every snippet of code I could find in this regard and nothing works. So, can someone please explain simply where and how to

Best Javascript drop-down menu? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Advertisement