Team:UCLondon/Templates/Navigation

From 2012e.igem.org

(Difference between revisions)
Line 163: Line 163:
   <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
   <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
   <script type="text/javascript">
   <script type="text/javascript">
-
       $("#action").html($(".left-menu > ul:has(a)").html() + $(".right-menu > ul:has(a)").html() );
+
       $("#action").html($(".left-menu > ul").children().has('a') + $(".right-menu > ul").children().has('a') );
-
      $(".hidden-menu li:not(a)").css('display', 'none');
+
   </script>
   </script>
</html>
</html>

Revision as of 19:45, 12 September 2012