I am creating my own custom content slider and am wondering what the best way to go about it is using jQuery.
I want to have two buttons next/previous. When the user clicks next the current slide will slide to the left and the new slide will show.
How should I go about doing this in jQuery? I would use a plugin but they are so annoying when it comes to customization.
Code so far:
<!--Main slider content-->
<div class="contentslider_content" style=" float:left; width:890px; height:300px; border:1px solid #CCC; overflow:hidden;">
<div class="contentslider_slides slide_1" style=" float:left; width:890px; height:300px; background-color:#0F3"></div>
<div class="contentslider_slides slide_2" style=" float:left; width:890px; height:300px; background-color:#ccc"></div>
<div class="contentslider_slides slide_3" style=" float:left; width:890px; height:300px; background-color:#ccc"></div>
</div>
<!--Main slider content-->
<button class="next">Next</button>
<button class="previous">Previous</button>