I would like to know how I can change the Slide Show script below so that it works with two action controls named Next and Previous and I need the Slide to only change the text if the user clicks one of the buttons to make the change of the Slide Show.
Jquery
jQuery(document).ready(function(){
$(function(){
$('#slideshow h4:gt(0)').hide();
setInterval(function(){
$('#slideshow :first-child').fadeOut(2000)
.next('div').fadeIn(2000)
.end().appendTo('#slideshow');},
2000);
});
});
HTML
<div id="slideshow">
<div class="slideshow-element">Test 1</div>
<div class="slideshow-element">Test 2</div>
<div class="slideshow-element">Test 3</div>
<div class="slideshow-element">Test 4</div>
</div>
CSS
.slideshow-element{
position: absolute;
}