Saturday, February 26, 2011

Spotlight: Constrained Stickies with jQuery

Floating content as a user scrolls through the rest of the page is child’s play. No JavaScript is necessary — you can do it with just plain old CSS. Slap a position: fixed declaration on it and boom!, you have a container that is fixed in a specific location in the page — it’s floating in the page to be more colloquial.

0 comments:

Post a Comment