Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

question-circle two or multiple responsive menus

More
5 years 11 months ago #20583 by itsjeff
Hi, I am having trouble getting two menus to work on the same page.

They appear fine on a large full screen, and they each work fine on mobile if only one is published. When two are published, they do not work.

I saw another user ask, mostly about using custom CSS though. They mentioned changing the module ID and enabling noConflict. I also read the directions in documentation and tried the naming conventions there: js-meganav1 and js-meganav2 but this did not work either.

I attempted a number of combinations in "trial and error" testing, but nothing seems to work. Please help!

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

More
5 years 11 months ago #20590 by HaiND
Hi itsjeff
Thanks for contacting and choosing our product
About your problem, I'm sorry. Please give me link your site and your account of administrator via private message or mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

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

More
5 years 11 months ago #20623 by itsjeff
Hi HaiND, I have sent an email to your address.

It is great that you offer support like this, but it would be great if you put solutions in replies on this forum. If people have similar problems in the future it would help them :)

Either way, I appreciate your help & look forward to a fix.

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

More
5 years 11 months ago #20625 by HaiND
Hi
Thank you for feedback us
i fix it for you, please check again
In source code: ...\modules\mod_jux_megamenucss3\tmpl\default.php
at line 26:
<div id="jux_megamenucss3" class="<?php echo $params->get('menutheme'); ?>">
edit:
<div id="jux_megamenucss3" class="<?php echo $params->get('menutheme'); ?> jux-<?php echo $module->id;?>">

at line 94:
$("#css3-megaMenuToggle").click(function () {
edit:
$(".jux-<?php echo $module->id;?> #css3-megaMenuToggle").click(function () {

at line 116:
$(".js-megamenu").toggleClass("dropdown1");
edit:
$(".jux-<?php echo $module->id;?> .js-megamenu").toggleClass("dropdown1");


at line 120:
if (!$(' #css3-megaMenuToggle').hasClass('offcanvas-menu')) {
editL:
if (!$('.jux-<?php echo $module->id;?> #css3-megaMenuToggle').hasClass('offcanvas-menu')) {

at line 138:
$('.js-megamenu').removeClass('dropdown1');
edit:
$('.jux-<?php echo $module->id;?> .js-megamenu').removeClass('dropdown1');

hope it will help you
Thanks

Best Regards
--HaiND--
The following user(s) said Thank You: itsjeff

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

More
5 years 10 months ago - 5 years 10 months ago #20672 by itsjeff
It still doesn't seem quite right. The first menu toggles open/closed properly, but the second shows the toggle button, loads expanded, and does not toggle open/closed.

I tried to modify/add code to the file you changed, but couldn't work out a solution. I'm wondering if it might be from reusing the IDs instead of classes in CSS which are supposed to be unique? I don't know.. I have undone my own changes to the file, if you can take another look.
Last edit: 5 years 10 months ago by itsjeff.

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

More
5 years 10 months ago #20673 by HaiND
Hi itsjeff
You can send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--
The following user(s) said Thank You: itsjeff

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

More
5 years 10 months ago #20776 by itsjeff
Thank you, the latest change seems to work great, just as I desired.

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

More
5 years 10 months ago #20779 by HaiND
Hi
Thank you for feedback
if still have problem, please contact us, pleased to assist you
Hope you will continue to support and use other JoomlaUX products
Thanks

Best Regards
--HaiND--

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

Moderators: Jackie
Time to create page: 0.048 seconds
Powered by Kunena Forum