简体   繁体   English

如何在jQuery中制作目录

[英]how to make table of content in jQuery

as I am beginer please tell me how I can make toc for my web page using jQuery. 初学者,请告诉我如何使用jQuery为自己的网页制作目录。 my page would look like this 我的页面看起来像这样

====== sample Table of Content ==== ======样本目录====

Introduction | 简介| > What is Web |_ > What is JavaScript Programming HTML5 | >什么是Web | _ >什么是JavaScript编程HTML5 | > Learn HTML5 | >学习HTML5 | > Your First Example >您的第一个例子

Try following article to create Table of Content using jQuery. 尝试以下文章使用jQuery创建目录。

http://www.jankoatwarpspeed.com/post/2009/08/20/Table-of-contents-using-jQuery.aspx http://www.jankoatwarpspeed.com/post/2009/08/20/Table-of-contents-using-jQuery.aspx

There are some plug-ins also available to do it. 也有一些插件可以做到这一点。

jQuery Plugin 1 jQuery插件1

jQuery Plugin 2 jQuery插件2

jQuery Plugin 3 jQuery插件3

我刚刚发布了Tocify ,这是一个受Can.jsJavaScript Garden启发的jQuery目录插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM