The TreeView chapter of the m$ control series used in HTML
Source: Internet
Author: User
The TreeView control requires a ImageList control support that is complex and is not personally considered appropriate for use in HTML.
This article introduces a workaround----Hhctrl combining the data source file to implement the tree structure.
This article is the application in HTML, the need for the database to do dynamic display of the utility program to synchronize the data source file, this issue is not covered in this article.
Code is a part of the m$ program, relatively simple, so there is no comment, what the problem can be directly contacted me.
CopyRight by Cheery_ke,all Reserved.
Main file main.htm
<div style= "font-family: Song Body; font-size:9pt" >
<object Id=hhctrl type= "Application/x-oleobject"
Classid= "Clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
Codebase= ". /.. /common/i386.cab#version=4,73,8412,0 "
Width= "262"
height= "74%" >
<param name= "Command" value= "Contents" >
<param name= "Flags" value= "0X0,0X35,0XFFFFFFFF" ><!--display status, 0x0 indicates whether 3D effect, 0x35 represents chart shape, 0xFFFFFFFF indicates background color-->
<param name= "Item1" value= "COHHC.HHC" ><!--data source file address-->
</OBJECT>
</div>
Data source file COHHC.HHC
<! DOCTYPE HTML Public "-//ietf//dtd html//en" >
<HTML>
<HEAD>
<meta name= "generator" content= "microsoft®html help Workshop 4.1" >
<!--Sitemap 1.0-->
</HEAD><BODY>
<object type= "Text/site Properties" >
<param name= "FrameName" value= "main" >
</OBJECT>
<UL>
<LI> <object type= "Text/sitemap" >
<param name= "name" value= "Start" >
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.