Forum Moderators: open

Message Too Old, No Replies

troulbe with controling position with js

trying to position a menu with js

         

flying monkey

8:09 am on Jan 1, 2004 (gmt 0)

10+ Year Member



in my code i am tring to postions a menu. right it positions it at teh top of the page. but i want to put it in to a cell of a table. with out the positioning code the menu does not work right. is this possible to do?

cpear

12:35 am on Jan 3, 2004 (gmt 0)

10+ Year Member



Here is the trick:
1) Hide a blank pixel image in the table cell.
2) Locate the x and y position of the pixel image.
3) Finally dynamically position the layer which the menu resides in based on the values of the hidden pixel image.

flying monkey

4:25 pm on Jan 4, 2004 (gmt 0)

10+ Year Member



well i really dont want to do it that way but if i have to how do i find the x and y position of the blnak image.