Serious bug on 100% width caption slide
-
This bug happens with the jQuery version of master slider. The “#xxx” element below should occupy all the width (100%) but it does not, it occupies only part of the width. If I go to developer tools of the browser and manually set 100% of width it works fine. For some reason masterslider is converting 100% to 100px. Check this example:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Untitled Document</title><!– jQuery –>
<script type=”text/javascript” src=”//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js”></script>
<!– Master Slider –>
<link type=”text/css” rel=”stylesheet” href=”trocaimovelfacil.com.br/master-slider/masterslider.css”/>
<link type=”text/css” rel=”stylesheet” href=”trocaimovelfacil.com.br/master-slider/style.css”/>
<link type=”text/css” rel=”stylesheet” href=”trocaimovelfacil.com.br/master-slider/ms-caro3d.css”/>
<script type=”text/javascript” src=”trocaimovelfacil.com.br/master-slider/masterslider.min.js”></script></head>
<body>
<div class=”ms-caro3d-template”>
<div class=”master-slider ms-skin-default” id=”masterslider1″ align=”center”>
<div class=”ms-slide”>
<img src=”a7.jpg” style=”width:100px;” />
<div class=”ms-layer ms-caption” style=”bottom:0px; left:0px; padding:15px; width:100%; background:rgba(0,0,0,0.6); color:#FFFFFF;” align=”center”>
<div style=”font-size:24px; line-height:24px; margin-bottom:10px; text-shadow:0px 0px 5px rgba(0,0,0,0.8);”>Residencial por apenas R$ 400.000,00</div>
<div style=”font-size:30px; line-height:30px; text-shadow:0px 0px 5px rgba(0,0,0,0.8);”>S?o Paulo/SP</div></div>
</div>
<div class=”ms-slide”>
<img src=”a6.jpg” style=”width:100px;” />
</div>
<div class=”ms-slide”>
<img src=”a5.jpg” style=”width:100px;”/>
</div>
</div>
</div>
<script type=”text/javascript”>
master_slider1 = new MasterSlider();
master_slider1.setup(
“masterslider1”,
{width:610,
space:0,
loop:true,
view:”flow”,
????????????autoHeight:true}
);
</script>
</body>
</html>
- The topic ‘Serious bug on 100% width caption slide’ is closed to new replies.