javascriptvoid in the first menu level
1 year 11 months ago #66596
by ernst
javascriptvoid in the first menu level was created by ernst
Good day
I have the following problem on a relatively large website (bobanek.eu)
what happens is that after clicking on the menu for a while, all the 1st level links change to javscriptvoid(0). It starts to behave as if it is a touch device, after clicking it expands the submenu and the links are already fine there.
Clicking on the sub-menu fixes it for a period of time even for the first level.
No pattern of behavior can be traced in which this occurs.
Can you advise me what to do with it?
I have the latest version of maximenu
I have the following problem on a relatively large website (bobanek.eu)
what happens is that after clicking on the menu for a while, all the 1st level links change to javscriptvoid(0). It starts to behave as if it is a touch device, after clicking it expands the submenu and the links are already fine there.
Clicking on the sub-menu fixes it for a period of time even for the first level.
No pattern of behavior can be traced in which this occurs.
Can you advise me what to do with it?
I have the latest version of maximenu
Please Log in or Create an account to join the conversation.
1 year 11 months ago #66597
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic javascriptvoid in the first menu level
Hi
this is because you have all level 1 items as parent, and the submenus to open on click
you can not open the submensu and redirect the page in the same time
if you want you can test a version here
forum.joomlack.fr/index.php/4-maximenu-c...ur-menu-parent#65571
in the effects options >> click >> enable the toggler icon
this will make the arrow clickable and keep the menu link. But you will need to show the arrows in yoru menu
CEd
PS : this version is not official because I'm curretly working on the V10 of Maximenu CK and can not make any update on the V9
this is because you have all level 1 items as parent, and the submenus to open on click
you can not open the submensu and redirect the page in the same time
if you want you can test a version here
forum.joomlack.fr/index.php/4-maximenu-c...ur-menu-parent#65571
in the effects options >> click >> enable the toggler icon
this will make the arrow clickable and keep the menu link. But you will need to show the arrows in yoru menu
CEd
PS : this version is not official because I'm curretly working on the V10 of Maximenu CK and can not make any update on the V9
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 year 11 months ago #66601
by ernst
Replied by ernst on topic javascriptvoid in the first menu level
but I have it set so that the submenu is opened by hovering the mouse.
it just randomly happens that the submenu doesn't open and only opens when clicked. Then the clique from the first level is not active
it just randomly happens that the submenu doesn't open and only opens when clicked. Then the clique from the first level is not active
Please Log in or Create an account to join the conversation.
1 year 11 months ago #66604
by ced1870
Maximenu CK automatically switches to the click method if the user agent has been detected as touch device, so if you have something in your page that changes the user agent, this could be the cause
Joomlack Webmaster and Developer
Replied by ced1870 on topic javascriptvoid in the first menu level
the problem occurs on the home page. I think that you have a problem with another extension that interfers with the "mobile detection"I have it set so that the submenu is opened by hovering the mouse
Maximenu CK automatically switches to the click method if the user agent has been detected as touch device, so if you have something in your page that changes the user agent, this could be the cause
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 year 11 months ago #66605
by ernst
Replied by ernst on topic javascriptvoid in the first menu level
unfortunately not only on the home page.
It happens randomly on all pages, this behavior cannot be simulated.
I also thought about switching to touch behavior, but I can't find anything like that.
Can you help me with this somehow?
It happens randomly on all pages, this behavior cannot be simulated.
I also thought about switching to touch behavior, but I can't find anything like that.
Can you help me with this somehow?
Please Log in or Create an account to join the conversation.
1 year 11 months ago #66606
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic javascriptvoid in the first menu level
go in the module file
modules/mod_maximenuck
and comment the lines 135+136 like that
check if the problem is gone
modules/mod_maximenuck
and comment the lines 135+136 like that
Code:
// $behavior = 'click';
// $ismobile = '1';
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.229 seconds