Milonic DHTML Menu Sample

Milonic DHTML Website Navigational Menu

Horizontal Navigation Bar

The Horizontal Navigation Bar sample is probably the most common of menus and one that will be used the most.

It is completely independent of other HTML objects and can be positioned on the page in a number of ways.

Absolute positioning is achieved by setting a Top & Left value in the array. This will position the menu in exactly the same place on all browsers. Please note that browser margins will have an effect on the menus appearance. This can be fixed by setting your margin to zero for all browsers with the following HTML code.

<body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>

If you need the menu positioning 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.

"Screen Position" can set the menu to one of 3 vertical and 3 horizontal positions. left, center & right or top, middle & bottom. You can also combine a horizontal position with a vertical position. for example "center;middle" will position the menu in the center of your page. Please note the use of semi colon to separate the 2 properties.

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

Please Note: For the menu to work correctly in any version of Opera you must place the menu references inside the BODY of your documents. Opera will not display if you put the references in the HEAD.

- For more up to the minute information on new features and bug fixes visit Version Info
- Please join our Menu Newsletter, it's the best way to keep informed of new versions Join Newsletter here
- To open a page in another frame add " target=yourframe" to the link text for example
  ,"Your Text", "yourlink.htm target=yourframe",,,1
  You can also use _blank _new and _self etc. . . .
- To add more menus simply copy and paste other menu elements and edit them to suit.
- To position your menu anywhere on screen set the Top & Left values and remove any reference for "Screen Position"
- Offsets can be applied to both Top & Left positions for example:
- Information on commercial licenses can be found Here

      addmenu(menu=[
      "mainmenu",	// Menu Name
      20,		// Menu Top
      "offset=-200",	// Menu Left
      ,		// Menu Width
      1,		// Menu Border Width
      "center",	// Screen Position
      style1,		// Properties Array
      1,		// Always Visible
      "left",		// Alignment
      .......................

  The above will position the menu in the center of the screen minus 200 pixels.

- Please subscribe to the mailing list to be kept informed of updates Here