X/Y (left/top) coordinates required or is there another way?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
geoffs52
Beginner
Beginner
Posts: 1
Joined: Sat Feb 11, 2006 6:32 pm
Location: CT

X/Y (left/top) coordinates required or is there another way?

Post by geoffs52 »

It seems that the menu product relies on putting X/Y (left/top) coordinates to tell it where to render on the page. My site has some variable content that moves the page up and down a little depending on whether you are logged in or not - or even if we have an ad displayed up top or not. Is there any way to anchor the menu to a table cell instead?

Thanks for the help!
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Re: X/Y (left/top) coordinates required or is there another

Post by vikenk »

geoffs52 wrote:Is there any way to anchor the menu to a table cell instead?
Yes. See http://milonic.com/tablemenu.php

Quick desription: You move *only* the main menu items into a table, leaving all styles and submenus behind in the menu_data.js file. Then you set the menu items as "position=relative".

Read the link for detailed instructions. Hope this helps.
rwfresh
Beginner
Beginner
Posts: 2
Joined: Fri Feb 10, 2006 6:15 pm

Re: X/Y (left/top) coordinates required or is there another

Post by rwfresh »

Is there anyway to offset from the relative position?
vikenk wrote:
geoffs52 wrote:Is there any way to anchor the menu to a table cell instead?
Yes. See http://milonic.com/tablemenu.php

Quick desription: You move *only* the main menu items into a table, leaving all styles and submenus behind in the menu_data.js file. Then you set the menu items as "position=relative".

Read the link for detailed instructions. Hope this helps.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi
there are some more options
for instance setting a "Follow scrolling style menu"
please see
http://milonic.com/menusample10.php
or "Drag Drop Menus"
Please see
http://milonic.com/menusample22.php
or the popup Menu Function positioned by images
please see
http://milonic.com/menusample24.php
You will find these and a number of Samples here
http://milonic.com/menu.php
or via the Main menu
http://milonic.com/
- DHTML Menu - Samples


Michael
Post Reply