[thelist] Flash detection for IE 5

Karen Bowen KarenB at frontiersoftware.com.au
Fri Dec 15 00:33:10 CST 2000


You could include the VBScript code in a separate function, and then have
something like the following in the main javascript function:

... if (is.ie5) {
        // call the other function
        var doesThisIE5UserHaveFlash = vbScriptFunction();
        
        if (doesThisIE5UserHaveFlash) {
	// they do
        }
    }

Don't forget to include the VBScript function in its own script tags,
specifying the language as VBScript.

HTH
Karen

> -----Original Message-----
> From:	Charlie Llewellin [SMTP:sallyevans at eden.com]
> 
> I find they use
> VBScript to check for Flash with IE...
> 




More information about the thelist mailing list