如何制作像CodeIgniter用户指南中的弹出式目录?

https://www.codeigniter.com/user_guide/tutorial/index.html

Visit that link and look for the table of contents button at the upper right of the page. I want to apply that to the webpage I am making.

What do you call that design technique? Any links for tutorial on how to do it? Thank you very much.

To create that menu you can use css and jquery. Create a div with

position:absolute;top:-400px;width:auto;height:430px;

and you animate it with jquery. At click, set top:0px. You can use also animate jquery function. LE:

$(document).ready(function(){ $('div a').click(function(){ $(this).parent().css('top','0px'); $(this).addClass('opened');
$(this).click(function() { if($(this).hasClass('opened')){ $(this).parent().css('top','-280px'); } }) }); });

<div style="width:100%;background-color:red;position:absolute;height:300px;top:-280px;"><a href="javascript:void(0)" style="width:80px;height:20px;background-color:black;bottom:0;position:absolute;"></a></div>

It's a sample code. From here you can edit it and you can animate it. Good luck!