Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
 
+
<!-- Methode of injecting stuff into the header before page load! :D thank god that mediawiki includes jquery standard ;) -->
<script type='text/javascript'>
<script type='text/javascript'>
-
// Methode of injecting stuff into the header before page load! :D thank god that mediawiki includes jquery standard ;)
 
$(document).ready( function() {
$(document).ready( function() {
     $("head").append("<link>");
     $("head").append("<link>");
Line 14: Line 13:
</script>
</script>
 +
<!-- Remove all empty <p> tags -->
 +
<script type="text/javascript">
 +
    $(document).ready(function() {
 +
        $("p").filter( function() {
 +
            return $.trim($(this).html()) == '';
 +
        }).remove()
 +
    });
 +
</script>
 +
 +
 +
<!-- JQuery menu animations -->
<script type='text/javascript'>
<script type='text/javascript'>
function mainmenu(){
function mainmenu(){
Line 29: Line 39:
</script>
</script>
 +
<!-- Facebook script -->
<script type='text/javascript'>
<script type='text/javascript'>
   window.fbAsyncInit = function() {
   window.fbAsyncInit = function() {

Revision as of 09:44, 2 July 2012