|
|||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Menu Builder was designed to overcome problems found with using JavaScripts for rollovers in navigation menus. Menus need to be fast loading, retrievable from cache, and workable with page inserts. From the publishing point of view they need to be able to be distributed to pages efficiently. When using page inserts for headers and directories, JavaScript poses problems unless the script is in the header of the nesting page. The code needed on the page for Menu Builder is simpler and the scripts are run from a separate (class) file kept in the same folder. Once downloaded the class file is then served from cache saving download time on visits to other pages on the site. Menu Builder enjoys the same rollover functions as JavaScript, but in a simple package that can be easily copied to your web pages. To increase your directory, simply paste another Menu Builder to the page. There is no limit to how many can be used on a page or the variations possible. Each applet can perform the following functions which can either be modified or switched off: Click a link below for the information: Below is the applet code as seen in html. The parameter fields are what is used to configure your button effects. The entries appearing between "_" can be edited and are your control of the applet's features: APPLET
code=ArtistscopeMenu.class width=140 height=30 - the
size is given in pixels and must match the size of your images to avoid
cropping. Each of the parameters are optional except "author" and if any are not desired should be left blank between the quotes. For example, a blank field for the targetFrame value will leave the applet with no link at all. If you are editing in Page view your applet will not show the images and will look like those below. To align your menu it can be in a "table" as seen below. The table can be used to control the spacing between buttons and makes copying the set to other pages easier.
When aligning tables for tight fits, editors tend to add seemingly unnecessary spaces that need to be removed. If you cannot get your table to smugly fit around the image, check the html code and remove all spaces at the end of the table lines, and then close up the gap between the last TD tag and the image reference. Menu Builder is warranted to work as outlined but not with the absolute variations possible. For example, some animated gifs work on different layers. When you get a good one email it to menu@artistscope.net for publishing on our users page with a credit. To qualify, the button must be exactly 150 x 40 pixels. Animated gifs and sound files may not exceed 10 kb total. |