有没有一种方法来测试,如果浏览器支持flash / Silverlight的?方法来、浏览器、测试、Silverlight

2023-09-10 16:53:28 作者:瓜葛

我正在与SL /闪图的应用程序,并想知道是否有一种方法来测试,如果它推到了浏览器支持的Silverlight或没有(iPad / iPhone的)。如果没有,那么我可以用某种AJAX图在它的位置。

I'm making an application with SL/flash charts and am wondering if there is a way to test if the browser it's being pushed to supports silverlight or not (ipad/iphone). And if it doesn't, then I can use some kind of AJAX chart in its place.

如果这是可能通过测试对主机交换平台,我将如何做到这一点?

If this is possible to interchange platforms by testing against the host, how would I do this?

推荐答案

有关闪光灯,你可以这样做:的 http://ppk.home.xs4all.nl/js/flash.html 或本:的 http://www.adobe.com/support/flash/how/shock/javaplugs/javaplugs04.html

For flash, you can either use this: http://ppk.home.xs4all.nl/js/flash.html or this: http://www.adobe.com/support/flash/how/shock/javaplugs/javaplugs04.html

Silverlight是这里讨论:Detect通过JavaScript的Silverlight是否安装

Silverlight is discussed here: Detect via javascript whether Silverlight is installed

 
精彩推荐
图片推荐