Quoting Yoganarasimha G <[EMAIL PROTECTED]>:

> thanks david
> following is my req.
> 1. I want to know the syntax for using "usemap" in <html:img /> tag.

The same as for the HTML img element:

<html:img usemap="#test1" .../>

> 2. if i use "usemap" will it generate the <map name="test1">....</map> string
> for me?

No.

> regards
> Yoga
> 
> -----Original Message-----
> From: Karr, David [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 29, 2003 9:37 PM
> To: Struts Users Mailing List
> Subject: RE: query on <html:img> tag
> 
> 
> If I'm understanding you correctly, "OrgChartImageAction.do" is the
> action that on submission will GENERATE the coordinates that you need in
> the REFERENCE to "OrgChartImageAction.do".  It seems like this won't
> work.  You need to have your setup action for this page generate the
> coordinates for the map, and then have this page submit to a different
> action.
> 
> > -----Original Message-----
> > From: Yoganarasimha G [mailto:[EMAIL PROTECTED] 
> > 
> > I'm trying to use <html:img /> tag to display dynamically 
> > generated image. here's the code
> > 
> > <html:img src="/path1/OrgChartImageAction.do"> here i want to 
> > use "usemap" attribute.
> > The coordinates for use map is generated dynamically when the 
> > 'src="/path1/OrgChartImageAction.do"' 
> > is triggered and i'm storing the imagemap string in session. 
> > Can any one tell me how do i 
> > specify "usemap" attribute so that finally i get html as follows..
> > 
> > <img src="/pogo/OrgChartImageAction.do" usemap="#test1">
> > 
> > <map name="test1">
> > <area rect="xx,yy,xx1,yy1" HREF="javascript:displayProfile('abc')>
> > <area rect="xx2,yy2,xx3,yy3" HREF="javascript:callGet('xyz')>
> > <area rect="xx4,yy4,xx5,yy5" HREF="javascript:displayProfile('abc')>
> > </map>

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to