Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: JS Flash plugin detection |
| From: | John Norman |
| Date: | Fri, 8 Oct 1999 19:02:41 +0100 |
This works script works on my site give this a try
<script language="JavaScript">
<!--
function MM_checkPlugin(plugin, theURL, altURL, IEGoesToURL) { //v2.0
if ((navigator.plugins && navigator.plugins[plugin]) || //if NS, or
(IEGoesToURL && //if flag set, and MSIE browser for Win95/NT
(ActiveX)
navigator.appName.indexOf('Microsoft') != -1 &&
navigator.appVersion.indexOf('Mac') == -1 &&
navigator.appVersion.indexOf('3.1') == -1)) {
if (theURL.length>2) window.location = theURL;
} else {
if (altURL.length>2) window.location = altURL;
}
document.MM_returnValue = false;
}
//-->
</script>
<body bgcolor="#000000" onLoad="MM_checkPlugin('Shockwave Flash','Url if
flash','Url no flash',true);return document.MM_returnValue">
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

