Flasher Archive

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


Subject: FLASH: please check this site www.volg.ch
From: Anil Hamal
Date: Fri, 7 Jul 2000 11:22:16 +0100

www.volg.ch

Hi all..thanks for your reply...

I am slowly getting insane here....Ok this is actually html site with flash intro...I have javascript to check if user has plug-in or not...it works fine on some machines and on others don`t...specially seems to have problem with MAC OS.
and some people claim errors like server not found....what is causing those error plus side effects...javascript???

Could someone please tell me is there any super ultimate javascript, which works on all platforms and OS systems.

please when when you replay to this post..would mind putting your location and syste^m you are using.

-----------------------------------------------------------
it`s a german langauge site from Switzerland (z�rich)
-----------------------------------------------------------
please check ....this is the site after intro finshes
www.volg.ch/start.html
------------------------------------------------------------
This is how the script look like:
------------------------------------------------------------

<SCRIPT LANGUAGE=VBScript>
<!--
on error resume next
public FlashOn
var FlaMod

FlashOn = 0
FlaMod = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))

If FlaMod = True Then
FlashOn = 1
End If

//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
<!--


FlashMode = 0;
if (navigator.appName == "Netscape" && navigator.plugins) {
numPlugins = navigator.plugins.length;
if (numPlugins > 0)
{

for (i = 0; i < numPlugins; i++)
{
plugin = navigator.plugins[i];
if (plugin.description.indexOf("Flash 4") != -1) {
numTypes = plugin.length;
for (j = 0; j < numTypes; j++)
{
mimetype = plugin[j];

if (mimetype)
{
if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1))
FlashMode = 1;
// Mac wierdness
if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
FlashMode = 0;
}
}
}
}
}
}

//-->
</SCRIPT>


<SCRIPT LANGUAGE="JavaScript">
<!--


var browserName = navigator.appName;
var browserVer = parseFloat(navigator.appVersion);
var browserOK = 0;

if (browserName == "Netscape" && browserVer >= 4.5){
browserOK = 1;
}

else if (browserName == "Microsoft Internet Explorer"){
var ver = navigator.appVersion
var start = ver.indexOf("MSIE") + 5.0
var end = ver.indexOf(";",start)
browserVer = parseFloat(ver.substring(start,end))
if (browserVer >= 5.0){
browserOK = 2;
}
}

if (browserOK == 1 && FlashMode == 1){
browserOK = 3;
}

if (browserOK == 2 && FlashOn == 1 ){
browserOK = 4;
}

if (browserOK == 1){
location.href="start.html";
}

if (browserOK == 2){
location.href="start.html";
}

if (browserOK == 3){
location.href="flash.html";
}

if (browserOK == 4){
location.href="flash.html";
}
//-->
</SCRIPT>
------------------------------------------------------------
------------------------------------------------------------

Thanks a lot for taking your precious time...love ya all
anil


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: please check this site www.vo, Till Steinmetz

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