Difference between revisions of "User:Moussekateer/vector.js"
Moussekateer (talk | contribs) m |
Moussekateer (talk | contribs) m |
||
Line 7: | Line 7: | ||
$("#switch-to-3d").click(function() { | $("#switch-to-3d").click(function() { | ||
$(".container-2d").hide(); | $(".container-2d").hide(); | ||
− | $(".viewer-3d").show(); | + | $(".viewer-3d, .viewer-3d-multi").show(); |
}); | }); | ||
$("#switch-to-2d").click(function() { | $("#switch-to-2d").click(function() { | ||
− | $(".viewer-3d").hide(); | + | $(".viewer-3d, .viewer-3d-multi").hide(); |
$(".container-2d").show(); | $(".container-2d").show(); | ||
}); | }); |
Revision as of 17:23, 15 June 2013
importScriptURI('https://raw.github.com/Moussekateer/TFWiki-scripts/master/spambot_killer.js', 'text/javascript'); importScriptURI('https://raw.github.com/Moussekateer/TFWiki-scripts/master/wikifi_toolbox.js', 'text/javascript'); // 3D STUFF $("#switch-to-3d").click(function() { $(".container-2d").hide(); $(".viewer-3d, .viewer-3d-multi").show(); }); $("#switch-to-2d").click(function() { $(".viewer-3d, .viewer-3d-multi").hide(); $(".container-2d").show(); });