Page 1 of 1

[SOLVED] bMenu generated menu shows and disappears

Posted: Sun Feb 21, 2010 6:37 am
by theredspecial
Hi all,

at www.fotobrammeijer.nl I included a bMenu to create a flyout menu for the 2nd-level pages. I am no wizzkid, so I saw this an easy option to generate a menu that fits our desires.

However, it shows and once you hover your mouse over this menu, it disappears. I am not able to solve the issue for some time now, any suggestions?

Thx
Robert

PS I know the menu doesn't look the way it should, but that I am able to solve (I think)

Re: bMenu generated menu shows and disappears

Posted: Sun Feb 21, 2010 8:12 am
by bterkuile
Try to make the menu indicator a jQuery selector to your menu. In this case try to replace #main_menu with #primary_nav

Re: bMenu generated menu shows and disappears

Posted: Sun Feb 21, 2010 10:19 am
by theredspecial
by means of Firebug, I learned that some code is added when I hover my mouse over the menu.
initially it says:

Code: Select all

<ul id="primary-nav">
as a result of hovering I read:

Code: Select all

<ul id="primary-nav" style="display: none;">
Can't quite figure out why... - update -
Apparently I can :) I noticed the primary-nav was duplicated and removing it solved the disappearing. now i receive an error message* and bMenu doesn't do what it's supposed to generate (a fly-out menu)... subject to further scrutiny thus.

* bMenu error: there is no menu specified at #primary-nav

Re: bMenu generated menu shows and disappears

Posted: Sun Feb 21, 2010 11:42 am
by bterkuile
Sorry my mistake. It should be #primary-nav in stead of #primary_nav (No underscore)

Re: bMenu generated menu shows and disappears

Posted: Sun Feb 21, 2010 2:11 pm
by theredspecial
that did it, still some issues, but i should be able to solve those, now that i know the problem

thanks