Bookshelf Home | Contents | Index | PDF |
Siebel Interactive Designer API Reference > Pageset Functions > BuildWidget > Image Map Input UI ControlsAn 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) ExampleThe 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: document.write(ISS.BuildWidget("MAP",window,"COLOR", 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. document.write(ISS.BuildWidget("MAP",window,"COLOR", |
Siebel Interactive Designer API Reference |