Thread:Quilafa/@comment-3215248-20140116104207

Hey Quilafa,

I'm having some trouble trying to get the Switch Infobox's working, I've added the page User:Nabz010/SwitchInfobox.js which does the functionality for the switch infobox template, however the template doesn't work properly, it shows all tables which are in the switch infobox, when it should only be showing the table for which button is selected. I've checked the code in the javascript file over and over but I can't find the problem, I think that for some reason javascript is disabled on this wiki, I looked up online and it says to enable javascript I need to set the global variable $wgUseSiteJs equal to true, but I don't know where to find this variable. Any idea on how to do this?

Thanks 