pulsing menu items
I have a menu setup with the below css:
a.menu:active
{
color: #000000;
}
a.menu:hover
{
color: #FFFFFF;
background-color:#000000;
text-decoration: none;
}
I am looking for a way to make the background color of certain items pulse in and out.
Slow fade from one color to another. Or fade between classes continu开发者_运维问答ously.
http://jqueryui.com/demos/effect/
Look at pulsate
Look in to adopting a javascript framework such as jQuery.
You will find the $(selector).animate()
function very useful for this type of thing.
精彩评论