iPopper
Configuration:
=========================================================================
Applet: CodeBrain iPopper.class
Source: http://www.codebrain.com
Usage: Free for All, No Restrictions; No Visible Notices, No Keys
This is a very simple applet that pops a system-like menu, but also has
mouseOver and image effects. As this is a very straightforward usage,
the documentation is quite brief. Read through the doc to get a quick
overview; then work with the supplied demo_0.html
To exercise the applet, send all files begining with demo_0_xxxx to your
server, as well as the ipopper.class file. As always, be sure to send
the class file up in binary, and place all related files in the same
place as the html page to get started.
=========================================================================
-------------------------------------------------------------------------
// Must be present EXACTLY or the applet will show an error on the menu
// There are no visible notices in the applet, however.
-------------------------------------------------------------------------
// This sets the applet background color.
// Usual HTML format... Example: value = "#FF0000" would make the applet
// background red.
//
// One common error we hear all the time is that the applet space color
// does not change in response to this parameter. If you run into this,
// it's because the images used are covering the whole applet space.
-------------------------------------------------------------------------
// iPopper uses three images, all three required. Here's what they do...
//
// Image0 shows when the applet is static, no menu up, no mouse over
// Image1 shows when the mouse is over the applet space
// Image2 shows when the applet is clicked, and the menu is opened
//
// You can, of course, name the images anything you wish to name them.
-------------------------------------------------------------------------
// These parameters set the position where the popup menu will appear,
// relative to the upper left corner of the applet space. The values
// are in pixels.
//
// Note that you *can* have the popup appear *outside* the applet space,
// even at some distance from the applet... which opens some interesting
// design possibilities. Do take caution with your positioning, though,
// so the popup is visible!
-------------------------------------------------------------------------
// This sets the items to be listed on the menu.
//
// For EACH ITEM, change the number portion of the parameter. Numbers
// should be successive, starting at 0, with no skips in the number
// sequence. For example:
//
//
//
//
//
// Note the use of a hyphen "-" in Item3; this is how you would insert
// a separator (horizontal line) between items on the list. (Separators,
// of course, are not linked.)
//
// Have a look at the included demo. Make *certain* you start your item
// list with Item0 and have no skips in the sequence!
-------------------------------------------------------------------------
// This is the Linkx associated with a given ItemX, as above, following
// the very same numbering scheme as in the ItemX parameters -- that is,
// Link1 would be the link associated with Item1, Link2 associates with
// Item2, etc.
//
// Note that separators (see above) do not acquire links, and that paths
// used in links should normally be in explicit http://somesite.com/etc
// format.
-------------------------------------------------------------------------
// This is the target frame or window that the links will hook to. All
// links work to the same target.
//
// Just so you don't have to go look it up... Target 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, george -- whatever name you've given the frame.
=========================================================================
This is a simple applet with a lot of possibilities, so spend a little
time experimenting...
That's it, that's all, go to it!
All our best,
CodeBrain.com Free Java
=========================================================================
The CodeBrainiPopper.class applet is (c) 1999, 2000 by CodeBrain
All responsibility for use of the applet remains with the user.
Redistribution of the applet without our express permission is forbidden!
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|