Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 564: | Line 564: | ||
pc.style.height = "2450px"; | pc.style.height = "2450px"; | ||
} | } | ||
+ | |||
+ | if(str == "Safety-block"){ | ||
+ | var read = "#" + str.replace("-block",""); | ||
+ | $(read).load("https://2014.igem.org/Team:UT-Tokyo/Counter/Project/Safety?action=raw",function(data){ | ||
+ | if(data == null){ | ||
+ | $(read).append("読み込みに失敗しました"); | ||
+ | } | ||
+ | }); | ||
+ | } | ||
+ | |||
var node = document.getElementById(str); | var node = document.getElementById(str); | ||
loading.style.display = "none"; | loading.style.display = "none"; |