Wheel Menu - Copyright (C) by Fabio Ciucci 1998 This applet is a 3d navigational menu: it can display up to 8 menu's, with 8 items each menu. Note: the labels can't contain numbers or special characters, and will be considered all as uppercase. The link feature works only when you are registered by paying for the shareware. This applet contains code by Dolf van der Schaar & Andrea Fasce who is used under license. The following 3 ".class" files must be uploaded: wheelmenu.class, Lware.class and anfy.class. Insert the tag in your html document as follows to add this applet to your page (Comments after the ";" symbol are code explanations and acceptable min/max values. They are not part of the applet language): ; Name, Width, Height ; Registration code (if you have it) ; Reglink opened in new frame? ; Name of new frame for reglink ; Filter (0=none, 1=smooth, 2=colorize) ; Font (0=font0.class, 1=font1.class) ; backgr. mode ("color","blur","image") ; Background image (in "image" mode) ; Background color (hex rrggbb) ; Wheel color (only in gouraud mode) ; Text color (only in gouraud mode) ; Selection color (gouraud only) ; Remove extrusion ("yes" or "no") ; Up/Down Mouse sensivity (-1000 .. 1000) ; Left/Right mouse sensivity (0 .. 20) ; Speed of submenu change (1 .. 100) ; Optional link-statusbar y position ; Mode ("gouraud" or "texture") ; Texture to use (only if mode=texture) ; Darkness of extrusion (mode=texture) ; Darkness of text (mode=texture) ; Text menu 0 item 0 ; Menu Link menu 0 item 0: submenu 1 ; Text menu 0 item 1 ; No links for menu 0 item 1 ; No Target for Url link menu 0 i. 1 ; Text menu 0 item 2 ; Url Link menu 0 item 2 ; No Target for Url link menu 0 i. 2 ; Text menu 0 item 3 ; Url link menu 0 item 3 ; Target for url link menu 0 item 3 ; Text menu 1 item 0 ; Menu link menu 1 item 0: go back ; Text menu 1 item 2 ; Url link menu 1 item 2 ; No Target for Url link menu 1 i. 2 ; Optional image over applet ; Over image X offset ; Over image Y offset ; Memory deallocation delay ; Task priority (1..10) ; Min. milliseconds/frame for sync Sorry, your browser doesn't support Java.; Message for no java browsers. ; End of applet tag --------- The following instructions detail how to change parameters: Attempting to change the credits parameter will disable the applet. To activate the reg parameters read the shareware registration notes. In the "regcode" parameter, place the registration code you purchased from the author. If the code is correct and the applet is run from the registered domain name, you can use "link" parameters to link to a URL when the applet is "clicked". If you set "regnewframe" to "YES", you can specify a specific frame location for the menu links: "_blank" : To load the link in a new blank unnamed browser window. "_self" : To load the link into the same window the applet occupies. "_parent" : To load the link into the immediate FRAMESET parent. "_top" : To load the link into the top body of the window. You can also set a custom frame name, such as "myframe1". Note: you can specify specific target for specific menu items, using the parameters MenuTargetXX. If no MenuTargetXX is specified, regnewframe is used. With "filter" parameter you can activate a smoothing/antialiasing filter, the values are 0=none, 1=smooth, 2=colorize. With "font" parameter you can choose the font. Actually, 2 fonts are available with the values "0" = font0.class (5 Kb), and 1 = font1.class (10 Kb). Remember to copy the font you use, together with other datas, on the site. With "background" parameter, you can choose the background mode: the "color" mode requires to set the parameter "bbcolor" parameter. The "blur" mode sets the background as black, and adds a motion blur effect. The "image" parameter requires to specify an image in "backimage" parameter. This image must be equal to applet size. You can choose to "extrude" the letters, or not, with the "flat" parameter. With flat=yes, the letters are not extruded. With "no", letters are extruded. You can controlo the Up/Down and Left/Righ Mouse sensivity with "mouseSens" and "YRotation" parameters respectively. With "offsetStep" you decide the speed of sub-menu appearances. With "statusbar_y" you can decide the postion of the text link statusbar. If you place here a value bigger than the height of the applet, the text will be not displayed. This line will be printed with the color specified into textcolor With the "mode" parameter you choose between "gouraud" and "texture". With "gouraud" mode, you activate the shading, and you have to choose the colors of wheel, with "wheelcolor", "textcolor" and "selectcolor". With "texture" mode, you disable the shading and use a texture, specified as a gif or jpg file with the parameter "texture": this image must be exactly 256x256 pixels. Then, you can specify how the unselected text is darket with "textdiff" parameter, and how the extrusion is darker, with "extrudediff" parameter. Menu System: This menu applet can display up to 8 items each wheel, and up to 8 wheels. Each item is defined with a menu identifier + an item identifier. For example, 00 means menu 0, item 0; 10 means menu 1, item 0; 22 means menu 2, item 2, and so on. The numeration starts from 0, so the max item is 7, max menu is 7. Each item should have a Text label: ; Text menu 0 item 0 The text can't contain numbers or special characters. Each menu item can have (or not have) a link. The link can be of 2 types: MenuLinkXX or MenuUrlXX: ; Menu Link menu 0 item 0: submenu 1 ; Menu link menu 1 item 0: go back When it's a MenuLink, it indicates to go to next sub wheel menu, or to go back to previous menu. To specify the submenu, you simply specify: 0,1,2,3,4,5,6... and you can go more than one step deeper, if you want: when you are on menu 2, you can go to submenu 3, or even to submenu 4 or 5, etc. To go back to previous menu, just specify the number of menu from where you was linked to the actual one. NOTE: since you can go to the previous menu clicking on the left of the applet window, you aren't obliged to specify a "BACK" item When it's a MenuUrl, you should specify a http:// or relative link to a file: ; Url Link menu 0 item 2 And, optionally, you can specify a target frame: ; Target for url link menu 0 item 3 If no target frame is specified, the "regframename" will be used.