I've used
target.getAbsoluteTop() - currentDivThatIWantedToPosition.getParentNode().getAbsoluteTop()
to get the relative top position of the div (relative to target element). However it doesn't stay at that position if browser's scrollbar is moved as it would if position:fixed was enabled. But it's ok for my needs.
Bad FBML, bad!!!
Email this
Hits: 843
Comments (0)

Write comment


