Close the menù with tag <a href>

More
7 years 2 months ago #44779 by moreno
Hi,
I need to add the option that when I click out of the menu it is closed.
by override I added the <a href> tag but I don't know which command to give it to run the close command.
i have try with javascript:void(0) but doesn't work.
is there a solution?
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #44784 by ced1870
Hi
I have made few tests by my side. The problem is that the current script is not designed to catch such commands
It could be done but it would need a hack of the JS script on your side. I can not implement this because it would break the compatibility with the existing modules, and this is not possible.

You can find the script in the assets folder of the module if you want to modify it.
CEd

Joomlack Webmaster and Developer
The following user(s) said Thank You: moreno

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #44793 by moreno
Hi,
after a couple of tests I saw that what I need is in the voice click to close (see image). so creates a close button. the problem is that when i open the menu works by hover and so I need this work with the click but with the close button.

Moreno
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #44794 by ced1870
right, you can this the click to close feature :)
if I understand you want a close button in the submenu, but the open with click also on the parent item (and not mouse over)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago - 7 years 2 months ago #44797 by moreno
Exactly, what i want is : if I click on a parent it opens the menu, and in order to close it I need to click on the close button.
Last edit: 7 years 2 months ago by moreno.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #44798 by ced1870
ok, and click again on the parent item when opened, does what ?

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.215 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 650 guests and no members online