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.
精彩评论