Defining Attributes - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

Defining attributes

The ATTRIBUTES block defines attributes inside the main TAG block. The
ATTRIBUTES block can only contain
demonstrates the definition of four tag attributes:
<ATTRIBUTES>
In most cases, features such as Tag Insight require more than just the names of the
attributes. You can use the
Defining attribute value types
The value type for a specific attribute can be specified using the
ATTRIB
<ATTRIBUTES>
The following table describes the valid value types of the
Value type
TEXT
ENUMERATED
COLOR
FONT
FILEPATH
DIRECTORY
FILENAME
RELATIVEPATH
FLAG
The following types are used in ColdFusion Studio and JRun Studio ONLY
QUERYNAME
EXPRESSION
<ATTRIB NAME="VALUE">
<ATTRIB NAME="TITLE">
<ATTRIB NAME="ALT">
<ATTRIB NAME="ALIGN">
</ATTRIBUTES>
ATTRIB
Attribute value types (color, file path, and so on.)
Enumerated values (
tag.
<ATTRIB NAME="VALUE"
<ATTRIB NAME="BGCOLOR"
<ATTRIB NAME="FONTFACE" TYPE="font" />
</ATTRIBUTES>
Description
Free text content
A list of enumerated values
A color value (name or hex)
Font name or font family
A full file path
A directory path
File name only
A relative representation of the path
An ON/OFF attribute containing no value
A record set name
An language expression
tags. The following example
ATTRIB
tag to define the following attributes:
,
,
,
LEFT
RIGHT
TOP
BOTTOM
TYPE="text" />
TYPE="color"/>
,
,
, and
VALUE
TITLE
ALT
for the
attribute)
ALIGN
attribute in the
TYPE
tag.
ATTRIB
145
.
ALIGN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents