I need a to create a slide show with previous and next buttons. So I found an example online. I tried implementing it but there is a part I dont understand: Cufon replacement. I dont know where to add the following code.
// Cufon title replacement
//Cufon.replace('#features .title')('h1')('h2')('#nav-main li a:not(#nav-main li div a)',{ hover: true })('.dropped-list .close')('.nav-segment p')('#hero .content p',{ hover: true })('.date');
//hasSearched = false;
if ($('.starter').length > 0)
{
$('.starter').cycle({
fx: 'scrollLeft',
timeout: 10000,
next: '#next',
prev: '#prev'
});
}
<div class="starter">
<img src="images/home_slideshow_1.jpg" alt="Slideshow 1" />
<img src="images/home_slideshow_2.jpg" alt="Slideshow 2" />
</div>