繁体   English   中英

jCarousel Lite-多个宽度的图像?

[英]jCarousel Lite - multiple width images?

我正在使用jCarousel Lite

有人知道以此方式获得多个宽度图像的方法吗? 我已将divs放在列表中,因此我可以在某些幻灯片上获得除图像以外的内容(甚至不确定那是否正确吗?

          <div class="jCarouselLite">
            <ul>

                <li>  
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 870px;">
                        <table width="870" height="420" cellpadding="0" cellspacing="0">
                        <tr>
                        <td width="270" height="420" valign="top">
                        <span class="headlines">Title 1</span><br>
                        <span class="bodycopy"><p>xxxxxxxxxxxxx</p></span>
                        </td>
                        <td width="600" height="420" margin="200px">
                        <img src="images/image0.jpg" width="600"/> <!--500px with 100px image spacer-->
                        </td>
                        </tr>
                        </table>
                    </div>
                </li>

               <li>
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 870px;">
                    <table width="870" height="420" cellpadding="0" cellspacing="0">
                    <tr>
                    <td width="870" height="420" valign="top">
                    <img src="images/image1.jpg" width="870px"/> <!--500px with 100px image spacer-->
                    </td>
                    </tr>
                    </table>
                    </div>
                </li>

                <li>
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 870px;">
                        <table width="870" height="420" cellpadding="0" cellspacing="0">
                        <tr>
                        <td width="270" height="420" valign="top">
                        <span class="headlines">Title 2</span><br>
                        <span class="bodycopy"><p>xxxxxxxxxx</p></span>
                        </td>
                        <td width="600" height="420">
                        <img src="images/image2.jpg" width="600"/>  <!--500px with 100px image spacer-->
                        </td>
                        </tr>
                        </table>
                        </div>
                </li>

                <li>
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 600px;">
                    <table width="600" height="420" cellpadding="0" cellspacing="0">
                    <tr>
                    <td width="600" height="420" valign="top">
                        <img src="images/image3.jpg" width="600px"/> <!--500px with 100px image spacer-->
                    </td>
                    </tr>
                    </table>
                    </div>
                </li>

                <li>

                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 1200px;">
                    <table width="1200" height="420" cellpadding="0" cellspacing="0">
                    <tr>
                    <td width="1200" height="420" valign="top">
                        <img src="images/image4.jpg" width="1200px"/> <!--1100px with 100px image spacer-->
                    </td>
                    </tr>
                    </table>
                    </div>
                </li>

                <li>
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 700px;">
                    <table width="700" height="420" cellpadding="0" cellspacing="0">
                    <tr>
                    <td width="700" height="420" valign="top">
                        <img src="images/image5.jpg" width="700px"/> <!--600px with 100px image spacer-->
                    </td>
                    </tr>
                    </table>
                    </div>
                </li>               

                <li>
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 700px;">
                    <table width="700" height="420" cellpadding="0" cellspacing="0">
                    <tr>
                    <td width="700" height="420" valign="top">
                        <img src="images/image6.jpg" width="700px"/> <!--600px with 100px image spacer-->
                    </td>
                    </tr>
                    </table>
                    </div>
                </li>               

                <li>
                <div class="slideshow-content" style="visibility: visible; position:
                relative; z-index: 100; left: 0px; width: 835px;">
                    <table width="835" height="420" cellpadding="0" cellspacing="0">
                    <tr>
                    <td width="835" height="420" valign="top">
                        <img src="images/image7.jpg" width="835px"/> <!--465px with 100px image spacer - 270px end-->
                    </td>
                    </tr>
                    </table>
                    </div>
                </li>               



            </ul>
        </div>

谢谢大家,最终使用了这个: http : //www.switchonthecode.com/tutorials/jquery-creating-a-slideshow

我发现的唯一一个轮播允许多幅宽度的图像!

再次感谢

暂无
暂无

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

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