Embedding Urls In A Cftree - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

134
The built-in image names are:
cd
computer
document
element
folder
floppy
fixed
remote

Embedding URLs in a CFTREE

The HREF attribute in the CFTREEITEM tag allows you to designate tree items as links.
To use this feature in a CFTREE, you simply define the destination of the link in the
HREF attribute of CFTREEITEM.
To embed links in a CFTREE:
1.
Open a new file named
2.
Modify the page so that it appears as follows:
<CFFORM ACTION="submit.cfm">
4
HREF="http://www.allaire.com">
4
HREF="http://forums.allaire.com">
</CFFORM>
3.
Save the page and view it in your browser.
tree3.cfm
<CFTREE NAME="oak"
HIGHLIGHTHREF="yes"
HEIGHT="100"
WIDTH="200"
HSPACE="100"
VSPACE="6"
HSCROLL="no"
VSCROLL="no"
BORDER="no"
DELIMITER="?">
<CFTREEITEM VALUE="Important Links">
<CFTREEITEM VALUE="Allaire Home"
PARENT="Important Links"
IMG="document"
<CFTREEITEM VALUE="Allaire Forums"
PARENT="Important Links"
IMG="document"
</CFTREE>
Developing Web Applications with ColdFusion
in Studio.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents