开发者

detect flash and display images instead if not present

what would be a good solution to the following scenari开发者_开发百科o:

a page is supposed to have a few flash buttons in it. we want to check if the user's browser supports

flash (a given version i suppose) and if not - display gifs or jpgs instead.

thanx in advance and have a nice day


You can use swfobject library to detect if flash is installed. It will automatically replace your images layer with the flash file. You can get it from google code: http://code.google.com/p/swfobject/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜