Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
m
m
Line 41: Line 41:
  
 
});
 
});
 
 
</script>
 
</script>
<script>jQuery(function ($) {
+
<script>
 +
jQuery(function ($) {
 
     $('.xxx').html("{{i18n|" + string + "}}");
 
     $('.xxx').html("{{i18n|" + string + "}}");
});</script></html>
+
});
 +
</script>
 
</html>
 
</html>
 
<div class="xxx">x</div>
 
<div class="xxx">x</div>
 
<div class="ftoc"><div class="ftoc_content">__TOC__</div></div>
 
<div class="ftoc"><div class="ftoc_content">__TOC__</div></div>
 
</includeonly>
 
</includeonly>

Revision as of 22:01, 30 October 2014

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