Team:H14Z1 Hangzhou/JS-files/menu

$(function () {

   var menu = $("#menu");
   // Dynamically append the menu to the menu id on document ready
menu.append('
\n' +
       // Menu is ordered right to left
' \n' + '
'
   );
   menu.find("#menu_" + menu.attr("attribute")).addClass("active");  // Adds the active class to the correct element

});