advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement

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!


How to Add Java Applets to Your Site

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.

 Microsoft Visual Studio 2010 Showcase
 Avaya Developer Showcase
 MSDN Spotlight
 PHP for Windows Showcase
XML error: undefined entity at line 39
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Windows 7: From Beta to Final Code in One Year
Google Shows Off Chrome OS, Releases Source
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?
Fedora 12 Takes Aim at Linux Networking
Top Supercomputer Nearly Doubles in Speed
Fedora 12 Linux Tackles Virtualization
Apple Gives iPhone Developers App Status Tracker
Novell Sets OpenSUSE 11.2 Free

Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Exploring HTML 5's Audio/Video Multimedia Support
Overriding Virtual Functions? Use C++0x Attributes to Avoid Bugs.
Understanding the Cloud Computing Security Vulnerabilities
Cisco and IBM Target a Greener World
Upgrade to Visual Studio 2010 with the Ultimate Offer

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs