Template:Toc: Difference between revisions
From The Official Visionaire Studio: Adventure Game Engine Wiki
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
}); | }); | ||
/* | |||
$(".ftoc").hover(function() { | $(".ftoc").hover(function() { | ||
$(".ftoc").stop().animate({left:'0px'}, 250, function() { | $(".ftoc").stop().animate({left:'0px'}, 250, function() { | ||
| Line 25: | Line 26: | ||
}); | }); | ||
}); | }); | ||
*/ | |||
$(".ftoc").hover(function() { | |||
$(".ftoc").stop().animate({left:'0px'}, 250); | |||
}, function() { | |||
$(".ftoc").stop().animate({left:'-150px'}, 250); | |||
}); | |||
}); | }); | ||
</script> | </script> | ||
</html> | </html> | ||
Revision as of 01:45, 21 August 2014
Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.