Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
 +
<script>
 +
$(".ftoc").hover(function() {
 +
$(this).animate{ left : '0px' }, 1000);
 +
}, function() {
 +
$(this).animate{ left : '-150px' }, 1000);
 +
});
 +
</script>
 
<noinclude>Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.</noinclude>
 
<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" onmouseover="function(){$(this).animate({'left:0px'}, 1000);}" onmouseout="function(){$(this).animate({'left:-150px'}, 1000);}">__TOC__</div></includeonly>
+
<includeonly><div class="ftoc">__TOC__</div></includeonly>

Revision as of 22:01, 20 August 2014

<script> $(".ftoc").hover(function() {

$(this).animate{ left : '0px' }, 1000);

}, function() {

$(this).animate{ left : '-150px' }, 1000);

}); </script> Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.