lesix Posted October 22, 2013 Share Posted October 22, 2013 hi everyone!! does someone know how to show submenu of module bloctopmenu with click not on mouseover? need help please!! thanx!! Link to comment Share on other sites More sharing options...
lesix Posted October 22, 2013 Author Share Posted October 22, 2013 no one?? please!! Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 you need to modify file: modules/blocktopmenu/js/hoverIntent.js you need to replace all instances of mouseover to click but remember that you will need to remove anhors from clickable elements! 1 Link to comment Share on other sites More sharing options...
lesix Posted October 22, 2013 Author Share Posted October 22, 2013 thank you !! i will try it right now and give you feed back!! Link to comment Share on other sites More sharing options...
lesix Posted October 22, 2013 Author Share Posted October 22, 2013 i try but with no result. it doen't work!! i change all mouseover to click in hoverintent.js but nothing!! may be i'm not taking it well? Link to comment Share on other sites More sharing options...
lesix Posted October 22, 2013 Author Share Posted October 22, 2013 and how about mousemove? Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 after changes make sure that you cleared browser cache (your browser remember old file) i checked this solution and it works. 1 Link to comment Share on other sites More sharing options...
lesix Posted October 22, 2013 Author Share Posted October 22, 2013 thanx for help but i find a solution!! i just make some modification to superfish-modified.css in line 35 i delete line top: -999em!! thanx vekia!! Link to comment Share on other sites More sharing options...
lesix Posted October 22, 2013 Author Share Posted October 22, 2013 indeed it work but if you click it reload page and it become hidden again!! Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 it will be reloaded mainly because all of the elements has got <a href=""> param you need to disable it but it will be hard to achieve, especially when you've got deep categories tree 1 Link to comment Share on other sites More sharing options...
enigma7291 Posted December 10, 2013 Share Posted December 10, 2013 Hy! sorry my bad english knowledge! When i try to change in "modules/blocktopmenu/js/hoverIntent.js " mouseover() to click(), then not working! My purpose is to every link on the menu work by click not by hover! I'v setuped in the back-office modules/blocktopmenu ---> adjustment to rename "HOME" to "category", because default under this element appear the categories, and i would like to work the above method Link to comment Share on other sites More sharing options...
tonymusante Posted September 10, 2014 Share Posted September 10, 2014 i'm tring to do it in prestashop 1.6 you need to modify file: modules/blocktopmenu/js/hoverIntent.js you need to replace all instances of mouseover to click but remember that you will need to remove anhors from clickable elements! i have modified hoverIntent.js now how can i remove anchors from clickable elements? I would like a top menu with categories and when you click on a category it will open the submenu not with mouseover just with click Link to comment Share on other sites More sharing options...
Recommended Posts