Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: detect plugin and redirect |
From: | patrick moore |
Date: | Wed, 11 Aug 1999 01:39:02 +0100 |
Don't know if this helps, but I know a lot of people, including myself
have made use of this detection method, which was posted a little while
ago. I know stuffall about java, but see if it does the trick.
http://www.moock.org/webdesign/flash/detection/flash4noscript/
Patrick Moore
Designer
Harrow Productions
> -----Original Message-----
> From: matthew [SMTP:matthewviperproductions [dot] com]
> Sent: Wednesday, August 11, 1999 9:50 AM
> To: flashershocker [dot] com
> Subject: FLASH: detect plugin and redirect
>
> hi,
> �
> this might all sound a bit basic but I've only been using flash for a
> few days and I would be very thankful for any advice.
> �
> I need to automatically detect whether or not the visiting browser
> has�a flash plug-in or not, if they do, they go to one page, if not
> they go to another page.
> I have a default page that sets up the frameset,�then one of the
> frames opens a portal page which has the following code:
> �
> <script LANGUAGE="JavaScript">
> if ((navigator.appName == "Microsoft Internet Explorer" &&
> ��� navigator.appVersion.indexOf("Mac") == -1 &&
> ��� navigator.appVersion.indexOf("3.1") == -1) ||
> �
> ��� (navigator.plugins && navigator.plugins["Shockwave Flash"])){
> �
> ��� window.location='go/front.asp';
> }
> else {
> �
> ��� window.location='go/norm_front.asp';
> }
> �
>
> </script>
> �
> �I have also tried variations of this and other code over a couple of
> days....
> this works fine for browsers with the plug-in but in browsers that do
> not have the plug-in, IE tries to autoinstall it (when cancelled it
> stays at the portal page) and Netscape remains blank.
> �
> please help if possible
> thanx in advance
> �
> Matt
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]