Script Code Explained
This is the script code you copy-and-paste into your web page. This script can be anywhere in the page, in the head or body, before or after the applet's HTML code. If you use several Cool Focus applets in a page, you should paste and edit this script once for each applet.
<script language="JavaScript"><!-- function CoolStrip_DoFSCommand(command, args){ if (command == "status") window.status = args; else if (command == "satellite" && window.document.Satellite) window.document.Satellite.SetVariable("item", args); }// --></script> <script language="VBScript"><!-- on error resume next Sub CoolStrip_FSCommand(ByVal command, ByVal args) call CoolStrip_DoFSCommand(command, args) end sub --></script>
Bold Text
We have highlighted the code you need to change in bold text. In each case, this is the name of the applet which is set in the ID attribute of the <OBJECT> tag and the NAME attribute of the <EMBED> tag. The ID, NAME, and all the instances in the script must be exactly the same.When changing the name of the applet in the script above, be careful not to remove the space and underscore that come before and after the name!
Blue Text
The line of code shown in blue is required only if you are using our Satellite add-on to display messages or images when the mouse moves over the applet. If you are not using Satellite with this applet, you can delete the blue line of code. Internet Explorer users can
click here to remove the line before copying the code.
What The Script Does
Apart from the optional Satellite support (explained above), the script does two things:
|