skip to Main Content

Toggle CSS onmouseover – WordPress Menu

I have a wordpress menu in which every links a custom class. Onmouseover, I'd like this class to change the css of another element in the page. I tried without success: $('.menuclass').onmouseover(function () {$('.other-element').toggleClass("hover");}); I might go the wrong way…

VIEW QUESTION
Back To Top
Search