I am creating custom div scroller and want to set top position of content div. My jquery code is as below:
containerOuterHeight=$(\"#messagePopUpContainer\").out
Just for reference, if you are using:
$(el).offset().top
To get the position, it can be affected by the position of the parent element. Thus you may want to be consistent and use the following to set it:
$(el).offset({top: pos});
As opposed to the CSS methods above.