Plugin jQuery: Automatically generating a table of contents with a smooth scroll effect

Automatically generating a table of contents with a smooth scroll effect
http://www.jqueryrain.com/?http://developerdrive.developerdrive.netdna-cdn.com/wp-content/uploads/2013/07/table-of-contents.html
http://www.developerdrive.com/2013/07/automatically-generating-a-table-of-contents-with-a-smooth-scroll-effect/
19/09/2013

Nội dung

Automatically generating a table of contents with a smooth scroll effect

I am writing a jQuery plugin that will automatically search for your headings and create a table of contents based on them for your blog post. We’ll also be adding a smooth scroll effect, so that when a user clicks on an entry they are brought to the right section. I know a table of contents is a bit of an unusual topic for a tutorial, but if you’re writing a help file for your product, or an FAQ it’s just as applicable. This tutorial also serves as an introduction to jQuery basics.


Nguồn: www.jqueryrain.com/2013/09/automatically-generating-table-contents-smooth-scroll-effect/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận