x-browser:hover


/ Published in: jQuery
Save to your folder(s)

Pass in whatever class will apply the hover style;\r\n\r\n$(\"div.hover\").hovr(\"hoverHover\") \r\n\r\nwould act like a cross browser version of \r\ndiv.hover{color:blue} div.hover:hover{text-decoration:underline}\r\n\r\nwhich would be in css for the jquery plugin hovr:\r\n\r\ndiv.hover{color:blue}\r\n\r\ndiv.hoverHover{text-decoration:underline}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.