开发者

If an <object> plugin fails (ie Flash) have it render some other content?

I have a flash header that I show on one of my customers 开发者_如何学运维sites, but instead of creating an entire new website for non-flash, is there a way I can have it render a static image version of the header instead of either redirecting or just not rendering the flash content at all (ie with a FAIL message)?

Maybe something like a noscript for object?


And easy way to do this is to use SWFObject.
http://code.google.com/p/swfobject/

A javascript based solution that allows you to create fallback content.


Just put whatever you need inside of the object element and it'll fallback.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜