Difference between revisions of "Template:Toc"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
 
<noinclude>Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.
 
<noinclude>Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.
Javascript's are in Template: MediaWiki:Common.js/ftoc.js and MediaWiki:Common.js/slimscroll.js
+
Javascript's ''were'' (they weren't loading correctly) in Template: MediaWiki:Common.js/ftoc.js and MediaWiki:Common.js/slimscroll.js
 
</noinclude>
 
</noinclude>
<includeonly>
+
<html>
 +
<script type="text/javascript" src="http://wiki.visionaire-tracker.net/extensions/jQuery-slimScroll-1.3.0/jquery.slimscroll.min.js"></script>
 +
<script type="text/javascript" src="http://wiki.visionaire-tracker.net/extensions/ftoc/ftoc.js"></script>
 +
</html>
 
<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 14:27, 7 November 2014

Generates a floating Table of contents menu in a fixed position on the left hand side of the screen. Javascript's were (they weren't loading correctly) in Template: MediaWiki:Common.js/ftoc.js and MediaWiki:Common.js/slimscroll.js

</includeonly>