Difference between revisions of "Widget:StatTable"
Jump to navigation
Jump to search
Pianoforte (talk | contribs) |
Pianoforte (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<script> | <script> | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
function swap_costume() { | function swap_costume() { | ||
Line 25: | Line 16: | ||
} | } | ||
+ | |||
+ | RLQ.push(function () { | ||
+ | $(document).ready(function() { | ||
+ | if (document.getElementById("stat_table")) { | ||
+ | st_element = document.getElementById("stat_table"); | ||
+ | st_element.outerHTML = | ||
+ | '<div id="stat_table" style="color:blue"><!--{$dmg_max|escape:'html'}--></div>' | ||
+ | } | ||
+ | swap_costume(); | ||
+ | }); | ||
+ | }); | ||
</script> | </script> |