-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Jacob
Message 2 in Discussion
Hi
Sweet Cousin,
You can use the below code to detect Flash
Plugin
Regds,
jacob
<script
language=JavaScript>
<!--
var ShockMode = 0;
if
(navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
mimeTypes["application/x-shockwave-flash"].enabledPlugin)
{
if (navigator.plugins &&
navigator.plugins["Shockwave Flash"])
{
ShockMode =
1;
}
}
if ( ShockMode )
{
document.write('<EMBED
SRC="movie.swf"');
document.write(' swLiveConnect=FALSE
WIDTH="600" HEIGHT="400"');
document.write('
QUALITY="high" BGCOLOR="#000000" ');
document.write('
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.write('</EMBED>');
} else if (!(navigator.appName &&
navigator.appName.indexOf("Netscape")>=0 &&
navigator.appVersion.indexOf("2.")>=0)){
document.write('<img src="img.gif" width=600 height=400
border="0">');
}
//
-->
</script>
inal
Message-----
From: BDOTNET
[mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004
2:07 AM
To: BDOTNET
Subject: Javascript help required
!!
New Message on BDOTNET
Javascript help required !!
Reply
Recommend
Message 1 in
Discussion
From: SweetCousin
hi
guys,
I want a
javascript program, that can detect if a system has a flash
plugin, if the system does not have it, it should ask for
download from macromedia site. Can anyone give me any help
regardin this. or if this is not possible or difficult, i can go
ahead with a c# programme too.
Thanx in
advance.
:-)
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]