开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜