Team:UCLondon/Templates/Navigation
From 2012e.igem.org
(Difference between revisions)
Line 164: | Line 164: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
//$("#action").html( $(".left-menu > ul").children().has('a') ); | //$("#action").html( $(".left-menu > ul").children().has('a') ); | ||
+ | |||
+ | var str = ""; | ||
+ | var i = 0; | ||
+ | for (i = 0; i <$(".left-menu > ul").children().has('a').length; ++i){ | ||
+ | str += $(".left-menu > ul").children().has('a')[i].outerHTML; | ||
+ | } | ||
+ | $("#action").html(str); | ||
+ | |||
+ | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 20:09, 12 September 2012