开发者

create html box with custom UI

开发者 https://www.devze.com 2023-01-11 09:59 出处:网络
I need to create a 开发者_JAVA技巧specifciof 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 w

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>
0

精彩评论

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