Welcome to WebmasterWorld Guest from 35.175.120.174

Forum Moderators: open

Message Too Old, No Replies

troulbe with controling position with js

trying to position a menu with js

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

Junior Member

10+ Year Member

joined:Oct 7, 2003
posts:65
votes: 0


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?
12:35 am on Jan 3, 2004 (gmt 0)

New User

10+ Year Member

joined:Dec 9, 2003
posts:10
votes: 0


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.
4:25 pm on Jan 4, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 7, 2003
posts:65
votes: 0


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.