Team:TU Delft/menu test
From 2010.igem.org
(Difference between revisions)
Line 68: | Line 68: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | |||
+ | // this runs when page is loaded | ||
+ | $(function() { | ||
+ | |||
$("#navlist > *").each (function() { | $("#navlist > *").each (function() { | ||
// load URL from link element | // load URL from link element | ||
Line 85: | Line 89: | ||
$(this).addClass("button_pointer"); | $(this).addClass("button_pointer"); | ||
}); | }); | ||
+ | |||
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 19:44, 4 June 2010