为什么iview滑块会在一次滑动后自动降低iview-caption div的高度

时间:2014-07-25 10:24:55

标签: javascript jquery iview-ui

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>

enter image description here

0 个答案:

没有答案