我怎样才能检测是否安装了Flash,如果没有,显示隐藏的div通知用户? [英] How can I detect if Flash is installed and if not, display a hidden div that informs the user?
本文介绍了我怎样才能检测是否安装了Flash,如果没有,显示隐藏的div通知用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何使用JavaScript / jQuery的/等是否安装Flash来检测,如果它不是,显示包含的信息,通知他们需要安装Flash用户的div?
How can I use javascript/jQuery/etc to detect if Flash is installed and if it isn't, display a div that contains information informing the user that they need to install flash?
推荐答案
使用SWFObject的。如果安装了它取代的div使用闪光灯。
参见: HTTP://$c$c.google.com/p/swfobject/
Use swfobject. it replaces a div with the flash if it is installed. see: http://code.google.com/p/swfobject/
这篇关于我怎样才能检测是否安装了Flash,如果没有,显示隐藏的div通知用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文