Difference between revisions of "Template:T toggle"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "<no include>quick button to toggle theme {t_toggle}</noinclude> <includeonly> <html> <style> .toggle_div { position: fixed; width: 100px; height: 200px; right:0px; background:...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<no include>quick button to toggle theme {t_toggle}</noinclude>
+
<no include>quick button to toggle theme {{t_toggle}}</noinclude>
 
<includeonly>
 
<includeonly>
 
<html>
 
<html>
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>