开发者

The alt text of an image shown should stay visible for at least 7 seconds on each rollover

I need to display the alt/title text of an image stay visible for at leas开发者_如何学Pythont 7 seconds on each rollover.


The jQuery "clueTip" plugin ( http://plugins.learningjquery.com/cluetip/#options ) supports a timed expiration (i.e., the little text box closes), though the docs mark it as "experimental."


alt text is supposed to either always be visible, if images are not supported or are turned off in the browser, or never be visible, if the image is present. Some browsers show the alt text as if it was a title, but if a title is present as well as the required alt text, the title will be shown and not the alt text.

You may prefer a tooltip with a timed display if you need to enforce the visibility duration, most systems lose the title in less than 7 seconds.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜