im trying to implement flexslider slides with vertical and simultaneous li by slide like carousel with fade effect but i cant find the correct behavior. My code:
<div class="flexslider">
<ul class="slides">
<?php
while ($reg = mysql_fetch_array($sql)){
echo "<li> //VERTICAL
<span>".$reg['title']."</span>
<ul class=\"work\"> //HORIZONTAL
<li>
<img src=\"".$reg['title']."/images/01.jpg\" />
</li>
<li>
<img src=\"".$reg['title']."/images/02.jpg\" />
</li>
<li>
<img src=\"".$reg['title']."/images/03.jpg\" />
</li>
</ul>
</li>";
}
?>
</ul>
and the JS
<script type="text/javascript">
$(window).load(function() {
$('.flexslider').flexslider({
animation: "fade",
animationLoop: false
});
});
</script>
The example
What am I doing wrong?
im trying to implement flexslider slides with vertical and simultaneous li by slide like carousel with fade effect but i cant find the correct behavior. My code:
<div class="flexslider">
<ul class="slides">
<?php
while ($reg = mysql_fetch_array($sql)){
echo "<li> //VERTICAL
<span>".$reg['title']."</span>
<ul class=\"work\"> //HORIZONTAL
<li>
<img src=\"".$reg['title']."/images/01.jpg\" />
</li>
<li>
<img src=\"".$reg['title']."/images/02.jpg\" />
</li>
<li>
<img src=\"".$reg['title']."/images/03.jpg\" />
</li>
</ul>
</li>";
}
?>
</ul>
and the JS
<script type="text/javascript">
$(window).load(function() {
$('.flexslider').flexslider({
animation: "fade",
animationLoop: false
});
});
</script>
The example
What am I doing wrong?
ul
to be an horizontal carrousel and the ul
set to be a vertical carrousel, is this it?
– Henrique Barcelos
Commented
May 17, 2013 at 14:48
As far as I understood, you want something like this:
$('.flexslider').flexslider({
animation: "fade",
direction: "vertical",
animationLoop: false
});
If the inner images aren't animated, this should do it.