Nov
27
2013
By Titto Jose

Earlier I did an article about how I created sticky blocks which scrolls along, when the pages are scrolled down (Sticky Blocks). Here is an update to that code. In earlier code, if an image is present in the content, the browsers fail to recognize the correct height of the content. This is because the height is taken before the images are loaded. A workaround for this is to execute the code after image load (as suggested in a stackoverflow thread).

What I did is I put the codes to...