Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<!-- Hook that adds edit in external editor to the options ;) -->
 
-
<script>
 
-
addOnloadHook(function() {
 
-
    var editTab = document.getElementById("ca-edit");
 
-
    if (!editTab) return;
 
-
    var editURL = editTab.getElementsByTagName("a")[0].href;
 
-
    addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", "");
 
-
});
 
-
</script>
 
<!-- Methode of injecting stuff into the header before page load! :D thank god that mediawiki includes jquery standard ;) -->
<!-- Methode of injecting stuff into the header before page load! :D thank god that mediawiki includes jquery standard ;) -->

Revision as of 14:01, 19 July 2012