简体   繁体   English

具有嵌套幻灯片+垂直缩略图的Jssor滑块

[英]Jssor slider with nested slide + vertical thumbnail

I would like to combine the nested slider option with a vertical thumbnail . 我想结合使用嵌套滑块选项垂直缩略图 I am looking at the source code for examples image-gallery-with-vertical-thumbnail.source.html and nested-slider.source.html and I am not sure how could I combine these two. 我正在查看示例image-gallery-with-vertical-thumbnail.source.html和nested-slider.source.html的源代码,但不确定如何将两者结合。 I mean both of them do have thumbnavigator, but how would I map the thumbnavigator to the currently selected sliderhx_container? 我的意思是他们两个都有拇指导航器,但是如何将拇指导航器映射到当前选择的sliderhx_container?

You can place child slider in any slide of parent slider. 您可以将子滑块放在父滑块的任何幻灯片中。

<div id="parent_slider" ...>
    <div u="slides" ...>
        <!-- slide 1 -->
        <div>
            <div id="sliderh1_container" ...>
                <!-- content of sliderh1 -->
            </div>
            <img u="thumb" src="sliderh1_thumb.jpg" />
        <div>
        <!-- slide 2 -->
        <div>
            <div id="sliderh2_container" ...>
                <!-- content of sliderh2 -->
            </div>
            <img u="thumb" src="sliderh2_thumb.jpg" />
        <div>
        <!-- slide x -->
        <div>
            <div id="sliderhx_container" ...>
                <!-- content of sliderhx -->
            </div>
            <img u="thumb" src="sliderhx_thumb.jpg" />
        <div>
    </div>
</div>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM