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


Partners & Affiliates











advertisement

SamosMenu


SaMoSMenu Release 2


Approximate English Documentation
If you don't understand, please email me

Thanks for downloading this Java menu, for more informations, you can mail me at : samos@informaticien.net i reply you without problem.

1) GENERALS PARAMETERS
2) MENUS AND SUB MENUS PARAMETERS
3) COMPATIBILITY
4) COMPLETE EXAMPLE

5) CONCLUSION

1) GENERALS PARAMETERS

Some parameters are generics to the Applet :

1-1) Number of Menus

This parameter value should be the number of menus (without sub menus)
<param name="nb_menus" value="3">

You must specify an infinity of menus

1-2) Number of sub Menus

This parameter value should be the maximum number of sub menus
<param name="nb_max_smenus" value="4">

You must specify an infinity of menus

1-3) Width of Menus and Sub Menus

This parameter value should be the width of menus and sub menus
<param name="largeur" value="100">

1-4) Height of Menus and Sub Menus

This parameter value should be the height of menus and sub menus
<param name="hauteur" value="20">

1-5) Background color

This parameter value should be the background color of the applet , Red Green Blue
<param name="color_applet" value="0,0,0">

Don't put space before and after comma

1-6) Display position of Menus Texts

This parameter value should be the display position of menus texts, value can be LEFT, MIDDLE, RIGHT or pixel position
<param name="marge_menus" value="MIDDLE">
<param name="marge_menus" value="4">

1-7)  Display position of Sub Menus Texts

This parameter value should be the display position of sub menus texts, value can be LEFT, MIDDLE, RIGHT or pixel position
<param name="marge_smenus" value="MIDDLE">
<param name="marge_smenus" value="4">

 

2) MENUS AND SUB MENUS PARAMETERS

This parameters are specifics to each menu or sub menu

reference to menu or sub menu :

<param name="menu1" value="texte menu 1"> --> reference to menu 1
<param name="menu
1_1" value="texte sous menu 1"> -->  reference to sub menu 1 of menu 1

2-1)Menu Text

This parameter value should be the text of the menu

<param name="menu1" value="menu 1 Text">
<param name="menu2" value="menu 2 Text">
.......

2-2)Sound of menu

This parameter value should be the file sound playing when the mouse is over the menu

<param name="menu1_sound" value="menu1_sound.au">
<param name="menu2_sound" value="menu2_sound.au">
.......

- The only file format supported is ".au"
- If you don't want specify sound file, put an empty value : value=""

2-3)Menu Link

This parameter is the link of the menu

URL,target, Status bar text

<param name="menu1_LINK" value="http://www.host.com,_top,status bar text">

- The second parameter must be a frame name
- You can put commas in the third parameter
- If you don't want specify this link, you must put this value (spaces): value=" , , "
- Protocols must be entered : http://, https://, ftp://, mailto:, file:///......

2-4)Menu Picture

A menu can contening a picture. This parameter have three values::

picture name,x position, y position

<param name="menu1_img" value="image,0,0">

- If you don't want specify picture, you must put this value : value="none,0,0"
- File format supported : ".gif" ".jpg"

2-5)Picture of the highlighted menu

This parameter value should be the file picture drawn when the mouse is over the menu, It have three values

picture name,x position, y position

<param name="menu1_img_LINK" value="Picture,0,0">

- If you don't want specify picture, you must put this value : value="none,0,0"
- File format supported : ".gif" ".jpg"

2-6)Menu Font

You can specify a font and a font style for a menu, this parameter have three values

font name,font style (BOLD or PLAIN), font size

<param name="menu1_font" value="Arial,PLAIN,11">

2-7)Font of the highlighted menu

This parameter value should be the font and the font style when the mouse is over the menu, It have three values

font name,font style (BOLD or PLAIN), font size

<param name="menu1_font_LINK" value="Arial,BOLD,12">

2-8)Font color

You must specify a color for each font, Red Green Blue
<param name="font_color_menu1" value="0,255,255">

Don't put space before and after comma

2-9)Font color of the highlighted menu

This parameter value should be the color of the font when the mouse is over the menu, Red Green Blue

<param name="font_color_menu1_LINK" value="255,255,0">

Don't put space before and after comma

2-10)Color range

It is possible to define two colors for the range

- Horizontal or Vertical
<param name="color_menu1_RVB_DEG_style" value="V">

- Color one of the range
<param name="color_menu1_RVB_DEG
1" value="37,245,53">

- Color two of the range
<param name="color_menu1_RVB_DEG
2" value="102,135,1">

Don't put space before and after comma

2-11)Color range of the highlighted menu

It is possible to define two colors for the range when the mouse is over the menu

- Horizontal or Vertical
<param name="color_menu1_RVB_DEG_LINK_style" value="V">

- Color one of the range
<param name="color_menu1_RVB_DEG
1_LINK" value="37,245,53">

- Color two of the range
<param name="color_menu1_RVB_DEG
2_LINK" value="102,135,1">

Don't put space before and after comma

3) COMPATIBILITY

- This applet is compatible with all versions Internet Explorer and Communicator >= 4.0
- Under Communicator, you must specify all empty values, example :

<param name="menu1"> -> don't running under Communicator
<param name="menu1" value=""> -> running under Communicator

4) EXAMPLE

This a complete example

<APPLET code=samosmenuv2.class height=100 width="100" VIEWASTEXT>
<param name="nb_menus" value="3">
<param name="nb_max_smenus" value="2">
<param name="largeur" value="100">
<param name="hauteur" value="20">
<param name="color_applet" value="0,0,0">
<param name="marge_menus" value="MIDDLE">
<param name="marge_smenus" value="MIDDLE">


<param name="menu1" value="Java">
<param name="menu1_sound" value="menus.au">
<param name="menu1_LINK" value=" , ,Java links">
<param name="menu1_img" value="juggler1.gif,0,2">
<param name="menu1_img_LINK" value="juggler.gif,0,2">
<param name="menu1_font" value="Arial,PLAIN,11">
<param name="menu1_font_LINK" value="Arial,PLAIN,11">
<param name="font_color_menu1" value="0,255,255">
<param name="font_color_menu1_LINK" value="255,255,0">
<param name="color_menu1_RVB_DEG_style" value="V">
<param name="color_menu1_RVB_DEG1" value="37,245,53">
<param name="color_menu1_RVB_DEG2" value="102,135,1">
<param name="color_menu1_RVB_DEG_LINK_style" value="H">
<param name="color_menu1_RVB_DEG1_LINK" value="151,104,17">
<param name="color_menu1_RVB_DEG2_LINK" value="235,220,73">

<param name="menu2" value="Applets">
<param name="menu2_sound" value="menus.au">
<param name="menu2_font" value="Arial,PLAIN,11">
<param name="menu2_font_LINK" value="Arial,BOLD,11">
<param name="menu2_img" value="none,0,0">
<param name="menu2_img_LINK" value="none,0,0">
<param name="menu2_LINK" value=" , , ">
<param name="font_color_menu2" value="0,0,0">
<param name="font_color_menu2_LINK" value="0,255,255">
<param name="color_menu2_RVB_DEG_style" value="H">
<param name="color_menu2_RVB_DEG1" value="79,176,167">
<param name="color_menu2_RVB_DEG2" value="68,53,125">
<param name="color_menu2_RVB_DEG_LINK_style" value="V">
<param name="color_menu2_RVB_DEG1_LINK" value="68,53,125">
<param name="color_menu2_RVB_DEG2_LINK" value="79,176,167">

<param name="menu3" value="Author">
<param name="menu3_sound" value="menus.au">
<param name="menu3_font" value="Arial,PLAIN,11">
<param name="menu3_font_LINK" value="Arial,PLAIN,13">
<param name="menu3_img" value="vert.gif,0,0">
<param name="menu3_img_LINK" value="vert.gif,0,0">
<param name="menu3_LINK" value=" , , ">
<param name="font_color_menu3" value="255,255,0">
<param name="font_color_menu3_LINK" value="255,255,0">
<param name="color_menu3_RVB_DEG_style" value="H">
<param name="color_menu3_RVB_DEG1" value="220,126,218">
<param name="color_menu3_RVB_DEG2" value="138,38,111">
<param name="color_menu3_RVB_DEG_LINK_style" value="V">
<param name="color_menu3_RVB_DEG1_LINK" value="255,0,0">
<param name="color_menu3_RVB_DEG2_LINK" value="0,0,0">

<param name="menu1_1" value="JavaBoutique">
<param name="menu1_1_sound" value="smenu.au">
<param name="menu1_1_font" value="Arial,PLAIN,12">
<param name="menu1_1_font_LINK" value="Arial,BOLD,12">
<param name="menu1_1_LINK" value="http://www.javaboutique.com,new1,Javaboutique">
<param name="menu1_1_img" value="juggler1.gif,83,2">
<param name="menu1_1_img_LINK" value="juggler.gif,83,2">
<param name="font_color_menu1_1" value="0,255,255">
<param name="font_color_menu1_1_LINK" value="255,255,0">
<param name="color_menu1_1_RVB_DEG1" value="37,245,53">
<param name="color_menu1_1_RVB_DEG2" value="151,104,17">
<param name="color_menu1_1_RVB_DEG1_LINK" value="151,104,17">
<param name="color_menu1_1_RVB_DEG2_LINK" value="37,245,53">
<param name="color_menu1_1_RVB_DEG_style" value="V">
<param name="color_menu1_1_RVB_DEG_LINK_style" value="H">

<param name="menu1_2" value="Java Sun">
<param name="menu1_2_sound" value="smenu.au">
<param name="menu1_2_font" value="Arial,PLAIN,12">
<param name="menu1_2_font_LINK" value="Arial,BOLD,12">
<param name="menu1_2_LINK" value="http://java.sun.com,new2,JavaSun">
<param name="menu1_2_img" value="juggler1.gif,83,2">
<param name="menu1_2_img_LINK" value="juggler.gif,83,2">
<param name="font_color_menu1_2" value="0,255,255">
<param name="font_color_menu1_2_LINK" value="255,255,0">
<param name="color_menu1_2_RVB_DEG1" value="37,245,53">
<param name="color_menu1_2_RVB_DEG2" value="255,128,128">
<param name="color_menu1_2_RVB_DEG1_LINK" value="151,104,17">
<param name="color_menu1_2_RVB_DEG2_LINK" value="235,220,73">
<param name="color_menu1_2_RVB_DEG_style" value="V">
<param name="color_menu1_2_RVB_DEG_LINK_style" value="V">

<param name="menu2_1" value="Version 1">
<param name="menu2_1_sound" value="smenu.au">
<param name="menu2_1_font" value="Arial,PLAIN,12">
<param name="menu2_1_font_LINK" value="Arial,BOLD,12">
<param name="menu2_1_LINK" value="http://www.multimania.com/samosdub/SaMoSMenu.zip,_top,Download the first version of this menu">
<param name="menu2_1_img" value="two.jpg,0,2">
<param name="menu2_1_img_LINK" value="sauve.gif,0,2">
<param name="font_color_menu2_1" value="0,0,0">
<param name="font_color_menu2_1_LINK" value="255,0,0">
<param name="color_menu2_1_RVB_DEG1" value="252,255,235">
<param name="color_menu2_1_RVB_DEG2" value="255,128,128">
<param name="color_menu2_1_RVB_DEG1_LINK" value="255,128,128">
<param name="color_menu2_1_RVB_DEG2_LINK" value="252,255,235">
<param name="color_menu2_1_RVB_DEG_style" value="V">
<param name="color_menu2_1_RVB_DEG_LINK_style" value="H">

<param name="menu2_2" value="Version 2">
<param name="menu2_2_sound" value="smenu.au">
<param name="menu2_2_font" value="Arial,PLAIN,12">
<param name="menu2_2_font_LINK" value="Arial,BOLD,12">
<param name="menu2_2_LINK" value="http://www.multimania.com/samosdub/SaMoSMenuV2.zip,_top,Download the second version of this menu">
<param name="menu2_2_img" value="two.jpg,0,2">
<param name="menu2_2_img_LINK" value="sauve.gif,0,2">
<param name="font_color_menu2_2" value="0,0,0">
<param name="font_color_menu2_2_LINK" value="255,0,0">
<param name="color_menu2_2_RVB_DEG1" value="252,255,235">
<param name="color_menu2_2_RVB_DEG2" value="255,128,128">
<param name="color_menu2_2_RVB_DEG1_LINK" value="255,128,128">
<param name="color_menu2_2_RVB_DEG2_LINK" value="252,255,235">
<param name="color_menu2_2_RVB_DEG_style" value="H">
<param name="color_menu2_2_RVB_DEG_LINK_style" value="V">

<param name="menu3_1" value="e-mail">
<param name="menu3_1_sound" value="smenu.au">
<param name="menu3_1_font" value="Arial,BOLD,12">
<param name="menu3_1_font_LINK" value="Arial,BOLD,14">
<param name="menu3_1_LINK" value="mailto:samos@informaticien.net,_top,please contact me">
<param name="menu3_1_img" value="marbre.gif,0,0">
<param name="menu3_1_img_LINK" value="marbre.gif,0,0">
<param name="font_color_menu3_1" value="0,0,0">
<param name="font_color_menu3_1_LINK" value="255,0,0">
<param name="color_menu3_1_RVB_DEG1" value="252,255,235">
<param name="color_menu3_1_RVB_DEG2" value="255,128,128">
<param name="color_menu3_1_RVB_DEG1_LINK" value="255,128,128">
<param name="color_menu3_1_RVB_DEG2_LINK" value="252,255,235">
<param name="color_menu3_1_RVB_DEG_style" value="V">
<param name="color_menu3_1_RVB_DEG_LINK_style" value="V">

<param name="menu3_2" value="URL Site">
<param name="menu3_2_sound" value="smenu.au">
<param name="menu3_2_font" value="Arial,BOLD,12">
<param name="menu3_2_font_LINK" value="Arial,BOLD,12">
<param name="menu3_2_LINK" value="http://www.multimania.com/samosdub,new4,My Web Site">
<param name="menu3_2_img" value="marron.gif,0,0">
<param name="menu3_2_img_LINK" value="marron.gif,0,0">
<param name="font_color_menu3_2" value="0,0,0">
<param name="font_color_menu3_2_LINK" value="255,0,0">
<param name="color_menu3_2_RVB_DEG1" value="252,255,235">
<param name="color_menu3_2_RVB_DEG2" value="255,128,128">
<param name="color_menu3_2_RVB_DEG1_LINK" value="255,128,128">
<param name="color_menu3_2_RVB_DEG2_LINK" value="252,255,235">
<param name="color_menu3_2_RVB_DEG_style" value="V">
<param name="color_menu3_2_RVB_DEG_LINK_style" value="V">

</APPLET>

5) CONCLUSION

This menu if free but if you use it, please give me your web site address.

If you find bugs or incompatibilities, please email me.

Thanks...


Back to the SamosMenu applet page

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.

 DevX Skillbuilding from IBM developerWorks
 RIA Run Contest: Build Next-Gen Apps in Microsoft Silverlight 2
 Avaya DevConnect Center
 Intel Go Parallel Portal
 Internet.com eBook Library
 Microsoft RIA Development Center
 Destination .NET
XML error: not well-formed (invalid token) at line 53
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%.

RIM Ups Ante With Mobile Software Push
Novell Readies Silverlight Clone for Linux
Yahoo Pitches The 'Next Generation of Search'
Alfresco's Latest ECM: Prying Open a Sector?
SaaS Tool Offers Custom Database Development
Microsoft’s Automated Agent: Can We Talk?
Borland Finally Sells CodeGear
Red Hat Heads for the JON 2.0
Out with the Old, in with the New at JavaOne
Trolltech Expands WebKit Footprint

Create Secure Java Applications Productively, Part 1: Use Rational Application Developer and Data Studio
.NET Building Blocks: Custom User Control Fundamentals
Secure Internet File-Sharing with PHP, MySQL, and JavaScript
Getting Started with TBB on Windows
Moving to VoIP: Should You Go It Alone?
Introduction to the WPF Command Framework
7.0, Microsoft's Lucky Version?
Will Hyper-V Make VMware This Decade's Netscape?
Eliminate Fragmentation Frustration with Netbiscuits
Taming Trees: Building Branching Structures

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



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES