Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) No edit summary |
Pianoforte (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><script> | ||
<script> | |||
function swap_costume() { | function swap_costume() { | ||
costumeSelection = document.getElementById("costumeSelection").value; | costumeSelection = document.getElementById("costumeSelection").value; | ||
Line 42: | Line 41: | ||
}); | }); | ||
</script> | </script><select id="costumeSelection" onchange="swap_costume()"> | ||
<select id="costumeSelection" onchange="swap_costume()"> | |||
<option value="<!--{$defaultpaths|escape:'html'}-->" selected="selected">Default</option> | <option value="<!--{$defaultpaths|escape:'html'}-->" selected="selected">Default</option> | ||
<option value="_mod">Mod</option> | <option value="_mod">Mod</option> | ||
Line 51: | Line 49: | ||
<option value="<!--{$costume4paths|escape:'html'}-->"><!--{$costume4name|escape:'html'}--></option> | <option value="<!--{$costume4paths|escape:'html'}-->"><!--{$costume4name|escape:'html'}--></option> | ||
<option value="<!--{$costume5paths|escape:'html'}-->"><!--{$costume5name|escape:'html'}--></option> | <option value="<!--{$costume5paths|escape:'html'}-->"><!--{$costume5name|escape:'html'}--></option> | ||
</select> | </select></includeonly> | ||
</includeonly> | |||
<noinclude> | <noinclude> |