$(document).ready(function(){

  $("div.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled - Adds empty span tag after ul.subnav
  

  $("ul.menu li").hover(function() { //When trigger is clicked...
    
    //Following events are applied to the subnav itself (moving subnav up and down)
    $(this).find("div.subnav").show(); //Drop down the subnav on click

    }, function(){  
      $(this).find("div.subnav").hide(); //When the mouse hovers out of the subnav, move it back up
    
    //Following events are applied to the trigger (Hover events for the trigger)
    });

});

