Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: HTML alternate
From: Steve Whistler
Date: Tue, 17 Mar 1998 22:12:17 GMT

Deb -

this should work - replace the:

document.write('<IMG SRC="Images/mainhome.gif" WIDTH=383 HEIGHT=250>
BORDER=0>');

with:

location="?????.html";

Steve.




Deb Koch (by way of Sam Michel ) wrote:
>
> Hello all,
>
> My javascripting fails me yet again. I'm using a Flash movie that has been
> set up in Aftershock. I want to change the bottom of this bit that I'm
> pasting in here, to provide an alternate HTML source in case all else fails
> and the shockwave movie cannot be played on a users system.
>
> The document write function here is attempting to use a GIF as an alternate
> I want to use an HTML page.
>
> Does anyone know the proper syntax to make these changes?
>
> Thanks,
> Deb
>
> // check for java
> var JavaOK = 0;
> if (navigator.appVersion && navigator.appVersion.indexOf("2.") == - 1 &&
> navigator.javaEnabled())
> JavaOK = 1;
> if ( FlashMode ) {
> document.write('<EMBED SRC="Images/mainhome.swf"');
> document.write(' NAME=mainhome WIDTH=383 HEIGHT=250');
> document.write(' LOOP=false QUALITY=high');
> 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 ( JavaOK ) {
> if (navigator.appName && navigator.appName.indexOf("Netscape") >= 0 &&
> navigator.appVersion.indexOf("4.") >= 0)
> document.write('<APPLET CODE=Flash.class ARCHIVE=Flash.jar WIDTH=383
> HEIGHT=250>')
> else
> document.write('<APPLET CODE=Flash.class ARCHIVE=Flash.zip WIDTH=383
> HEIGHT=250>')
> document.write(' <PARAM NAME=cabbase VALUE="Flash.cab"> ');
> document.write(' <PARAM NAME=movie VALUE="Images/mainhome.swf"> ');
> document.write(' <PARAM NAME=loop VALUE=false> ');
> document.write(' <PARAM NAME=quality VALUE=high> ');
> document.write(' <PARAM NAME=bgcolor VALUE=FFFFFF> ');
> document.write('</APPLET>');
> } else {
> document.write('<IMG SRC="Images/mainhome.gif" WIDTH=383 HEIGHT=250
> BORDER=0>');
> }
> document.write('<NOEMBED>')
> //-->
> </SCRIPT>
> <IMG SRC="Images/mainhome.gif" WIDTH=383 HEIGHT=250 BORDER=0>
> </NOEMBED>
> </OBJECT>
> <!-- EndAftershock mainhome.swf -->
> </BODY>
> </HTML>
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


Replies
  HTML alternate, Deb Koch (by way of Sam

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]