Difference between revisions of "User:Moussekateer/vector.js"
Moussekateer (talk | contribs) m |
Moussekateer (talk | contribs) m |
||
Line 2: | Line 2: | ||
importScriptURI('https://raw.github.com/Moussekateer/TFWiki-scripts/master/wikifi_toolbox.js', 'text/javascript'); | importScriptURI('https://raw.github.com/Moussekateer/TFWiki-scripts/master/wikifi_toolbox.js', 'text/javascript'); | ||
+ | |||
+ | // 3D STUFF | ||
+ | |||
+ | $("#switch-to-3d").click(function() { | ||
+ | $(".viewer-2d").hide(); | ||
+ | $(".viewer-3d").show(); | ||
+ | }); | ||
+ | |||
+ | $("#switch-to-2d").click(function() { | ||
+ | $(".viewer-3d").hide(); | ||
+ | $(".viewer-2d").show(); | ||
+ | }); |
Revision as of 11:35, 14 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() { $(".viewer-2d").hide(); $(".viewer-3d").show(); }); $("#switch-to-2d").click(function() { $(".viewer-3d").hide(); $(".viewer-2d").show(); });