Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) Created page with "<includeonly> <script> function swap_costume() { costumeSelection = document.getElementById("costumeSelection").value; $("#fullart a").attr("href", "/wiki/Spe..." |
Pianoforte (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
costumeSelection = document.getElementById("costumeSelection").value; | costumeSelection = document.getElementById("costumeSelection").value; | ||
$("#fullart a").attr("href", | temp = {{filepath:Springfield_costume1.png|420}} | ||
$("#fullart a img").attr("src", | $("#fullart a").attr("href", temp); | ||
$("#fullart a img").attr("alt", | $("#fullart a img").attr("src", temp); | ||
$("#fullart a img").attr("alt", temp); | |||
$("#fullart_D a").attr("href", "/wiki/Special:Redirect/file/Springfield" + costumeSelection + "_D.png"); | $("#fullart_D a").attr("href", "/wiki/Special:Redirect/file/Springfield" + costumeSelection + "_D.png"); |