|
|
This script displays a message saying whether it is using the JavaScript or VBScript version, and then plays a song if it is VBScript. You can use this sort of setup to ensure that your pages always look good in both IE and NN. For example, say you wanted to play a midi file when the user clicked a button. You could have the page use ActiveX if they were using IE, or a plugin if they were using NN. You could have it use a floating frame if they were using IE, or a separate window if they were using NN. Basically, you can use this technique to ensure that for each piece of a page, an Internet Explorer compatible version and a Netscape Navigator compatible version are available. You are free to use this script, and any variations upon it, without any restrictions whatsoever. |
|