Collapsible CSS Tree with linked parent nodes (folders)

In some cases you would like to have a link to a document or a website on the folders, the "parent nodes" too. For these situations you can set the attribute "linkparent" to "true".

The attribute "targetfield" is used to indicate a target window for that link. If this is not defined, the document would be opened in the same window.

Page Header

<head>
<script src="dbtree.js" type="text/javascript"></script> 
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>

DBTree Configuration

<cf_dbtree
instancename="id of the menu"
datasource="name of the datasource"
table="name of the database table"
action="get"
type="clicktree"
url_type="db"
url="column name"
id="column name"
parent="column name"
contentfield="column name"
titlefield="column name"
linkparent="true"
targetfield="column name">

CSS of this Example