Author:
erics , December 2nd, 2021
Use AutoRaise! From the docs: “When you hover a window it will be raised to the front (with a delay of your choosing) and gets the focus.” Web page: https://github.com/sbmpost/AutoRaise Download: https://github.com/sbmpost/AutoRaise/archive/refs/heads/master.zip
unzip - d ~ ~ / Downloads / AutoRaise - master . zip
cd ~ / AutoRaise - master && make clean && make
make install
My ~/.AutoRaise file:
#AutoRaise config file
delay = 3
Categories: How-To's , Technology Tags: apple , AutoRaise , Delay , Focus , Focus Follows Mouse , Follow , Hover , howto , Mac , MacOS , macosx , Mouse , Raise , tips , window
| 1 comment
Author:
erics , May 8th, 2011
The HTML:
< ul class = "icons ui-widget ui-helper-clearfix" >
< li id = "AddItem" class = "ui-state-default ui-corner-all" title = "Add Item" > < span class = "ui-icon ui-icon-plusthick" > < / span > < / li >
< li id = "AddToFavorites" class = "ui-state-default ui-corner-all" title = "Add to Favorites" > < span class = "ui-icon ui-icon-heart" > < / span > < / li >
< / ul >
The CSS:
ul . icons li
{
cursor : pointer ;
float : left ;
list - style : none ;
margin : 2px ;
padding : 2px 0px ;
position : relative ;
}
The jQuery:
jQuery ( 'ul.icons li' )
. live ( "mouseover mouseout" , function ( event ) {
if ( event . type == "mouseover" ) jQuery ( this ) . addClass ( "ui-state-hover" ) ;
else jQuery ( this ) . removeClass ( "ui-state-hover" ) ;
} ) ;
Categories: How-To's , Technology Tags: Button , Hover , Icon , Icons , JQuery , jQuery UI , live , Live Hover , mouseout , mouseover
| No comments