$("#notify").offsetParent(); //selects the element with id="notify" and then selects //the ancestor that is used to position that element
.offsetParent() method returns a jQuery object representing the closest ancestor element that has a CSS
position attribute of
fixed. This allows you to get the element used for positioning, which becomes critical when you need to get the size of the position container.