Ginkgo Posted October 19, 2018 Share Posted October 19, 2018 Hola, Utilizo la plantilla Warehouse en mi versión 1.7.4.2. Al crear el mega menu por primera vez se desplegaba el submenú con las correspondientes categorías en la página de inicio. Pero en cuanto pinchaba en cualquier otra página dejaba de funcionar el desplegable. He reorganizado mi web, así que he decidido reiniciar el módulo iqit mega menu y crear uno nuevo desde cero. Los enlaces funcionan perfectamente. El problema es que ahora el submenú desplegable directamente no funciona. He probado añadiendo árboles de categorías, links, y páginas estáticas. Pero no he conseguido ningún resultado. Muchas gracias! Link to comment Share on other sites More sharing options...
Matteo Posted October 31, 2018 Share Posted October 31, 2018 Hi, same problem here. Did you solve, @Ginkgo? Seems like CSS "hiding" properties are not switched to visible on hover of the parent menu item, maybe because of this Js error: Uncaught TypeError: $ is not a function at HTMLDocument.<anonymous> (theme.js:68) at fire (core.js:690) at Object.fireWith [as resolveWith] (core.js:711) at Function.ready (core.js:745) at HTMLDocument.completed (core.js:748) (anonymous) @ theme.js:68 fire @ core.js:690 fireWith @ core.js:711 ready @ core.js:745 completed @ core.js:748 where "at HTMLDocument.<anonymous> (theme.js:68)" is let dropDownEl = $('.js-dropdown'); In fact, there's no js-dropdown in the page's html Thanks, Matteo Link to comment Share on other sites More sharing options...
Matteo Posted October 31, 2018 Share Posted October 31, 2018 (edited) Hi, same problem here. Did you solve, @Ginkgo? Seems like CSS "hiding" properties are not switched to visible on hover of the parent menu item, maybe because of this Js error: Uncaught TypeError: $ is not a function at HTMLDocument.<anonymous> (theme.js:68) at fire (core.js:690) at Object.fireWith [as resolveWith] (core.js:711) at Function.ready (core.js:745) at HTMLDocument.completed (core.js:748) (anonymous) @ theme.js:68 fire @ core.js:690 fireWith @ core.js:711 ready @ core.js:745 completed @ core.js:748 where "at HTMLDocument.<anonymous> (theme.js:68)" is let dropDownEl = $('.js-dropdown'); In fact, there's no js-dropdown in the page's html Thanks, Matteo Edited October 31, 2018 by Matteo Duplicated (see edit history) Link to comment Share on other sites More sharing options...
Matteo Posted October 31, 2018 Share Posted October 31, 2018 It should be a jQuery/JS conflict. If I remove the Revolution Slider that was in the page, it works. Link to comment Share on other sites More sharing options...
Ginkgo Posted October 31, 2018 Share Posted October 31, 2018 Hi Matteo, It was a JavaScript issue indeed. I talked to IQIT support and they fixed it for me. Good luck with yours! Link to comment Share on other sites More sharing options...
Matteo Posted October 31, 2018 Share Posted October 31, 2018 Thanks, I'll contact them Link to comment Share on other sites More sharing options...
GrandeLupo Posted February 26, 2019 Share Posted February 26, 2019 (edited) [Prestashop 1.6.1.12] I use the navigation menu "IQTMegamenu", and in the mobile version I have a small problem, When the page is scrolled with the finger, and the finger touches the menu, the navigation menu opens. But I did not do the Tap. You do the tap and open the side menu. Any solution? Thank you. the module's back office activated function is:Mobile menu type> Push Menu The problem may be resolved by editing the file:views> js> mlpushmenu ??? Here is the original code: / ** * 2007-2016 IQIT-COMMERCE.COM * * NOTICE OF LICENSE * * @author IQIT-COMMERCE.COM <[email protected]> * @copyright 2007-2016 IQIT-COMMERCE.COM * @license GNU General Public License version 2 * * You can not resell or redistribute this software. * * / $ (Document) .ready (function () { $ ("# iqitmegamenu-accordion> li .responsiveInykator"). on ("click", function (event) { if (false == $ (this) .parent (). next (). is (': visible')) { $ ('# iqitmegamenu-accordion> ul'). removeClass ('cbpm-ul-shown'); } if ($ (this) .text () == "+") $ (This) .text ( "-"); else $ (This) .text ( "+"); $ (This) .parent (). Children ( 'ul'). ToggleClass ( 'CBPM-ul-Showed'); }); var menuLeft = document.getElementById ('iqitmegamenu-accordion'), showLeftPush = document.getElementById ('iqitmegamenu-shower'), menuoverlay = document.getElementById ('cbp-spmenu-overlay'), body = document.body; classie.addClass (body, 'cbp-spmenu-body'); $ ('# iqitmegamenu-shower'). on ("touchstart click", function (e) { e.stopPropagation (); e.preventDefault (); classie.toggle (showLeftPush, 'active'); classie.toggle (body, 'cbp-spmenu-push-toright'); classie.toggle (menuLeft, 'cbp-spmenu-open'); classie.toggle (menuoverlay, 'cbp-spmenu-overlay-show'); }); $ ('# cbp-spmenu-overlay'). on ("touchstart click", function (e) { e.stopPropagation (); e.preventDefault (); classie.toggle (this, 'active'); classie.toggle (body, 'cbp-spmenu-push-toright'); classie.toggle (menuLeft, 'cbp-spmenu-open'); classie.toggle (this, 'cbp-spmenu-overlay-show'); }); }); Edited February 26, 2019 by GrandeLupo (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now