|
Re: How to put an image map into an ascx page?: msg#00156windows.devel.dotnet.web
Something that strikes me immediately is that both the img tag and the map tag have the name USMap. Maybe the dom is getting confused as to which element is really the map, defaulting to the first instance of the name USMap. Try removing the name attribute from the img tag and see if that helps at all. -- -Christopher ASP.NET MVP | AspInsider http://www.chrisfrazier.net/blog > -----Original Message----- > From: Discussion of building .NET applications targeted for > the Web [mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ed Gorski > Sent: Wednesday, June 29, 2005 4:02 PM > To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx > Subject: Re: [DOTNET-WEB] How to put an image map into an ascx page? > > Since we are dealing with a web app here, should the img src > be pointing to a file on the D drive? Does you image show up > at all or does it show up but does not have the mapping? > > ~ed > > On Wed, 29 Jun 2005 17:06:42 -0400, Stacey Levine > <staceyl@xxxxxxxxxxxxxxxxx> wrote: > > >I need to put an image map into an .ascx page and am dying here. I > >thought > I had it, but I don't get any mapping stuff. Any ideas would > be great. A snippet of what I have is below. > > > ><IMG isMap src="D:\Feeder\images\USMap.gif" align="middle" > useMap="USMap" > name="USMap"> > > <MAP name="USMap"> > > <AREA shape="POLY" > coords="313,228,313,228,309,224,329,221,335,223,358,223,364,21 > 8,377,241,386,263,385,274,376,277,370,268,362,259,359,250,355, > 238,343,230,333,234,321,229" > > > href="StoreLocations.asp?authID=52040967&State=FL"> > > <AREA shape="POLY" > coords="332,219,331,210,329,196,322,180,303,181,300,198,300,21 > 5,302,230,309,229,308,224,323,223" > > > href="StoreLocations.asp?authID=52040967&State=AL"> > > <AREA shape="POLY" > coords="322,179,322,179,342,178,359,193,368,205,365,218,360,22 > 2,336,223,332,220,333,207" > > > href="StoreLocations.asp?authID=52040967&State=GA"> > > <AREA shape="POLY" > coords="343,177,343,177,361,174,374,175,385,183,376,195,368,20 > 4,358,191" > > > href="StoreLocations.asp?authID=52040967&State=SC"> > > <AREA shape="POLY" > coords="332,177,332,177,351,164,354,156,399,149,402,153,398,15 > 5,404,159,404,162,401,167,393,174,391,180,385,182,376,174,365, > 174,353,172,342,176" > > > href="StoreLocations.asp?authID=52040967&State=NC"> > > <AREA shape="POLY" > coords="356,114,356,114,355,123,350,129,348,135,344,141,352,14 > 8,363,144,367,134,375,125,375,120,367,124,361,124" > > > href="StoreLocations.asp?authID=52040967&State=WV"> > > <AREA shape="RECT" > coords="410,142,430,154" > href="StoreLocations.asp?authID=52040967&State=MD"> > > <AREA shape="POLY" > coords="376,119,376,119,395,114,394,120,399,128,404,129,402,13 > 3,394,133,389,124,378,119" > > > href="StoreLocations.asp?authID=52040967&State=MD"> > > <AREA shape="RECT" > coords="414,119,434,134" > href="StoreLocations.asp?authID=52040967&State=DE"> > > <AREA shape="POLY" > coords="403,127,403,127,401,127,397,118,403,124" > href="StoreLocations.asp?authID=52040967&State=DE"> > > <AREA shape="POLY" > coords="400,97,400,97,408,100,406,105,410,108,407,119,400,119, > 398,115,403,108,399,104" > > > href="StoreLocations.asp?authID=52040967&State=NJ"> > > > > > >Stacey Levine > >Senior Systems Analyst > >Value Music Concepts > >825-C Franklin Court > >Marietta, GA 30067 > >Work: 678-229-4255 > >Fax: 770-919-2219 > >staceyl@xxxxxxxxxxxxxxxxx > > > > > > > >=================================== > >This list is hosted by DevelopMentorR http://www.develop.com > > > >View archives and manage your subscription(s) at > >http://discuss.develop.com > =================================== > This list is hosted by DevelopMentorR http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to put an image map into an ascx page?: 00156, Stacey Levine |
|---|---|
| Next by Date: | Re: VB6 and .NET Web Services.: 00156, Dean A. Cleaver |
| Previous by Thread: | Re: How to put an image map into an ascx page?i: 00156, Ed Gorski |
| Next by Thread: | Re: How to put an image map into an ascx page?: 00156, Stacey Levine |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |