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: Thursday February 8 2018 - 06:02:18

positioning relative to a graphic


Poster: Silverion
Dated: Monday December 8 2003 - 16:36:54 GMT

i am having problems positioning the menu on top of a graphic. When the screen is resized, the menu shifts its horizontal position, and it needs to stay fixed.

One solution would be to position the menu centered horizontally on the page. How would you center it horizontally? Or is there a better way to put the menu on top of a graphic?

::NOTE: url to the site is http://www.digitaldistillation.tk ::


Poster: John
Dated: Monday December 8 2003 - 16:59:19 GMT

Looking at it now in XP Pro/IE6, and the menu does not move when the window is resized. Is that not what you want?


Poster: Silverion
Dated: Monday December 8 2003 - 17:05:12 GMT

i was just editing it a bit. refresh your window now. it should be a horizontal bar.

now i am wondering weither ie6 handles something differently than ie5.6


Poster: John
Dated: Monday December 8 2003 - 17:12:07 GMT

Silverion wrote:i was just editing it a bit. refresh your window now. it should be a horizontal bar.

It is (and was before). Now the graphic moves on resize and the menu still stays in place.
Silverion wrote:now i am wondering weither ie6 handles something differently than ie5.6

Probably, knowing M$...


Poster: Silverion
Dated: Monday December 8 2003 - 17:15:51 GMT

ok, its kind of wierd. i was trying to mess with it a lil to see if it would work, and apparently one of the settings I did made it work, but on my browser it did something wierd where the bottom border of the menu would grow by one pixel everytime it was resized.

can you give me the CORRECT code for the browsers to make the menu stay at its top offset, but to be centered?

::NOTE: menu_data.js is here:
http://digital.dyns.net/menu_data.js

edit: yes, the graphic WILL move on resize, but thats why the menu needs to be centered because if it is centered, it will always fall on the right place


Poster: John
Dated: Monday December 8 2003 - 18:16:04 GMT

Code: Select all

target=contentwindow;

Typically not what we're after there. target=_new;, target=_top;, etc.

As for positioning, see http://www.milonic.com/menusample.php?sampleid=23. Check the other samples and especially the Quick Reference guides while you're there.