Difference between revisions of "Template:T toggle"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<no include>quick button to toggle theme</noinclude>
+
<no include>quick button to toggle theme {{t_toggle}}</noinclude>
 
<includeonly>
 
<includeonly>
 
<html>
 
<html>
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>