Jquery Effect only runs once, won't repeat

Jquery Effect only runs once, won't repeat

Hi, I'm making a website at http://adc-design.com and I'm trying to create a menu using Jquery 1.3.2. Anyways, if you look at the tabs in my header, they have an effect but it only works once. After I mouse over the same tab a second time, they do not animate. I also have a similar menu at http://adc-design.com/dev/index.html which uses drupal 1.4.2. You may notice the second menu also will fade to a darker gray. If i copy and past that code into my drupal block, it will still only animate one time. Do i need to include something extra because its version 1.3.2??? I also have another Jquery plugin below the header which is called a S3SLIDER. I'm not calling the jquery script up more than once. 
Here's the code for the Jquery menu at adc-design.com:
  1. <head>
  2. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  3. <title>Nice Menu : CSS Animation & jQuery Animate</title>
  4. <link rel="stylesheet" type="text/css" media="screen, projection" href="/demo.css" />
  5. <script type="text/javascript" src="/modules/jquery_ui/jquery.ui/jquery-1.3.2.min.js"></script>
  6. <script type="text/javascript" src="/jquery.color.js"></script>
  7. <script type="text/javascript">
  8. $(document).ready(function() {
  9. $('#menu-jquery li a').hover(
  10. function() {
  11. $(this).css('padding', '6px 25px')
  12. .animate({'paddingLeft' : '50px', 
  13. 'paddingRight' : '15px', 
  14. 'backgroundColor':'rgba(0,0,0,0.5)'}, 
  15. 'fast');
  16. }, 
  17. function() {
  18. $(this).css('padding', '6px 25px')
  19. .animate({'paddingLeft' : '50px', 
  20. 'paddingRight' : '15px', 
  21. 'backgroundColor' :'rgba(0,0,0,0.2)'}, 
  22. 'fast');
  23. }).mousedown(function() {
  24. $(this).animate({'backgroundColor': 'rgba(0,0,0,0.1)'}, 'fast');

  25. }).mouseup(function() {
  26. $(this).animate({'backgroundColor': 'rgba(0,0,0,0.5)'}, 'fast');
  27. });
  28. });
  29. </script>
  30. </head>
  31. <body>
  32. <div id="container2">
  33. <div id="container">
  34. <ul id="menu-jquery">
  35. <li><a href="#">Home</a></li>
  36. <li><a href="#">About</a></li>
  37. <li><a href="#">Portfolio</a></li>
  38. <li><a href="#">Contact</a></li>
  39. </ul>
  40. </div>
  41. </BODY>
And here is the code for the menu that works properly:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <title>Nice Menu : CSS Animation & jQuery Animate</title>
  7. <link rel="stylesheet" type="text/css" media="screen, projection" href="demo.css" />
  8. <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
  9. <script type="text/javascript" src="jquery.color.js"></script>
  10. <script type="text/javascript">
  11. $(document).ready(function() {
  12. $('#menu-jquery li a').hover(
  13. function() {
  14. $(this).css('padding', '2px 25px')
  15. .animate({'paddingLeft' : '40px', 
  16. 'paddingRight' : '10px', 
  17. 'backgroundColor':'rgba(0,0,0,0.5)'}, 
  18. 'fast');
  19. }, 
  20. function() {
  21. $(this).css('padding', '2px 20px')
  22. .animate({'paddingLeft' : '25px', 
  23. 'paddingRight' : '25px', 
  24. 'backgroundColor' :'rgba(0,0,0,0.2)'}, 
  25. 'fast');
  26. }).mousedown(function() {
  27. $(this).animate({'backgroundColor': 'rgba(0,0,0,0.1)'}, 'fast');

  28. }).mouseup(function() {
  29. $(this).animate({'backgroundColor': 'rgba(0,0,0,0.5)'}, 'fast');
  30. });
  31. });
  32. </script>
  33. </head>
  34. <body>
  35. <div id="container">
  36. <ul id="menu-jquery">
  37. <li><a href="#">Home</a></li>
  38. <li><a href="#">About</a></li>
  39. <li><a href="#">Portfolio</a></li>
  40. <li><a href="#">Contact</a></li>
  41. </ul>
  42. </BODY>
I do not know what to do, please help! thanks, austin.