开发者

jScrollPane - How to get fixed width for track

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜