Malsup Cycyle - cant get it to start

Malsup Cycyle - cant get it to start

Hi,

I'm sort-of new to Jquery, but have successfully implemented plugins in the past. I'm currently building a site with Wordpress, and as this is one of my first ventures into PHP i've been modifying an existing theme. I'm trying to use the Malsup Cycle plugin to create a cycling banner at the top of my site, but no matter what I do I can't get it to cycle.

Here's the site (a work in progress)


and here's the relevant code from my header.php file

  1. <?php if ( is_single() ) wp_enqueue_script( 'comment-reply' ); ?>
  2. <?php wp_enqueue_script("jquery"); ?>
  3. <?php wp_head(); ?>

  4. <script type="text/javascript">

  5. // loopedSlider for image gallery
  6. jQuery(window).load(function(){
  7. jQuery("#loopedSlider").loopedSlider({
  8. <?php
  9. $autoStart = 0;
  10. $slidespeed = 600;
  11. $containerClick = "false";
  12. if ( get_option("woo_slider_auto") == "true" ) 
  13.   $autoStart = get_option("woo_slider_interval") * 1000;
  14. else 
  15.   $autoStart = 0;
  16.   
  17. if ( get_option("woo_slider_speed") <> "" ) 
  18. $slidespeed = get_option("woo_slider_speed") * 1000;

  19. if ( get_option("woo_slider_click") == "true" )
  20. $containerClick = "true";
  21. ?>
  22. autoStart: <?php echo $autoStart; ?>, 
  23. slidespeed: <?php echo $slidespeed; ?>, 
  24. containerClick: <?php echo $containerClick; ?>,
  25. autoHeight: true
  26. });
  27. });

  28. </script>
  29. <script type="text/javascript" src="<?php bloginfo("template_directory"); ?>/includes/js/jquery.cycle.lite.js"></script>

  30. <script type="text/javascript"> 
  31. $(document).ready(function() {
  32.     $('#slideshow').cycle({
  33. });
  34. });
  35. </script>

  36. </head>

  37. <body>
  38. <div id="wrap">
  39. <div id="top" class="content">
  40.     
  41.     <div id="header">
  42.         <div id="slideshow"> 
  43.         <img src="http://www.picturesmusic.co.uk/wordpress/wp-content/themes/object/bannerimg/ban01.jpg" class="first"/>
  44.         <img src="http://www.picturesmusic.co.uk/wordpress/wp-content/themes/object/bannerimg/ban02.jpg"/>
  45.         </div>

Can anyone point me in the right direction?

Thanks