Ask questions and get good answers on jQuery

When I click on a title of my mb.menu. All Menu-links are shown on the bottom of my side. I don't find anything of it if I use the browsers source-text-function. So its somehow from js.

Sorry, I'm a newbie in javascript and jquery. Do you have a good hint what do check or to do?

Thank You!!! see screenshot: http://www.jan-kube.com/images/stories/spookylinks.jpg

asked Nov 29 '09 at 14:07

user-58%20%28google%29's gravatar image

user-58 (google)
111


That happens because you have to set a class "mbmenu" to the voices containers and set the display property to none via css, it should be done by the script itself but there's a bug at line 55:

$(".menu").hide();

instead of:

$(".mbmenu").hide();

Anyway, setting the display via CSS prevents the unpleasant display before document load of the menu voices.

answered Nov 30 '09 at 21:57

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

Asked: Nov 29 '09 at 14:07

Seen: 154 times

Last updated: Jan 25 '10 at 23:29

Related questions

jQuery main site - Matteo Bicocchi