Menu icon Foundation

Developer | Montpellier, France

My Posts

  • 1
    Reply
  • Still a bug with dropdown....

    By Laurent P

    dropdown

    Hi, Still troubles with f-dropdown class... Now when we open the 4th dropdown and we move a bit fast the mouse to the third line the 4th dropdown still opened when the third menu is opening.... And still the problem when I click on a link the men... (continued)

    Last Reply by Rafi Benkual over 5 years ago




My Comments

Laurent P commented on Laurent P's post over 5 years

The only thing I want is to close a dropdown as soon as a link was clicked....

Laurent P commented on Laurent P's post over 5 years

Tried with

Chrome 31.0.1650.63 m
Canary Chrome 34.0.1784.0 canary
FF 26.0
IE 10.0.9200.16750

Still buggy with all browsers

Laurent P commented on Laurent P's post over 5 years

Hi n thanx for your help

I just want to use the dropdown menu as a dropdown menu should work... when we click on the link the box is closed and the link is called EVEN if it"s a # (which is a link :) ).. and call the callbacks functions...

Yes I know that a # link but I just need a link to use the jquery click event and close dropdown box.

I found a way to use the menu but it's horrible.

I set a fake url in the and the jquery code look like :

 $('.setallunread').on('click', function(evt) {
    evt.preventDefault();
......
// Hide the listbox
    $(this).closest('ul').removeClass('open').css('left', '-9999px');
  });

Laurent P commented on Laurent P's post over 5 years

Hi James,

Yes for example if I want to redefine the row-width value in the _grid.scss, I'll do for example:

$row-width: 100% !default;

But as soon as I'll update foundation the value will return to

$row-width: rem-calc(1000) !default;

Posts Followed


Following

    No Content

Followers

My Posts




My Comments

You commented on Laurent P's post over 5 years

The only thing I want is to close a dropdown as soon as a link was clicked....

You commented on Laurent P's post over 5 years

Tried with

Chrome 31.0.1650.63 m
Canary Chrome 34.0.1784.0 canary
FF 26.0
IE 10.0.9200.16750

Still buggy with all browsers

You commented on Laurent P's post over 5 years

Hi n thanx for your help

I just want to use the dropdown menu as a dropdown menu should work... when we click on the link the box is closed and the link is called EVEN if it"s a # (which is a link :) ).. and call the callbacks functions...

Yes I know that a # link but I just need a link to use the jquery click event and close dropdown box.

I found a way to use the menu but it's horrible.

I set a fake url in the and the jquery code look like :

 $('.setallunread').on('click', function(evt) {
    evt.preventDefault();
......
// Hide the listbox
    $(this).closest('ul').removeClass('open').css('left', '-9999px');
  });

You commented on Laurent P's post over 5 years

Hi James,

Yes for example if I want to redefine the row-width value in the _grid.scss, I'll do for example:

$row-width: 100% !default;

But as soon as I'll update foundation the value will return to

$row-width: rem-calc(1000) !default;

Posts Followed


Following

  • No Content

Followers

  • No Content