Admin Forum:A little issue with my switch template..

Forums: Admin Central Index → Technical Help → A little issue with my switch template.. Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

I'm using a switch template on my wiki inside of my monster info box. Everything works fine, it switches to each image with no issues. The only thing I can't figure out how to fix, is when the page first loads, the both baby image "buttons" are blacked out as if they we're both selected. I've been trying to set it so only the normal baby button is selected by default and have all other selectable.

When I click on one of the other buttons, then it's all fine with only 1 button selected with all others selectable. Hopefully I explained this properly lol

To see the template; it is here. As the page loads you can see that both "baby" words are blacked out when only the normal one should be by default with everything else having the ability to be selectable. Any help would be appreciated.

Thanks Hartmana (talk) 19:12, December 14, 2012 (UTC)


 * That is one scary template. My guess is the problem has to do with how the JS is interacting with Wikia's stuff, so your best bet is to use w:c:tinymonsters:Special:Contact/general. They might also help you separate out the JS into separate loadable pages which would make it easier to manage. -- Fandyllic (talk &middot; contr) 17 Dec 2012 5:53 PM Pacific


 * Think I fixed it, just had the "display:none" in the wrong place.
 * That isn't much of a scary template: check out this badboy!-- Category:Acer4666 02:13, December 18, 2012 (UTC)


 * Big thanks for the fix, really appreciate. Wow that other one is ... nuts! I wouldn't know where to begin :p Hartmana (talk) 02:48, December 18, 2012 (UTC)