(Original blog) How to Make a blog show classification in tree mode? (Web) (JavaScript)

Source: Internet
Author: User

Abstract
Currently, few blogs use tree-based classification methods. At least they have not yet been provided in the blog. This article will share my insights.

Introduction
Currently, blogs are generally divided into categories and standards. I personally like the classification methods of traditional blogs. For a long time, I have always hoped that there would be sub-structures like trees. For example, C/C ++ is a big classification, but C/C ++ can be classified as STL and template, this sorting method is similar to the data manager of the case, and the msdn Library also uses this method, but unfortunately it is rarely seen on the blog.

There are two possibilities for providing this tree: server side or client side. ASP. NET 2.0 has built a Treeview control internally. If you use C # To add a website without authorization, but unfortunately most people do not use their own websites. For example, I am also on a blog website, instead of putting it on your own server.

Therefore, the server side solution cannot be tested. If you want the client side, there is a possibility
1. Javascript
2. Flash
3. Silverlight

I have not found flash and Silverlight, But I have written a lot of JavaScript code. Two of them can be used.
1. http://www.treemenu.net/this name is the largest, but not every skin is compatible, like my favorite KJC with this Treeview, the tree cannot be automatically expanded.

2. http://destroydrop.com/javascripts/tree/, which I recently discovered, is the Treeview currently used on my left side, the program is not long and easy to use, after reading its source code, you will know how to change it. The most important thing is that it can work well with KJC, if you are also looking for a Treeview for your blog, oo is not very keen to push this simple and easy-to-use JavaScript Treeview.

See also
? (Web) (CSS) (JavaScript)
? (Web) (CSS) (JavaScript)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.