我在什么地方见过这种效果之后,但我不记得这是什么所谓。我认为这是一个jQuery插件,不能确定。触发的东西变为可见时,滚动到它
基本上每次向下滚动页面,当你达到它成为活跃的一个新的文章,你可以运用各种漂亮的效果,而当它滚出它变为无效。
希望这能解释一下我在寻找:
#<article> #
#<h2> Entry 1</h2> #
#<p> lorem ipsum</p> # // this area is out of the screen
#</article> #
#<article class=active> #
#<h2> Entry 2</h2> #
------------------------- // from here one this area is visible
|<p> lorem ipsum</p> |
|</article> | // scroll past here the previous article loses .active
|<article> | // and this article becomes .active
|<h2> Entry 3</h2> |
|<p> lorem ipsum</p> |
|</article> |
|<article> |
|<h2> Entry 4</h2> |
|<p> lorem ipsum</p> |
|</article> |
编辑基本上我的目标是,文章列表是非常小的(图像和字体大小),但最上面的文章当变得可见时动画变成全尺寸,并且当另一个变成活动时再缩小。
查看端口似乎是正确的路径,我会尝试 – Moak 2010-10-09 05:14:45