How do I make Highslide thumbstrip scrollable?

冷暖自知 提交于 2019-12-12 01:54:56

问题


I wonder how to make a highslide thumbstrip scrollable for cases when there are too many thumbnails to fit into it.

I've got a highslide gallery here: http://civicsector.org.ua/multimeda/foto/208-akcya-geroyi-nezalezhnost.html

However, the thumbnails in it get oblated so that all of them fit into the thumbstrip. Instead, I want them to keep the aspect ratio and to make the thumbstrip scrollable, just like here: http://www.roadrash.no/hs-support/gallery-in-page+caption-above-thumbstrip.html

It seems that my code is identical to what is in the example page, but for some reason the output is different.

Could please anyone help me with it?

Thanks.


回答1:


Bootstrap's CSS (bootstrap.css:101) is clonflicting with Highslide, add this to your CSS

.highslide-thumbstrip-horizontal img
{
   max-width: inherit;
}



回答2:


Your own CSS is colliding with the Highslide JS CSS. In the bootstrap.css file, lines 101 and following, you have this:

img {
   ...
   max-width: 100%;
   ...
}

Remove that max-width attribute.



来源:https://stackoverflow.com/questions/26778316/how-do-i-make-highslide-thumbstrip-scrollable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!