Team:SDU-Denmark/menu
From 2012.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
<script type="text/javascript" src="https://2012.igem.org/Team:SDU-Denmark/smoothscroll.js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2012.igem.org/Team:SDU-Denmark/smoothscroll.js?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | |||
+ | <!-- Remove all empty <p> tags --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove() | ||
+ | }); | ||
+ | </script> | ||
<!-- special for this menu page --> | <!-- special for this menu page --> |
Revision as of 17:50, 30 August 2012