Team:Grenoble/script
From 2011.igem.org
(Difference between revisions)
Maxime.huet (Talk | contribs) |
Maxime.huet (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<!-- jQuery Tools (slider) --> | <!-- jQuery Tools (slider) --> | ||
<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | ||
Line 58: | Line 50: | ||
} | } | ||
); | ); | ||
+ | </script> | ||
+ | <!-- Remove all empty <p> tags --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove() | ||
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 20:48, 21 October 2011