Milonic Home Page Information and Benefits of Milonic Products Some Samples of DHTML and JavaScript Products Download DHTML Menu Purchase Milonic JavaScript DHTML Products Tech Support Contact Milonic
Member Login - Search: Sitemap
Current Menu Version: 5.954 dated Thursday October 14 2021 Click to Download
Vertical Plain Text Menu














Vertical Plain Text Menu
The Vertical Plain Text Menu sample is identical to the Horizontal menu in every way except for one slight difference. The orientation property in the main menu has been removed thus enabling the default orientation of 'vertical' to take precedence.

Note that the technique for disabling properties is complete removal from the data file. This saves space and also assists in making the data file easier to read and understand. The removal of a property can be either deleting the property as a whole or by 'commenting out' by prefixing the property with the // characters

The Vertical Plain Text Menu is a quite a common menu and is normally used in either the left hand or right hand column of web sites.

Absolute positioning is achieved by setting a Top & Left value in the data file. This will position the menu in exactly the same location on all browsers.

If you need to position the menu relative to other objects or relative to page dimensions, you can use one of the many menu positioning techniques that are built into the Milonic DHTML Menu. You can also declare the main menus position as relative. All of the parameters for menus must be entered after the menus with(milonic=new menuname("menuname")){ declaration and before any menu items have been declared. For more details on menu properties, please visit the menu properties page here: Menu Properties Quick Reference

The "screenposition" parameter will set the menu to one of 3 vertical and/or one of 3 horizontal positions. left, center, right or top, middle, bottom. You can also combine a horizontal position with a vertical position. for example screenposition="center;middle"; will position the menu in the center of your page and keep it there, even if the user resizes the browser window. Please note the use of semi colons to separate the 2 properties. Additional tweaking of the position can be achieved by using offsets. These are declared for the top & left properties. All offsets must be enclosed inside quotes and the syntax is left="offset=-100"; or top="offset=200";

In order to set the position of the menu to relative, you will need to declare a position of "relative" within the menu parameter area with position="relative"; This will allow you to embed the menu inside a table cell or within the natural flow of the document.

Even more positioning can be achieved with the following samples Attached to a Table Cell and Positioned with Offsets

  • Dynamic Downloads are possible for the Vertical Plain Text Menu demo
  • The code for this menu sample will be generated on the fly and compiled into a .ZIP file format for downloading onto your own machine.

Click here to download this sample

Note that you need to be logged in to download the menus and the download delivered will depend on your current license status.

Purchase The Menu

Download DHTML Menu

See our list of Menu users

Milonic provide full featured pull down web menus for some of the worlds largest companies

Learn about how Milonic's DHTML menus can benefit your site

What does it cost? DHTML Menu prices

Who is using us?
Sample Client list

Bespoke menu design and build service from the Milonic team

Our bolt-on modules provide free optional extras for specialist projects

Free icons and images for all licensed users with our Menu Imagepack

What is Milonic up to at the moment? Check our blog