Hey there,
I'm trying to understand how to get the position of elements on the page... basically, how to find the position of a parent and then lining up the child to that parent.
I searched for hours on the web about offsetLeft and offsetParent... but it's not making sense.
I used this in an example for menus on the www.musiciansatlas.com website to get those submenus with less than three to line up under their parent menu.
But I have no clue what I did.
For Mozilla/Safari, I did:
Subnav5.style.left = Subnav5.offsetParent;
It works (don't ask me how), but is that the right syntax?
Donna
|