开发者

jScrollPane - How to get fixed width for track

开发者 https://www.devze.com 2023-02-17 01:26 出处:网络
I am using jScrollPane on my website and everything 开发者_如何学Pythonworks fine but I want to do the following: Currently the track has a width of 100% (it stretches as much as the content does) but

I am using jScrollPane on my website and everything 开发者_如何学Pythonworks fine but I want to do the following: Currently the track has a width of 100% (it stretches as much as the content does) but I don't want to make it stretchable as the content, I want it to have a fixed width of for example 400px. Is there any chance that can be done? I have tried changing it in style.css but doesn't seem to work :(

Thank you


http://jscrollpane.kelvinluck.com/settings.html

horizontalDragMinWidth = 400; horizontalDragMaxWidth = 400;

i think this will do the trick

0

精彩评论

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