Flasher Archive

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


Subject: MM Script
From: John Leggate
Date: Tue, 17 Mar 1998 22:10:19 GMT

Can anyone get this MM script to work?

------------------------------------------
As another example, this script checks for Flash but not Director:

<script language="JavaScript">
<!-- // Generate the tag for the smart button:
if (( navigator.appName.indexOf( "Microsoft" ) != -1 ) && (
navigator.appVersion.indexOf( "Macintosh" ) != -1 ) && (
navigator.appVersion.indexOf( "3." ) == 0 ))
{
document.write( '<A
HREF="http://www.macromedia.com/shockwave/download/">' );
document.write( '<img src="images/get_shockwave.gif" WIDTH=88
HEIGHT=31 BORDER=0></A>' );
}
else if (( navigator.appName.indexOf( "Netscape" ) != -1 ) && (
navigator.appVersion.indexOf( "2." ) == 0 ))
{
// nothing
}
else
{
document.write( '<A HREF="#" ' );
document.write( 'onClick="getShockwave(' );
document.write( "'Director 0.0','Flash 2.0'" );
document.write( ')">' );
document.write( '<img src="images/get_shockwave.gif" WIDTH=88
HEIGHT=31 BORDER=0></A>' );
}
//-->
</script>
<noscript>
<A HREF="http://www.macromedia.com/shockwave/download/">
<IMG SRC="images/get_shockwave.gif" WIDTH=88 HEIGHT=31 BORDER=0></A>
</noscript>

---------------------------------------------------------------------
john

------------------------------------------------------------------------
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


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