PDA

View Full Version : Positioning of DHTML Menus



GeminiDaddy
07-15-2005, 04:53 PM
Script: Multiple Level Menus - HV Menu
http://www.dynamicdrive.com/dynamicindex1/indexc.html

I read the "post it" that specifically mentions that I probably won't get an answer to this, but I'm going to ask anyway, b/c I think the question may apply to DHTML menus in general.

In general, is the internally provided controls on a DHTML menu the only way in which one can control the position on the page? The HV Menu script allows the user to pinpoint the x and y location of the menu, however it is not accurate enough. Although the difference is maybe 1 or 2 px, it appears in slightly different locations In different browsers. Since I have a compact design to my pages, this slight difference is unacceptable.

The current menu that my pages use is based on a table, which seems to force an exact position on the page. Has anyone had a similar problem? - I don't want to have to redesign all of my pages just to accomodate a particular menu bar.

jscheuer1
07-16-2005, 01:43 PM
I often wonder what the thousands (probably much more) of happy users of these scripts do about this.

Twey
07-16-2005, 02:51 PM
He did say it was only due to his page design.
Gemini: if you really need to get it that precise, I'd say you should add a little browser-detection code in and shift it slightly to the right or left depending on what's needed.

jscheuer1
07-16-2005, 08:46 PM
I guess I can claim burnout on these third party menu scripts modifications. They are all different. Here's one example from the archives:

http://www.dynamicdrive.com/forums/archive/index.php/t-542.html