Hi, I've a problem in IE 6 and 7 with a Cycle slideshow embed in a horizontal scrollable div. I've used this technique ( http://www.switchonthecode.com/tutorials/using-jquery-slider-to-scroll-a-div ) to create the horizontal scrollable div. I would embed the Cycle slideshow in the scrollable div. All work normally in FF3, Opera, Chrome. In IE 6 and 7 the container of the images and the nav thumbnails are fixed, they don't scroll. Every other div or element in the scrollable div work fine.
This is my code:
<div id="content">
<div id="contentscroll">
<div id="contentholder">
<div class="contentitem">
<span class="name">ABC</span>
<span class="price">25 €</span>
<div class="photo">
<img src="642_03_prod[1].png" height="280" width="280" />
<img src="855_02_prod[1].png" height="280" width="280" />
<img src="856_01_prod[1].png" height="280" width="280" />
</div>
<ul class="colors">
<li><a href="#"><img src="642_03_prod[1].png" height="25" width="25" /></a></li>
<li><a href="#"><img src="855_02_prod[1].png" height="25" width="25" /></a></li>
<li><a href="#"><img src="856_01_prod[1].png" height="25" width="25" /></a></li>
</ul>
</div>
<!--- other contentitem --->
</div> <!--- end contentholder --->
</div> <!--- end contentscroll --->
</div> <!--- end content --->
This is the CSS:
#contentscroll {
background: transparent;
width: 990px;
height: 386px;
overflow: hidden;
}
#contentholder {
width: 1500px;
height: 386px;
}
.contentitem {
width: 330px;
height: 100%;
padding: 0;
float: left;
}
.contentitem .name, .contentitem .price {
width: 330px;
height: 18px;
margin:0;
padding: 0;
float: left;
text-align:center;
font:12px Arial, Helvetica, sans-serif;
color: #FFF;
}
.photo{
height: 280px;
}
ul.colors { margin:0; padding:0; height: 18px;}
ul.colors { list-style-type: none; display: inline; margin:0; padding:0; }
ul.colors li { background: none; display: inline; margin: 0; padding: 0; }
ul.colors li a { background: none; border: 0; margin: 0; margin-right: 2px; padding:0; color: #FFF;}
ul.colors li a img { background: none; border: 0; margin: 0; padding:0; }
This is the JS:
$('.photo').cycle({
fx: 'turnDown',
speed: 'fast',
timeout: 0,
pager: '.colors',
fastOnEvent: true,
slideExpr: null,
cleartype: true,
cleartypeNoBg: true,
pagerAnchorBuilder: function(idx, slide) {
// return selector string for existing anchor
return '.colors li:eq(' + idx + ') a';
}
});
Can anyone help me? Does Cycle apply CSS proprety to .photo and .colors and this fact create this issue? .name span e .price span scroll.