Template:Toc: Difference between revisions
From The Official Visionaire Studio: Adventure Game Engine Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<html> | <html> | ||
<script | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$(".ftoc").hover(function() { | $(".ftoc").hover(function() { | ||
$(this).animate({left:0}, 1000); | $(this).animate({left:0}, 1000); | ||
} | }, function() { | ||
$(this).animate({left:-250}, 1000); | $(this).animate({left:-250}, 1000); | ||
}); | }); | ||
| Line 12: | Line 10: | ||
</script> | </script> | ||
</html> | </html> | ||
<noinclude>Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.</noinclude> | |||
<includeonly> | |||
<div class="ftoc">__TOC__</div> | <div class="ftoc">__TOC__</div> | ||
</includeonly> | </includeonly> | ||
Revision as of 22:15, 20 August 2014
Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.