Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 6: Line 6:
 
$(document).ready(function() {
 
$(document).ready(function() {
  
     $('.ftoc .ftoc_content p').slimScroll({
+
     $('.ftoc_content').slimScroll({
         height: 'auto'
+
         height: '290'
 
     });
 
     });
  
Line 23: Line 23:
 
</html>
 
</html>
 
<div class="ftoc">
 
<div class="ftoc">
  <div class="ftoc_content"><p>__TOC__</p></div>
+
  <div class="ftoc_content">__TOC__</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 01:29, 21 August 2014

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