Jump to content


Photo
- - - - -

dropdown doesn't toggle closed when it should

toggle navbar

  • Please log in to reply
8 replies to this topic

#1 mrtripper

mrtripper

    Member

  • Members
  • 22 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 23 May 2013 - 09:13 PM

Hi,

 

My navbar at the top is fixed and use a dropdown but which doesn't get closed as it normally should. It will only toggle open and closed when the toggle itself is pressed, not when an item in the menu is pressed or the user clicks outside the menu (both of these should close the dropdown) ?

Is there a bug or do i add something else.

 

Thank you

 

I use latest pagelines version

 

My website is : www.mrtripper.com

 



#2 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 23 May 2013 - 09:34 PM

Hi there,

 

When I view your site I get the navbar closing as soon as I roll off of the menu on to the page. Which browser are you using?

 

Please Login or Register to see this Hidden Content



#3 mrtripper

mrtripper

    Member

  • Members
  • 22 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 23 May 2013 - 09:57 PM

Hi James, of  course it works excepting on submenu " which", when you open it, all the sub-submenus are opening on the right at the same time instead of one by one. And of course they never close themselves, when you go back on the left. Imagine if i have more than one submenu after "which", it becomes a big mess and occupy all the screen :-(

 

FYI i use firefox 21.0



#4 mrtripper

mrtripper

    Member

  • Members
  • 22 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 23 May 2013 - 10:00 PM

and on an Ipad, it's impossible to select one of the submenu on the right, all is going to close as soon as you're trying to reach there.



#5 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 23 May 2013 - 10:35 PM

Which nav are you using? The standard navbar only allows the parent, child and grandchild links. I'm not able to recreate your setup for the menu.



#6 mrtripper

mrtripper

    Member

  • Members
  • 22 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 23 May 2013 - 10:40 PM

I tried every nav to achieve this but i have to confess I finally chose the fixed nabar where i changed the depth from 2 to 6 !



#7 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 23 May 2013 - 10:51 PM

Ah ok, in that case that looks like the cause. The navbar css is triggered for .dropdown and .dropdown-submenu. So thats the menu down and then the menu out to the side, there's no class for dropdown submenu submenu etc. So if you've changed the depth the css is triggering all of those .dropdown submenus at once when the .dropdown class is hovered over.



#8 mrtripper

mrtripper

    Member

  • Members
  • 22 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 23 May 2013 - 10:55 PM

So is there a fixed bar i can use a multilevel dropdown menu ? I tried Crackbar as well but it's limited to 2 levels! Is there a way to achieve my goal ? I passed so much time trying to find something convenient....Any solution will be very welcome !



#9 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 23 May 2013 - 11:26 PM

Looking through our store sections they only seem to go down to grandchild in the dropdowns nothing further.

 

I thought you might be able to do it manually using css and the menu Id's instead, so when one id is hovered over it triggers the next item in the submenu but that doesn't seem to wrok from what I've tested.

 

I think if you really want to get that working, the best option would be to copy and code the section manually as a child section, adding in the extra classes. Or hiring one of the pros (www.pagelines.com/pros) to do it.