Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference > Pageset Functions > BuildWidget >
Image Map Input UI Controls
An image map input UI control functions in much the same way as a group of radio button input UI controls function. For example, an image map input UI control can take the form of a three-color item. Users would click on a color, instead of a radio button, to make a selection.
In the relevant Feature table, you must specify the UI control name and its map name, input shape, and coordinates. You can swap your own image files to represent a selected palette, but you must provide your own browser-specific code to use DHTML to swap images.
The syntax used to create an image map input UI control is:
ISS.BuildWidget("MAP",window,name,mapName,fileCol, shapeCol,coordCol)
Example
The following sample code creates an image map input UI control whose image source file name is defined in the PICT column of the COLOR Feature table:
<SCRIPT>
document.write(ISS.BuildWidget("MAP",window,"COLOR",
"color_map","PICT","SHAPE","COORD"));</SCRIPT>
The following sample code creates an image map input UI control that directly calls the image source file called Flag.gif. This file should be located the pg directory.
<SCRIPT>
document.write(ISS.BuildWidget("MAP",window,"COLOR",
"color_map","Flag.gif","SHAPE","COORD"));</SCRIPT>
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference Published: 18 April 2003 |