The first div is the '#icon-selection-menu'
bar, it's idle position is absolute with top:0px
and left:0px
. So it appears at he top left corner inside the content div.
Deep in the content div children I got other divs which are actually kind of '.emoticon-button'. Their position is relative inside their parent. On such button click I'd like to position the first div just above the button, adjusting it's bottom border to the button's top border.
How can I get top and left values to set $('#icon-selection-menu').top
and $('#icon-selection-menu').left
?