title: Show and Hide Menu Bars
body: <p><strong>I have a set of menu bars which I have been editing</strong> </p>
  
  <p><a href="http://carbonyzed.co.uk/menu/2/" rel="nofollow">http://carbonyzed.co.uk/menu/2/</a> using</p>
  
  <p><a href="http://carbonyzed.co.uk/menu/2/css/style.css" rel="nofollow">http://carbonyzed.co.uk/menu/2/css/style.css</a> and </p>
  
  <p><a href="http://carbonyzed.co.uk/menu/2/js/custom.js" rel="nofollow">http://carbonyzed.co.uk/menu/2/js/custom.js</a> ]</p>
  
  <p>I have created these menu bars however instead of it poping out like it currently does, I need <strong>to make it pop out like in</strong></p>
  
  <p><a href="http://carbonyzed.co.uk/menu/1/" rel="nofollow">http://carbonyzed.co.uk/menu/1/</a> - the css for this one lies withing the index.html file itself</p>
  
  <p>Sorry for posting links, hopefully you can view the code like I did, the <strong>custom.js code</strong> is here</p>
  
  <pre><code>$(document).ready(function() {
  
  // Adds title attributes and classnames to list items
  
  $("ul li a:contains('History')").addClass("dashboard").attr('title', 'Dashboard');
  $("ul li a:contains('Links')").addClass("pages").attr('title', 'Pages');
  $("ul li a:contains('Media')").addClass("media").attr('title', 'Media');
  $("ul li a:contains('Campaigns')").addClass("history").attr('title', 'History');
  $("ul li a:contains('Messages')").addClass("messages").attr('title', 'Messages');
  $("ul li a:contains('Maintenance')").addClass("settings").attr('title',  
  'Settings');
  
  // Add class to last list item of submenu
  
  $("ul.submenu li:last-child").addClass("last");
  
  $("ul li:has(ul)").click(function(){
      $(this).find("ul.menu").stop("true", "true").slideDown(500);
      }, function(){
      $(this).find("ul.menu").stop("true", "true").slideUp(500);
  });
  
  });
  </code></pre>
  
  <p>I felt that posting the links would be better than posting loads of code.</p>
  
  <p>Thank you to everybody in advance for taking the time to help me with this. I can provide FTP access if necessary to <a href="http://carbonyzed.co.uk/menu/" rel="nofollow">http://carbonyzed.co.uk/menu/</a></p>
  
  <p>Regards</p>
  
  <p>Henry Aspden</p>