Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:12

Relative and HTML object based - Is this possible?

Poster: Drew99
Dated: Tuesday September 16 2003 - 20:28:45 BST

I have a web page that has a title bar made of images. The title bar is centered on the page and could move up or down due to browser differences, font size settings, etc. I want this to happen (if my user wants bigger fonts I respect that).

I'd also like to use it only for the pop-up menus, leaving the top level elements as images in a table (HTML object based). I'd prefer not to draw the entire menu using javascript - leaving the top level items as plain old HTML avoids another compatibility issue and means I don't need to code special cases for non-javascript browsers.

Can Milonic menu be used in this case? The sample that uses HTML elements to drop the menu seems to require all screen coordinates be fixed. The sample that shows a relatively positioned menu seems to require that the whole menu be drawn through javascript instead of using my HTML elements as triggers.

Poster: John
Dated: Tuesday September 16 2003 - 21:12:25 BST

See data at, and the site at However, this is a fixed menu, not a scroller, but it should get you started.

Poster: Drew99
Dated: Tuesday September 16 2003 - 21:58:47 BST

Thanks for the response!
The menu on your page is drawn by the Milonic function - I'm looking more for something that has HTML with an <a> tag triggering a dropdown menu. Along with that, the menu should align itself relative to the object that was mouse overed, regardless of how it lays out on the client's computer due to browser and font size, etc.

The learning curve on this is kind of steep, so I'm wondering if I should invest the time to figure out? It seems that it may not be possible, but I don't want to discover this after 5 days of trying to get it to work.

Poster: Maz
Dated: Tuesday September 16 2003 - 22:25:26 BST

Maybe Dave could suggest a trigger tag.

In my design it would be easy to have an html link that turns on and off the menu. Right now while its acting up, you can see how one menu is placed on top of the other. You can't tell the difference between either except for now that the top position is off.

I think an on/off link would work nicely if its possible.

(I wish I kept the first version where there was a link in the html page to turn on and off the vertical menu.)


Poster: Hergio
Dated: Wednesday September 17 2003 - 3:52:17 BST

Try this...another gentleman wanted something like this and this was the best I could come up with at the time. Give it a shot.

Poster: Drew99
Dated: Wednesday September 17 2003 - 19:29:58 BST

This looks like it will do what I want - thanks a lot. It would have taken me a long time to come up with something like this.

Are there any downsides that you can think of? Does this technique reduce cross-platform functionality at all?

Thanks again!

Poster: Hergio
Dated: Wednesday September 17 2003 - 20:10:50 BST

No not that I can see. All you are displaying is your nice images along the top with a popup event attached to them. And then below them are the menus bound to the cells relatively. Cant see anything wrong. Also, I have yet to see this implemented yet, so if you get it working or have problems, please let me know (either on the forum or my email), because maybe we could improve it.

Poster: Drew99
Dated: Friday October 3 2003 - 19:29:12 BST

I'm having some trouble with this working on NS4. The menus appear relative to thier cell in other browsers, but in NS4 they appear absolute to the upper left corner of the screen. I've put more detail into a post at the bottom of this thread:



Poster: Hergio
Dated: Saturday October 4 2003 - 21:06:44 BST

I touched on that topic again, go see.