新月の開発

207921eb :Anonymous 2010-12-28 20:19
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;

こんな感じ。うそHTMLなんで修正求むw
Powered by shinGETsu.