Team:Freiburg/Templates/html/inlinejs.html
From 2014.igem.org
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 10: | Line 10: | ||
var unwantedStylesheets = document.head.querySelectorAll('head link[rel="stylesheet"], head style[type="text/css"]'); | var unwantedStylesheets = document.head.querySelectorAll('head link[rel="stylesheet"], head style[type="text/css"]'); | ||
for (var i=0;i<unwantedStylesheets.length; i++){ | for (var i=0;i<unwantedStylesheets.length; i++){ | ||
- | unwantedStylesheets[i]. | + | unwantedStylesheets[i].parentNode.removeChild(unwantedStylesheets[i]); |
} | } | ||
} | } | ||
Line 19: | Line 19: | ||
link.rel = "stylesheet"; | link.rel = "stylesheet"; | ||
document.getElementsByTagName("head")[0].appendChild(link); | document.getElementsByTagName("head")[0].appendChild(link); | ||
- | |||
}; | }; | ||
loadStylesheet('/Team:Freiburg/css/bootstrap.3.2.0.min.css?action=raw\u0026ctype=text/css'); | 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/magnific-popup.css?action=raw\u0026ctype=text/css'); | ||
+ | loadStylesheet('/Team:Freiburg/css/jquery.qtip.min.css?action=raw\u0026ctype=text/css'); | ||
loadStylesheet('/Team:Freiburg/css/styles_v2.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'); | loadStylesheet('/Team:Freiburg/css/styles_additional.css?action=raw\u0026ctype=text/css'); |
Latest revision as of 12:05, 13 October 2014