I am using Flexislider to slide my images.
My HTML code is :
<ul class='slides'>
<li class="slide-two" >
<div class="flex-div slide-stones2">
<div class="slide-footsteps">
<p>
<span class="brown-bg">Take the steps to be who you want to be...</span>
</p>
</div>
<div class="backstretch">
<img src="img/massage-slider/slide-footsteps.jpg"/>
</div>
</div>
</li>
<ul>
I am trying to add selector like this :
$(document).ready(function() {
$('.flexslider').flexslider({
selector : ".slides>li>div>div>img",
animation : "slide",
controlsContainer : ".flex-container"
});
});
). As Zenith pointed it, we cannot see .flexslider element in your code. BTW, do you want to use a flexslider for one image? I don't think so, but, who knows?! So, please consider to post relevant code not pseudo snippet this will help other users to focus on your issue.
– A. Wolff May 25 '13 at 10:03