inOutViewClass plugin for jQuery

If you scroll my blog page up and down and look at it carefully, you will see a fade in/out effect happens while scrolling. To create this effect I develop a jQuery’s plugin called “inOutViewClass”. It checks each matched elements to see whether it’s in the view or not; then add “inViewClass” or “outViewClass” based on its condition.

read more…