2

iview 滑块在每张幻灯片后自动降低 .iview-caption div 的高度,这就是我的内容剪切最后一行的原因。请任何人解决这个问题。这是代码: -

<div id="iview">
    <div data-iview:thumbnail="slider/img/photo1.jpg" data-iview:image="slider/img/photo2.jpg">
        <div class="iview-caption" data-x="130" data-y="50" data-transition="expandRight">
            Can’t decide if you hate    your job or your boss more? 
        </div>

        <div class="iview-caption caption1" data-x="0" data-y="40" data-transition="fade" data-speed="2000">
           <span>Thinking of changing jobs? <a href="#"><strong>Register here</strong> </a>  for exciting  new job opportunities with Staffing.</span></div>
        </div>

        <div data-iview:thumbnail="slider/img/photo2.jpg" data-iview:image="slider/img/photo1.jpg">
            <div class="iview-caption" data-x="130" data-y="50" data-transition="expandRight" >
                Research shows that 78% of resumes are misleading.
            </div>
            <div class="iview-caption caption1" data-x="0" data-y="40" data-transition="fade" data-speed="2000">
                <span>Want to find the other 22%? We’ve already done that for you.</span>
            </div>
        </div>
    </div>
</div>

在此处输入图像描述

4

0 回答 0