Example: web_image
Example 1
The following example emulates the user clicking the Home icon to return to the Home page:
web_url("my_home", "URL=http://my_home/", LAST );
web_link("Employees", "Text=Employees", LAST );
web_image("Home.gif", "SRC=../gifs/Buttons/Home.gif", LAST );
web_link("Library", "Text=Library", LAST );
web_image("Home.gif", "SRC=../../gifs/buttons/Home.gif", LAST );Example 2: Client–side image map
The following example emulates the user clicking on a client–side image map.
web_image("dpt_house.gif",
"Src=../gifs/dpt_house.gif",
"MapName=dpt_house",
"AreaOrdinal=4",
LAST );Example 3: Server–side image map
The following example emulates the user clicking on a server–side image map.
web_image("The Web Developer's Virtual Library",
"Alt=The Web Developer's Virtual Library",
"Ordinal=1",
"XCoord=91",
"YCoord=17",
LAST );Example 4: Using a suffix as a match criteria
The following example specifies the dpt_house.gif as a suffix. Possible matches are ../gifs/dpt_house.gif, /gifs/dpt_house.gif, gifs/dpt_house.gif, and /dpt_house.gif.
web_image("dpt_house.gif",
"Src/sfx=dpt_house.gif",
LAST );

