Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Flash not supported by the browser


Message #1 by "Harjit Singh Grewal" <hsgrewal@g...> on Mon, 13 Aug 2001 10:37:04 +0530
Take a look at this site http://www.xs4all.nl/~ppk/js/flash.html

Among other things you'll find that you may have to test for either 
navigator.plugins["Shockwave Flash"] or navigator.plugins["Shockwave Flash 
2.0"]

> 
> Hi I pasted my query earlier also but have not received your valued 
> replies to my queries so I'm again posting my same query.
> My query is
> I am struck with a very basic problem, I have a web page where I want to 

> display some flash animation but want to check first whether the browser 

> has enabled the viewing of flash movies or not and for that I'm trying 
> to use a  simple line of code
> "if (navigator.plugins["Flash"])
>     document.writeln("Supports Flash")
> else
>     document.writeln("Doesn't support Flash")
>  , but this is not giving me the desired results. As I can view flash 
> movies in my browser but by using the above if statement it gives me 
> message that my browser doesn't support Flash. I'm using IE web browser.
> Please help me, your help will be highly appreciated.
> Thanks
> Harjit
> 

  Return to Index