Combining Jquery Cycle and Lightbox

Combining Jquery Cycle and Lightbox

Hi, 

I've been trying to combine these two functions, with no luck . 

Cycle works perfect on its own
So does Lightbox. 

Here's the of my page : 

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

  5. <title>Untitled</title>
  6. <link href="css/lucas.css" rel="stylesheet" type="text/css" />
  7. <link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />



  8. <!-- Arquivos utilizados pelo jQuery lightBox plugin -->
  9. <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>

  10.     

  11. <script src="scripts/jquery-1.5.1.js"type="text/javascript"></script>
  12. <script type="text/javascript" src="scripts/grace-fade.js"></script>
  13. <script type="text/javascript" src="scripts/pngfix.js"></script>

  14. <!-- include Cycle plugin -->
  15. <script src="scripts/jquery.cycle.all.min.js"type="text/javascript"></script>
  16. <script src="scripts/scripts.js" type="text/javascript"></script>



  17. <style type="text/css">
  18. /* jQuery lightBox plugin - Gallery style */
  19. #slideshow {
  20. background-color: #FFF;
  21. padding: 0px;

  22. }
  23. #slideshow ul { list-style: none; }
  24. #slideshow ul li { display: inline; }
  25. #slideshow ul img {
  26. }
  27. #slideshow ul a:hover img {
  28. color: #fff;
  29. }
  30. #slideshow ul a:hover { color: #fff; }
  31. </style>




  32. </head>

  33. <body>

  34. <div id="container">   

  35. <div class="menu">
  36.   <div id="name" class="fade"><a href="javascript:ajaxpage('intro.html', 'content')"></a>
  37.   </div>

  38.  <div id="aw2011" class="fade"><a href="javascript:ajaxpage('aw2011.html', 'content') "></a></div>
  39.     <div id="ss2011" class="fade"><a href="javascript:ajaxpage('ss2011.html', 'content') "></a></div>
  40.     <div id="aw2010" class="fade"><a href="javascript:ajaxpage('ss2010.html', 'content') "></a></div>
  41.         <div id="stocklists" class="fade"><a href="javascript:ajaxpage('stocklists.html', 'content') "></a></div>
  42.     <div id="press" class="fade"><a href="javascript:ajaxpage('press.html', 'content') "></a></div>
  43.     <div id="info" class="fade"><a href="javascript:ajaxpage('info.html', 'content') "></a></div>
  44.        
  45. </div>
  46. </div>
  47. <div id="content"></div>
  48. </div>
  49. </body>
  50. </html>
Here's the script  :

  1. function ajaxpage(url, containerid) {
  2.     var $container= $('#' + containerid);
  3.     $container.hide().load(url, function() {
  4.             $container.fadeIn();
  5.   
  6.   $(function() {

  7. $('#slideshow img:first').fadeIn(7000, function() {

  8.       

  9.     });

  10. });

  11.    $('.slideshow')
  12.     .cycle({
  13.          next: '#next2',
  14.             prev: '#prev2',
  15.           fx:   'fade', 
  16.          speed:'1500',
  17. timeout: 0,
  18.  
  19. after: function() {
  20.     var alt = $(this).attr('alt');
  21.     // do something with alt text
  22.     $('#someElement').html(alt);
  23. }
  24.       });
  25.      
  26.     });
  27. }

  28.   $(function() {
  29.         $('#slideshow a').lightBox();
  30.     });
  31. // JavaScript Document  


Is there an issue with the versions of Cycle, Jquery, Lightbox i'm using??
Am i supposed to use 'NO CONFLICT' somewhere?

Any ideas or help??

Thank you for your time. 
x