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


Partners & Affiliates











advertisement


Cerebellum


How do I use Cerebellum ?

What are the parameters for Cerebellum ?

Name

Value

Example

AppletHomePage

http://go.to/javabase

 

autoCollapse

Include this tag for auto collapse (collapses old menus when new ones are opened)

OK

bgColor

The page background colour

FFFFFF
background An optional background image (jpeg or gif) back.jpg

textColor

The normal text colour *

880000
textFont

Font to be used in format FONTNAME;STYLE;SIZE

where style is r for regular, b for bold, i for italic and bi for bold italic. (eg. Times;b;12 is size 12 bold Times) *

Times;r;12

optionColor

Colour of bar and link behind menu text *

FFEEAA

showOptionEffect

Effect when showing a new menu *

shrink
optionDraw "fill", "edge" or "none". "fill" fills in the bar. "edge" highlights just the edge of the bar. "none" does not draw a bar. fill

mouseTextColor

Colour of text on mouseOver *

EEEEFF
mouseTextFont

Font to be used when the mouse is over the menu item.

Times;bi;12

mouseOptionColor

Colour of bar behind text on mouseOver *

000088

mouseOverEffect

Highlight bar effect on mouse over *

left
mouseDraw "fill", "edge" or "none". "fill" fills in the bar when the mouse is moved over it. "edge" highlights just the edge of the bar. "none" leaves the bar alone. fill
delayTime Time for each frame in milliseconds 20

visibilityStep

Speed at which menu appears (1-100)

2

mouseOverStep

Speed of mouseOver effects (1-100)

4

showDelay

How much the fade in is delayed for menus lower down the list

10

padding

How much bigger the bar behind the text is than the text

10
spacing How seperated the different menu options are 100
lineThickness The thickness of the lines between the menu options 1

rounding

How much to round highlight bar

10
showDepth Determines what depth of the menu is visible on startup. '0' means only the root options are visible. '1' means the first level is initially visible as well. 1
drag How long the menu takes to 'settle'. 1-10 5

menu

See below for details

 
key Key supplied at registration  

* for these parameters, multiple values can be seperated by commas and the first value will apply the nodes of the tree at the top depth, the second to the 1st level submenus etc. See the example code.

What about the "menu" parameter ?

Like all javabase applets, the menu options are specified using the following formats:

{Name} For an unlinked option or tree node
{Name,Link} For a link to be opened in the same frame
{Name,Link,Frame}

For a link to be opened in a different frame.

Frame can also be "_new" for a new window, "_parent" for the frame's parent, "_top" for the top frame or "_self" for the applet's frame.

So, for example, to make a link to altavista which opened in a frame called "main" the option would look like:

{Altavista,http://www.altavista.com/,main}

To use submenus, simply add a space to the beginning of the name of those options which you want to be indented as shown in the example code above. Multiple spaces can be used to make multiple levels of menu.

How can I register?

Commercial sites are required to register. Other sites need not register, but their menus will show a link to Javabase.

Click here for registration details


Back to Cerebellum

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