create html box with custom UI
I need to create a 开发者_JAVA技巧specifci of 600px x 800px dimension and I need the box with its very own scroll bar with custom UI. i dont want to use the browser's scrollbar as that would not gel with the rest of the design. Can anyone help me with this?
JScrollPane (jQuery plugin) helps you style scrollbars, might be what you need. Read this blog for example and opinion.
More info on Kelvin's site.
Is it related to jQuery? If not, you can use CSS overflow: scroll in order to have your own scrollbar in a block element such as a div
<div style="width: 800px; height: 600px; overflow: scroll">something</div>
精彩评论