Template:Toc: Difference between revisions

From The Official Visionaire Studio: Adventure Game Engine Wiki
No edit summary
No edit summary
Line 6: Line 6:
  $(".ftoc").hover(function() {
  $(".ftoc").hover(function() {
$(this).animate({left:'0px'}, 250);
$(this).animate({left:'0px'}, 250);
         $(".ftoc_content").fadeIn(3000);
         $(".ftoc_content").stop().fadeIn("fast");
  }, function() {
  }, function() {
$(this).animate({left:'-150px'}, 250);
$(this).animate({left:'-150px'}, 250);
       $(".ftoc_content").fadeOut("fast");
       $(".ftoc_content").stop().fadeOut("fast");
  });
  });
});
});

Revision as of 23:35, 20 August 2014

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