开发者

What JS framework offers scroll functionality (+animation) in a div without a scrollbar?

All: I want to scroll through a sequence of tumblr/twitter posts as a long sequence of texts.

Let's say we have:

<div id="mainContent">
     _some content_
</div>

where the css for mainContent is:

#mainContent {
    padding: 20px 20px; 
    background: #FFF;
    height:500px;
    overflow:hidden;
}

I really like the functional开发者_JAVA百科ity of Scrollable jQuery, but they require pagination and an array of elements.

I'm looking for tips in any of these categories:

  • a js framework I can use to achieve this
  • a solution to paginating the text


Found a solution through YUI.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜