how to make scrollable DIV just like facebook ticker. i want to make scrollable DIV but i don't know how to make it. i searched question but i did not got it right
feedback
|
Edit : jQuery plugin for this type of scrolling : jScrollPane - cross browser styleable scrollbars with jQuery and CSS Org: just set
you need to set height and width of div as given above | |||||
feedback
|
The basic approach to making a div scrollable is to limit its width and height to something smaller than is required by its content, and to apply If you want to build a custom implementation, such as Facebook has, you would instead set The custom scrollbar that facebook has implemented uses a combination of several javascript and CSS features:
The purpose of Stack Overflow is not for us to build your entire component. If there is any single feature listed above that you cannot work out how to build, you should ask a question about that, and point out what you've tried. | ||||
feedback
|
and your script:
| |||
feedback
|
Try iScroll. It supports both mobile devices and the browsers. | |||||||
feedback
|
Facebook (and Google Reader) use custom scrollbar styling which is available as a non-standard part of CSS. Check out http://www.webkit.org/blog/363/styling-scrollbars/ for implementation details. It's worth noting that you will still need to have the | |||
feedback
|