The Parameters Explained             

NetBlaster's parameters are explained below, with reference to the clickable example code in the left frame: you can click a parameter from the example code to jump to its explanation, or simply read this page from top to toe.


The 'Archive' attribute & 'CabBase' parameter
JAR (Java ARchive) and CAB (cabinet) files are archives containing Java class files in compressed form, making them easier to handle and quicker to download. Most modern browsers are able to read one or other of these formats, and the Archive attribute and CabBase parameter tell the browser the name of the archive file to open. The .JAR, .CAB and .CLASS files must all be in the same directory, and the CODEBASE= attribute is used in the normal way, if required, specifying the absolute or relative location of this directory. Older browsers that are unable to read either the JAR or the CAB file will instead read the loose CLASS files.

Applet Width & Height
If unregistered, NetBlaster's dimensions must be WIDTH=96 and HEIGHT=38. If the dimensions are any different, a message will appear in the browser's status bar and Java Console pointing out the error. Registered users who prefer not to display the console can set the width and height to 1 pixel, and then use the BgColor parameter to recolor that pixel to match your page background, thus making it invisible.

Copyright
This parameter must be included or the applet will not run, whether registered or unregistered. To prevent mistakes we recommend that you copy/paste it into your code from the Getting Started page: it is case-sensitive, single-spaced throughout and should appear on a single line. If there's a problem with this parameter, you'll see a status-bar message that reads "Copyright parameter missing or incorrect" which should lead you to the problem.

BgColor
This applet has no effect unless NetBlaster has been registered. If you prefer not display NetBlaster as a console (dimensions 96 × 38), set its dimensions to 1 × 1 instead and use this parameter to set the color of the single pixel to match your page background. The default color is FFFFFF (white).

WaitSeconds
When NetBlaster starts, the browser is probably busy downloading other items on that page as well. Therefore, you don't want NetBlaster to immediately grab bandwidth for its own use and slow down the display of the page. The WaitSeconds parameter lets you specify a number of seconds that NetBlaster should wait before starting to cache files. The default setting for this parameter is 10 (10 seconds' delay). If you use NetBlaster on multiple pages (rather than in a permanent framed page), the delay time you choose will be applied each time NetBlaster starts.

ShowProgress
A simple non-case-sensitive yes or no, according to whether NetBlaster should display details of the caching process in the browser's status bar. The default is yes.

Item1, Item2, . . . Itemn
These numbered parameters specify the names and locations of the files that NetBlaster should cache. Each Item parameter must have a different number suffix, and the numbers must be consecutive. If you include parameters going up to Item25 but forget to include an Item12 parameter, NetBlaster will cache only the first 11 items. The contents of these parameters may be either absolute or relative URLs (we recommend using relative URLs - see NetBlaster Tips). Files will be cached in numerical order, so some forethought here can pay big dividends.


































.