Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: page detect |
From: | Susie Hinchliffe |
Date: | Thu, 14 Jan 1999 13:37:21 GMT |
Patrick, hi
this is a bit of a beg
i've posted a question concerning this to the list, but for some reason my
server hasn't delivered it yet....all a bit odd. came across your questions
with this script and I wondered if I could ask you a couple of things?:
Eric pointed out it would only work for IE, not NN. I don't Javascript yet,
tho' clearly i'm going to have to! - did you amend the script and if so how?
I realise it's a case of adding NN browser references in, but quite what
and where is a bit confusing.
i also wondered if you got a response to the Shockwave for Director
question.
i will keep battling away at this one to work it out for myself, but your
help would be greatly appreciated - partly cos the battle could be a long
one!
tia
susie
>(It's preceded by this text: Sending users to one page if they have
>Shockwave and another if they don't
>The script in this HTML page loads one page into the window if the user's
>browser has either ActiveX or the Shockwave Flash 2.0 plug-in, and to
>another page if the user has any other JavaScript-enabled browser. Users
>with non-JavaScript browsers see the traditional visible triage.)
>
><HTML>
><HEAD>
><TITLE>The Portal</TITLE>
><SCRIPT LANGUAGE="JavaScript">
><!-- use this comment tag to hide the enclosed code from old browsers.
>//Look for a version of Internet Explorer that supports ActiveX (i.e., one
>that's
>//running on a platform other than Mac or Windows 3.1) or a browser that
>supports
>//the plugin property of the navigator object and that has Shockwave
>Director
>//installed.
>if ((navigator.appName == "Microsoft Internet Explorer" &&
>���navigator.appVersion.indexOf("Mac") == -1 &&
>���navigator.appVersion.indexOf("3.1") == -1) ||
>��(navigator.plugins && navigator.plugins["Shockwave for
>Director"].description.indexOf["6.0"] != -1)){
>���//Load a pre-defined HTML page with Shockwave in it into the browser
>window.
>���window.location='shocked.html';
>}
>else {
>���//Load a pre-defined HTML page without Shockwave into the browser window.
>���window.location='nonshocked.html';
>}
>// Close the comment tag. -->
></SCRIPT>
></HEAD>
><BODY>
><CENTER>
><H3><BR>
><FONT SIZE=3>requires <A
>HREF="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version
>=ShockwaveDirector">Shockwave Director</A></FONT></H3>
><H3>
></CENTER>
></BODY>
></HTML>
>
>
>The text before the script sums up very neatly what I would like to do, ie.
>send users to a flash page if they have either a relevant plugin for Flash
>3.0 or Active-X.
>
>I used Flash 3 to create a movie, Aftershock to create the html and then I
>added an html page with the above script in it to either point the user to
>the Flash page or to an alternate page without flash.
>
>I changed
>�window.location='shocked.html';
>to
>�window.location='myshockedpage.html';
>
>and
>
>�window.location='nonshocked.html';
>to
>�window.location='mynonshockedpage.html';
>
>Do I have to change ["Shockwave for Director"]
>so that it includes the correct name for Flash 3.0 plugins and ActiveX?
>If so, what do I change it to?
>
>TIA
>
>
>
>
>
>
>
>
>----------
>>From: John Croteau <croteauerols [dot] com>
>>To: flashershocker [dot] com
>>Subject: Re: FLASH: page detect
>>Date: Tue, Jan 12, 1999, 11:56 AM
>>
>
>> Hi Patrick,
>>
>> Which detection script are you referring to?
>> The only one actually displayed at FC is an Archive of my Flash 2 only
>> one. Others are linked. Colin has one that isn't linked on the Resource
>> see http://colinmoock.iceinc.com/webdesign/flash/
>>
>> If you are trying to duplicate the one actually used at Flash Central
>> then you should know it detects for both Flash 2 and Flash 3 (We still
>> have the Flash 2 version of the site but it is not updated).
>>
>> ----------- -----------------------
>> John Croteau croteauerols [dot] com (mailto:croteauerols [dot] com)
>> ------------- -------------------------
>> FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
>> Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
>> Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
>> The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> ------------------------------------------------------------------------
>> 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
>>
>
>------------------------------------------------------------------------
>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
>
>
------------------------------------------------------------------------
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]