Jump to content

show submenu with clic not on mouseover


Recommended Posts

  • 1 month later...
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

  • 8 months later...

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

×
×
  • Create New...