Difference between revisions of "Template:Toc"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 12: | Line 12: | ||
railOpacity: 0.2, | railOpacity: 0.2, | ||
allowPageScroll: false, | allowPageScroll: false, | ||
− | alwaysVisible: | + | alwaysVisible: true, |
disableFadeOut: true | disableFadeOut: true | ||
}); | }); | ||
Line 28: | Line 28: | ||
*/ | */ | ||
$(".ftoc").hover(function() { | $(".ftoc").hover(function() { | ||
− | $(".ftoc").stop().animate({left:'0px'}, 250); | + | $(".ftoc").stop().animate({left:'0px'}, 250, function() { |
+ | $(".ftoc_content").stop().animate({left:'5px'}, 250); | ||
+ | }); | ||
}, function() { | }, function() { | ||
$(".ftoc").stop().animate({left:'-150px'}, 250); | $(".ftoc").stop().animate({left:'-150px'}, 250); | ||
+ | $(".ftoc_content").stop().animate({left:'-500px'}, 250); | ||
}); | }); | ||
Revision as of 01:48, 21 August 2014
Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.