Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with I18N navigation menu
#9
(2017-02-12, 03:59:59)BF68 Wrote: Hy Tyblitz,

Unfortunately your function does not really what I expect as it opens all submenues instantly and not only when someone clicks on the menu entry. Do you have any hint about how to modify your code to get the thing done?

Hi BF68,

This function only generates the navigation structure in the HTML. The click/hover/whatever-you-want behavior is entirely up to you (this is a function, not a plugin). In the example site I provided, it's done with CSS :hover (on mobile, this will open on click), but you can use Javascript/jQuery to make it behave as you wish. You should know some basic CSS/JS, or you can try a jQuery plugin like this one.
Reply


Messages In This Thread
Problem with I18N navigation menu - by BF68 - 2017-02-05, 17:24:29
RE: Problem with I18N navigation menu - by Bigin - 2017-02-05, 19:30:45
RE: Problem with I18N navigation menu - by BF68 - 2017-02-05, 19:58:50
RE: Problem with I18N navigation menu - by BF68 - 2017-02-05, 20:09:11
RE: Problem with I18N navigation menu - by BF68 - 2017-02-05, 20:12:26
RE: Problem with I18N navigation menu - by BF68 - 2017-02-06, 07:03:43
RE: Problem with I18N navigation menu - by BF68 - 2017-02-12, 03:59:59
RE: Problem with I18N navigation menu - by Tyblitz - 2017-02-15, 06:59:47



Users browsing this thread: 1 Guest(s)