Team:Freiburg/Templates/html/inlinejs.html
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
} | } | ||
} | } | ||
+ | function loadStylesheet(href) { | ||
+ | var link = document.createElement("link"); | ||
+ | link.href = href; | ||
+ | link.type = "text/css"; | ||
+ | link.rel = "stylesheet"; | ||
+ | document.getElementsByTagName("head")[0].appendChild(link); | ||
+ | console.log("appending: "+ href); | ||
+ | }; | ||
+ | loadStylesheet('/Team:Freiburg/css/bootstrap.3.2.0.min.css?action=raw\u0026ctype=text/css'); | ||
+ | loadStylesheet('/Team:Freiburg/css/magnific-popup.css?action=raw\u0026ctype=text/css'); | ||
+ | loadStylesheet('/Team:Freiburg/css/styles_v2.css?action=raw\u0026ctype=text/css'); | ||
+ | loadStylesheet('/Team:Freiburg/css/styles_additional.css?action=raw\u0026ctype=text/css'); | ||
})(); | })(); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 20:31, 8 October 2014