javascript - issues bootstrap 3 Carousel changing height to 0px and marigin to -.....px -
the carousel added site behaves strange. in periode of 2 slide slides up. height of parent div changes 0px , margin of child div gets negative margin. in examples on bootstrap site isn't happening. copied latest code bootstrap site, can't find doing wrong.
i love if me.
http://humandemo.cloudaccess.host header right @ top op page.
code used:
<div class="container"> <div id="mycarousel" class="carousel slide" data-ride="carousel"> <!-- carousel indicators --> <ol class="carousel-indicators"> <li data-target="#mycarousel" data-slide-to="0" class="active"></li> <li data-target="#mycarousel" data-slide-to="1"></li> </ol> <!-- wrapper carousel items --> <div class="carousel-inner"> <div class="item active"> <img src="/images/page-specific/home/iphone-comp-hw.png" alt="second slide"> </div> <div class="item"> <img src="/images/page-specific/home/iphone-comp-hw.png" alt="first slide"> </div> </div> <!-- carousel controls --> <a class="carousel-control left" href="#mycarousel" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="carousel-control right" href="#mycarousel" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div>
i guess work of mootools-more.js. script includes the fx.slide
class:
the slide effect slides element in horizontally or vertically. contents fold inside.
try comment script.
Comments
Post a Comment