共用方式為


ImagesPath Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the HTTP path to the images directory for the project, including the trailing forward slash.

<ImagesPath>
</ImagesPath>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded

Example

The following example uses the ImagesPath element to specify the path for the Edit icon.

<DisplayPattern>
   <HTML><![CDATA[ <a href="]]></HTML>
   <URL Cmd="Edit" />
   <HTML><![CDATA[ " onclick='GoToLink(this);return false;' 
      target="_self">]]></HTML>
   <HTML><![CDATA[ <img border="0" alt="]]></HTML>
   <HTML>Edit</HTML>
   <HTML><![CDATA[ " src="]]></HTML>
   <ImagesPath />
   <HTML><![CDATA[ edititem.gif">]]></HTML>
   <HTML><![CDATA[ </a>]]></HTML>
</DisplayPattern>