Template:Toc: Difference between revisions

From The Official Visionaire Studio: Adventure Game Engine Wiki
No edit summary
No edit summary
Line 1: Line 1:
<script type="text/javascript">
$(document).ready(function() {
$(".ftoc").hover(function() {
  $(this).animate({left:0}, 500);
} else {
  $(this).animate({left:-250}, 500);
});
});
</script>
<noinclude>Generates a floating Table of contents menu in a fixed position on the left hand side of the screen with: {{toc}}</noinclude>
<noinclude>Generates a floating Table of contents menu in a fixed position on the left hand side of the screen with: {{toc}}</noinclude>
<includeonly>
<includeonly>
<div class="ftoc">__TOC__</div>
<div class="ftoc"onmouseover="function(){$(this).animate({left:'0px'}, 500);}" onmouseout="function(){$(this).animate({left:'-250px'}, 500);}">__TOC__</div>
</includeonly>
</includeonly>

Revision as of 21:17, 20 August 2014

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