Re:Ask HN: How do you create a "limited fixed div"?
by davidjeffries on Saturday January 10, 2009 @04:46AM
(#427841)
+1 for jQuery dimensions. That plugin is a godsend for doing things like this.
Re:Ask HN: How do you create a "limited fixed div"?
by sam_in_nyc on Saturday January 10, 2009 @04:52AM
(#427846)
scrollTop(), offset(), and the like are built in to the latest jQuery.
I love jQuery.
Note: Dimension type calculations vary widely among browsers, so using a library like jQuery dimensions is quite helpful.