Several special strings can be used in Asset
Manager scripts. These strings correspond to files, element contents, and attribute values used by
the Asset Manager. These strings are resolved by the Asset Manager before the scripts are
executed. Most of these strings pertain to the Item element (in the
fxitems.xml file) corresponding to the asset currently being
dragged.
- %Pathname% - the path part of the
current page's URL; that is, everything up to the rightmost forward
slash.
- %Filename% - the value of the
SRC attribute of the Filename subelement of the
Item element of the asset being dragged. In other words, the asset
filename.
- %TextData% - the content of the
TextData subelement of the Item element corresponding
to the asset being
dragged.
- %thisItem.SQ_getChildAttribute(element,index,attribute)%
- the value of the attribute attribute of the subelement
element of the Item element corresponding to the asset
being
dragged.
- %thisItem.SQ_getChildInnerHtml(element,index)%
- the contents of the subelement element of the
Item element corresponding to the asset being
dragged.
- %htmlItem.SQ_getAttribute(id,index,attribute)%
- the value of the attribute attribute of the element in
fxitems.xml that has the ID attribute equal to
id.
Copyright © SoftQuad Software Inc. 1999