Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 3: Line 3:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
$(".ftoc").hover(function() {
 
$(".ftoc").hover(function() {
  $(this).animate{ left : '0px' }, 1000);
+
  $(this).animate({ left : '0px' }, 1000);
 
}, function() {
 
}, function() {
  $(this).animate{ left : '-150px' }, 1000);
+
  $(this).animate({ left : '-150px' }, 1000);
 
});
 
});
 
</script>
 
</script>

Revision as of 22:03, 20 August 2014

Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.