|
You may pass an "onMouseOver" event or a "vspace" on to an image associated with a story.
T A G C O D E:
You can do this longhand:
<img src="<dpImageURL>" width="<dpImageWidth>" height="<dpImageHeight>" alt="<dpImageAlt>" onMouseOver="do something" vspace="10">
or you can do it shorthand:
<dpImage onMouseOver="do something" vspace="10">
Both examples produce identical results. <dpImage> provides a shorthand that always fills out the width, height, and alt attributes as well as creating an image tag. You can pass other values on to it or override existing values by adding attributes to the tag.
Here's an example of forcing the alt of all images to display the caption.
<dpImage alt="<dpImageCaption>">
See also:
<dpImageAlt>,
<dpImageCaption>,
<dpImageHeight>,
<dpImageURL>,
<dpImageWidth>
A D D I T I O N A L < D P I M A G E > E X A M P L E S:
S E E A L S O:
|