-
9feaf239 :Anonymous
2010-12-28 20:28
-
コピペミスったw余分な括弧が入ってるw
temp = messages[i].innerHTML.toString();
temp = "<span style=\"color: #FFFFFF; background-color: #000000\">" + temp;
temp = temp.replace("[spoiler]", "</span><span style=\"font-size: small; color: #000000; background-color: #000000\">");
temp = temp.replace("[black]", "</span><span style=\"color: #FFFFFF; background-color: #000000\">");
temp = temp + "</span>";
messages[i].innerHTML = temp;
Powered by shinGETsu.