• Is there a way to disable WordPress Adminmenu->submenu popup, when I mouseover the menu button? I think class ‘opensub’ is being added by .js when I hover adminmenu > li > a. Is there a way to disable this javascript function? I am kind of new workinging with javascript.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    That is not default behavior. By default everything works off the :hover pseudo selector. No JS. Since something has introduced JS into the mix, replace the onmouseover event with onclick. The hard part is removing the class when another item is clicked. With the onmouseover, there is a corresponding onmouseout. There is no such equivalent for clicks, so when the user clicks anywhere else, you need script to go through all the elements and remove any opensub class that may exist.

Viewing 1 replies (of 1 total)

The topic ‘Disabling Admin Submenu popup on hover’ is closed to new replies.