Difference between revisions of "Template:T toggle"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
}
 
}
 
</style>
 
</style>
 +
<script>
 +
$(document).ready(function() {
  
<script>
 
 
google.load("jquery", "1.3.1");
 
google.setOnLoadCallback(function()
 
{
 
 
   // Color changer
 
   // Color changer
 
   $(".toggle_on").click(function(){
 
   $(".toggle_on").click(function(){
Line 27: Line 24:
 
       return false;
 
       return false;
 
   });
 
   });
+
 
 
});
 
});
 
</script>
 
</script>
  
 
<div class="toggle_div">
 
<div class="toggle_div">
  <span class="toggle_on">on</span><br/>
+
  <a class="toggle_on" href="#">on</span><br/>
  <span 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>