Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference > Pageset Functions > BuildTarget >
Image Output Targets
When the value for the type argument for the BuildTarget function is PICT, an image output target is created. The image output target also uses optional Width and Height arguments.
The syntax used to create an image output target is:
BuildTarget("PICT",window,name[,width,height])
Argument Notes
- If values for the width and height arguments are not defined, the application defaults to displaying the image at the actual size specified by the image file. In some browsers, rendering speed can be improved by explicitly specifying dimensions with the Width and Height arguments.
- The path to an image file is relative to the pg subdirectory.
Example
The following sample code creates an image output target that displays the file listed in the IMG column of a Configuration table:
<SCRIPT>
document.write(ISS.BuildTarget("PICT", window,"IMG"));
</SCRIPT>
When the user selections match a valid configuration, the value in the IMG column is returned. This value is the name of the image file that appears in the output target.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference Published: 18 April 2003 |