Automatic menu showing on hover (mouse) over

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
shasta59
AppGini Super Hero
AppGini Super Hero
Posts: 231
Joined: 2013-01-08 19:40
Location: Calgary, Alberta, Canada

Automatic menu showing on hover (mouse) over

Post by shasta59 » 2015-03-21 20:42

Have you ever wanted the menu to show as soon as your mouse moves over it? (The jump to menu and admin menus for example)

It is easy to do. The way I do it is to add the following line to the dynamic.ccs.php file.

Code: Select all

li.dropdown:hover ul {display:block;}
You can put it anywhere but it may be best to put it around line 14. Right under the other li.dropdown line.

It is a cheap and dirty way to do it. May cause some display issues with a tablet or smartphone so make the change then test with all instances and see if it is what you want. Seems to work well with all my databases.

Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -

Post Reply