How do I add controls to slideshow?

How do I add controls to slideshow?

Hi,

I'm trying to redesign the homepage of our website and have set up a duplicate homepage to test on which you can view here: http://baseballsoftballuk.com/homepagetestfortconly/

The slideshow is already there, I believe using JQuery Cycle but I want to add buttons so you can jump to a slide rather than have to wait for it to come around again. 

I've seen the 'pager' option here:  http://jquery.malsup.com/cycle/pager.html and I'd like to add something similar to our slideshow but I can figure out where to put that code as, no matter how I do it, it doesn't seem to add a pager to our homepage, is there something else I need to puyt in the HTML for the page or the CSS for the site?

Also, is there someway of re-styling the numbers to bullet points or something a little more stylish than what is there?

The section of the site's javascript file that applies to the feature section is below, hope this helps but let me know if I need to post anything from the JQuery Cycle file or anything else.

Many Thanks in advance for any help you can provide.

  1. // Home page featured area

  2. $(document).ready(function(){
  3. $('.feature_images')
  4. .cycle({ 
  5. fx:     'fade', 
  6. speed:  300,
  7. timeout: 4000,
  8. before: function(currSlideElement, nextSlideElement, options, forwardFlag) {
  9. $('.feature_list li').removeClass('highlight');
  10. $('.feature'+($(nextSlideElement).index()+1)).addClass('highlight');
  11. $('.feature1').hover(function() {
  12. $('.feature_images').cycle(0);
  13. $('.feature_list li').removeClass('highlight');
  14. $(this).addClass('highlight');
  15. }, function() {}
  16. );
  17. $('.feature2').hover(function() {
  18. $('.feature_images').cycle(1);
  19. $('.feature_list li').removeClass('highlight');
  20. $(this).addClass('highlight');
  21. }, function() {}
  22. );
  23. $('.feature3').hover(function() {
  24. $('.feature_images').cycle(2);
  25. $('.feature_list li').removeClass('highlight');
  26. $(this).addClass('highlight');
  27. }, function() {}
  28. );
  29. $('.feature4').hover(function() {
  30. $('.feature_images').cycle(3);
  31. $('.feature_list li').removeClass('highlight');
  32. $(this).addClass('highlight');
  33. }, function() {}
  34. );
  35. $('.feature5').hover(function() {
  36. $('.feature_images').cycle(4);
  37. $('.feature_list li').removeClass('highlight');
  38. $(this).addClass('highlight');
  39. }, function() {}
  40. );

  41. $('.feature_list li').click(function() {
  42. var url = $(this).find('a').attr("href");
  43. $(location).attr('href',url);
  44. });
  45. });
The HTML for the page is as follows:

  1. <div class="featured_wrapper clearfix">
  2. <div class="featured">

  3.             
  4.                 <div class="featured_shadow"></div>
  5. <div class="feature_images">
  6.                 

  7.                {exp:channel:entries channel="featured" limit="5" dynamic="no"}    


  8. <div class="slider">
  9. <a href="{if "{featured_link}"<>""}{featured_link}{if:else}/news/view/{related_entries id="featured_news_link"}{url_title}{/related_entries}{/if}"><img src="{featured_image}" alt="{title}" /></a>
  10. <div class="headline">
  11. <div class="headline_bot">
  12. <h3><a href="{if "{featured_link}"<>""}{featured_link}{if:else}/news/view/{related_entries id="featured_news_link"}{url_title}{/related_entries}{/if}">{title}</a></h3>
  13. <p><a href="{if "{featured_link}"<>""}{featured_link}{if:else}/news/view/{related_entries id="featured_news_link"}{url_title}{/related_entries}{/if}">{featured_abstract}</a></p>
  14. <div class="controls">
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19.  {/exp:channel:entries}
  20. </div><!--/feature_images-->
  21.             
  22.                 

  23.                 <ul class="feature_list">
  24.                     {exp:channel:entries site="not moo" channel="not moo" entry_id="{exp:n_categories:get_news_bsuk frontpage='TRUE'}" orderby="date" paginate="bottom" limit="5" dynamic="no" parse="inward"}
  25.                         <li class="feature">
  26.                             <a href="{url_title_path="/news/view"}">{title}</a>
  27.                        
  28.                     {/exp:channel:entries}
  29.                 </ul>
  30. </div><!--/featured_shadow-->
  31. </div><!--/featured-->
  32. </div><!--/featured_wrapper-->