Attribute for <IMG ...>
NAME = "text string"
NAME is used primarily by scripting. NAME gives the image a unique
name.
For example, the following code creates a rollover image. The image is named
"starflower" for identification by the rollover script:
<A
HREF="images_famsupp_59.html"
onMouseOver = "rollover('starflower')"
onMouseOut = "rollout('starflower')"
><IMG SRC="../graphics/rollover_out.gif"
ALT="rollover images" BORDER=0
HEIGHT=130 WIDTH=115
NAME="starflower"
></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("../graphics/rollover_over.gif");
//-->
</SCRIPT>
which gives us this image
For more about rollovers see Rollover Images.
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050
More information can be found at the
InMotion Hosting Main Site
|
|
|