ERRO Cycle2 carousel Responsive
Bom Dia Pessoal, tenho um projeto parado porque não consigo por este cycle carousel totalmente responsivo, segui todas os caminhos indicados no site (http://jquery.malsup.com/cycle2/demo/carousel.php), mas sem sucesso, sempre a div do carousel fica com o height original em qualquer tamanho de tela (p/ vizualizar o problema coloquei um background yellow) , e se tiro a height o carrossel desaparece.
Alguem dá uma força ai
Obrigado
javascript e html:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>carrossel</title>
<link rel="stylesheet" href="css/estilo2.css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://malsup.github.com/jquery.cycle2.js"></script>
<script src="http://malsup.github.com/jquery.cycle2.carousel.js"></script>
</head>
<body>
<div class="topo cycle-slideshow"
data-cycle-fx="carousel"
data-cycle-timeout="4000"
data-cycle-easing=""
data-cycle-speed="3000"
data-cycle-carousel-visible="11"
data-cycle-carousel-fluid="true"
data-cycle-pause-on-hover="true"
data-cycle-paused=""
data-cycle-slides="img"
data-cycle-reverse="true"
data-cycle-auto-height="true">
<img src="http://malsup.github.io/images/beach1.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach2.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach3.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach4.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach5.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach6.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach7.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach8.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach9.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach5.jpg" alt=""/>
<img src="http://malsup.github.io/images/beach6.jpg" alt=""/>
</div>
</body>
</html>
agora o css
div.topo{
width:91%;
height:155px;
margin-left:4.584375%;
margin-top:19.53125%;
background-color:yellow;
}
.topo img{
padding:0.015625%;
margin-top:0.078125%;
}Discussão (0)
Carregando comentários...