How can 开发者_运维技巧I add a subtle "glow" effect to a div
element that will glow all the time/permanently, right after the page load, not just when hovered?
Unfortunately, the client wants me to make this work in IE7+.
Have you considered using an animated gif?
Match the solution to the client.
If it should glow permanently all the time, why use Javascript/jQuery at all? This could be done purely using CSS, either using CSS3 box-shadow to simulate glow or using images.
Here's a CSS3 example
To animate bg-color, check out this post
精彩评论