Difference between revisions of "Template:T toggle"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
</style>
 
</style>
 
<script>
 
<script>
 +
$(document).ready(function() {
 +
 
   // Color changer
 
   // Color changer
 
   $(".toggle_on").click(function(){
 
   $(".toggle_on").click(function(){
       $("link").attr("href", "Chameleon2.css");
+
       $("link").attr("href", "http://wiki.visionaire-tracker.net/index.php?title=MediaWiki:Chameleon2.css");
 
       return false;
 
       return false;
 
   });
 
   });
 
    
 
    
 
   $(".toggle_off").click(function(){
 
   $(".toggle_off").click(function(){
       $("link").attr("href", "Chameleon.css");
+
       $("link").attr("href", "http://wiki.visionaire-tracker.net/index.php?title=MediaWiki:Chameleon.css");
 
       return false;
 
       return false;
 
   });
 
   });
 +
 +
});
 
</script>
 
</script>
  
 
<div class="toggle_div">
 
<div class="toggle_div">
  <a class="toggle_on">on</span><br/>
+
  <a class="toggle_on" href="#">on</span><br/>
  <a class="toggle_off">off</span>
+
  <a class="toggle_off" href="#">off</span>
 
</div>
 
</div>
 
</html>
 
</html>
 
</includeonly>
 
</includeonly>

Latest revision as of 17:06, 22 August 2014

<no include>quick button to toggle theme <no include>quick button to toggle theme Template loop detected: Template:T toggle</noinclude>