onmouseover

  • paoloruzzi

    #3547

    how do I remove “on mouse out” or “on mouse over” and see the drop down menu only when I click?

    compliments for the theme I use on http://www.asdserraricco.it and sorry my english, I’m a beginner and I hope I understand your answer.

    thanks anyway

    paul

    Anonymous

    #24833

    You’ll need Javascript to accomplish this. There is no easy way. Generally is not a good idea to have on-mouse click because your top Menu is usually a page/category itself having to click for a drop down, or having to click to enter that link would be a tough cookie.

    Mod

    Kenneth John Odle

    #24834

    Actually, I think what you want is to just eliminate the hover state. To do this, you will need to find the hover codes in style sheet, copy them to your child theme style sheet (or custom css) and make them match the default state for the menu.

    It’s going to take some knowledge of CSS and a bit of digging through the style sheet.

    Admin

    Syahir Hakim

    #24835

    You actually need to do both Ken’s and Tee_888’s suggestions. Ken’s suggestion will remove the hover state. Tee_888 is required in order to display the submenus when the parent menu item is clicked.

    Anonymous

    #24836

    Accidental refresh from yesterdays opened browser, apologies.

    Mod

    Kenneth John Odle

    #24837

    see the drop down menu only when I click?

    I just noticed this. That could be interesting. Let us know if you get it running.

    Anonymous

    #24838

    It’s pretty awesome if done right, but here’s an example for onclick drop down menu:

    http://www.smartmenus.org/samples6/miscellaneous-setups/open-sub-menus-onclick/

    paoloruzzi

    #24839

    what an honor! I thought I had asked something strange! thanks for the answers but I do not know if I can do something. seems a bit ‘above my abilities.

    Mod

    Kenneth John Odle

    #24840

    seems a bit ‘above my abilities.

    Everything is above everybody’s abilities at some point. Keep reading, keep learning, keep asking good questions — you’ll figure it out!

Viewing 9 posts - 1 through 9 (of 9 total)

  • You must be logged in to reply to this topic.