Javascript examples for jQuery:Image
CSS image stripe hover effect
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> <style> a:hover {//from w w w . java 2s. co m background-color: gold !important; } a { background-color: orange; } </style> </head> <body> <a href="">:hover is working now</a> <script> $('a').css('background-color', 'lightgreen'); </script> </body> </html>