Floating menu relative to point in web page content.
Posted on 2003-02-27
I am trying to develop a floating menu that will move along the x axis relative to the page content. The site will be 800x600 and centred on the page, and I am looking to have the menu float up and down in a defined area of the page. Viewing the page at 1024x768, however, menans that the menu's give coordinates are no longer within this area.
Is it possible to 'anchor' it to a point from which it's positional reference can be calculated from? I would ideally like to insert a point on the page so that irrespective of screen resolution, the menu will still appear at teh designated position.
Also, is it possible to find out the x,y coordinated of the <div> / <layer> to reference pop up menu component positions so that as the menu floats down the page, the the popups remain in position relative to the menu?
Sorry if I am a little confusing with my explanation of my problem, as you can imagin I do not totally understand it :).
Any guidance on any of these points would be greatly appreciated.