Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
m
m
Line 43: Line 43:
  
 
</script>
 
</script>
 +
<script>jQuery(function ($) {
 +
    $('.xxx').html("{{i18n|" + string + "}}");
 +
});</script></html>
 
</html>
 
</html>
<html><script>jQuery(function ($) {
+
<html><div class="xxx">x</div>
    $('.xxx').html("{{i18n|" + string + "}}");
 
});</script></html><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:00, 30 October 2014

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