P A R A M E T E R C H E A T S H E E T ========================================================================= CodeBrainSimpleClick.class GENERAL NOTES ------------------------------------------------------------------------- // CodeBrainSimpleClick's code is written protectively -- to make it easy // to set up and get running. Demos and associated graphics are included, // to get you rolling quickly. // // Other than the "Notice" parameter, you can leave out almost any // parameter and the applet will still run. That is, "If in doubt, // leave it out!" // // To use the applet as a three-state button, provide all three of the // images in the image parameters. Omit Image3, and it works as a // two-state button. // // You can make the applet as simple as you wish, without the // clutter and confusion of a multitude of parameters -- and then // gradually build upward into more complex uses. // // Parameter names are as descriptive as we can make them without // having them a mile long, and they ARE case sensitive, so take care. // // Keep image files to the smallest size possible to meet the needs // for your application. Remember, large image files used with the // applet will take longer to load -- even though the // CodeBrainSimpleClick.class file is itself extremely small! // // To get started, place the CodeBrainSimpleClick.class file and ALL // files used by the applet in the SAME directory. // // Check out the demos included, and gradually change parameters // to get a feel for how the applet works. // // We know you'll find a great number of interesting ways to put the // CodeBrainSimpleClick applet to work on your site. For a very small, // simple applet, it's great for many purposes -- including stacked // multiple-button menus, tabled navigation systems, and so on. // // The trick with a button applet is mostly in the graphics you make // for it -- so devote some extra effort to this area. // // Best regards, // // // CodeBrain P A R A M E T E R S ========================================================================= ------------------------------------------------------------------------- // MUST be present, EXACTLY, or the applet will not run. If it's not // present and correct, the applet will respond with "Notice?". ------------------------------------------------------------------------- // This sets the applet background color. The default is black. // Usual RGB format, values 0-255. // Example: value = "255,0,0" would make the applet background red. ------------------------------------------------------------------------- // This is what will appear in the browser status bar when you place the // mouse over the applet space. (If you don't need it, leave it out.) // The text is removed from the status bar when you move the mouse out // of the applet space. ------------------------------------------------------------------------- // This set of parameters sets the images to be used. Images may be // .gif, or .jpg formats. Keep image file sizes as small as possible, // of course, to keep down loading time. // // Note that images DO NOT have to be the same size as the applet space. // // IMPORTANT! -- Which Image Is Which... // // Image1 is the base image -- when the mouse is out of the applet space // Image2 is the mouseOver image -- shows when the mouse is over applet // Image3 is the mouseClick image -- shows on mouseDown (mouseClick) // // Note that you can leave the third image out for a two-state button. ------------------------------------------------------------------------- // This is the url the applet will link to when the mouse is clicked. // The actual link takes place on the up-click of the mouse. Be certain // to use explicit addressing -- NOT just the name of the HTML // page. ------------------------------------------------------------------------- // This is the target or frame to which the link will go. It takes the // same general values that you use in HTML. Values with an underscore // usually refer to the browser itself, thus: // _new - opens a new window // _blank - also a new window // _self - loads in the same frame // _top - opens in the same window // When using a framed page layout, the value for Target would be the // name of the frame where you want the linked page to appear; i.e., // main, contents -- whatever name you've given the frame. W H E R E T O S T A R T ========================================================================== // We suggest you start off with the demos provided with the download kit, // then gradually experiment. This is a truly simple applet, but // like any new one, you need to become familiar with its set-ups. That's it, that's all there is! Go to it! Best regards, CodeBrain ========================================================================= The CodeBrainSimpleClick.class applet is (c) 1999 by CodeBrain.com All responsibility for use of the applet remains with the user.