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...

Oct
06
2013
By Titto Jose

My objective was to create a block which remains as a sticky block in the sidebar of the page when the window is scrolled. Also the blocks below the sticky block need to move along with it. The sticky blocks should stop moving once they reach the end of sidebar and no longer should move when the page is scrolled.

The basic script I got it from here (andrewhenderson.me), which I modified for my purpose. I needed additional features, such as the blocks (blocks may vary on different...