C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

imagemap


Posted Date: 04 Dec 2008      Posted By: Karthik      Member Level: Silver     Points: 1   Responses: 4



what is use of imagemap? what are the difference between image and imagemap




Responses

Author: Abhishek Namdeo    04 Dec 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 4

Image is only presentation of any image to any web page. You can only provide hyperlink to that image that will redirect the page or will do any particular task on the click of that..

But in case of image map you can map the image into many circular parts by using hotspot property of the imagemap and can provide the hyperlink if clicked on that particular hotspot. For any image map you can create many hotspot by providing x-cordinmate, y-cordinate and radius for that hotspot.

But in image you can't do anything like this only you can give hyperlink to that image to any particular task or page



Author: greeny_1984    04 Dec 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

imagemap is divided into number of parts in design view .

we can use imagemaps for ex different states in india where as a image can not be divided in to parts.

imagemaps takes a image as a source and assigns the parts to image based on user declaration of parts.


Regards,
Harshitha

Regards,
Greeny_1984

Rate this Response[Excellent/Good/Poor]
FRESHERS check this link
Need help from me join here



Author: Karthik    04 Dec 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 0

Thanks Harshitha and Abhishek Namdeo.


Author: puneet malviya    05 Dec 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 4

Hi.....

Image is use for display simple image we can not perform any operation on that but in ImageMap u can perform operation like this

<asp:ImageMap ID="ImageMap1" runat="server" ImageAlign="Middle" ImageUrl="~/Image/Ant.jpg">
<asp:CircleHotSpot />
<asp:CircleHotSpot X="100" Y="100" />
</asp:ImageMap></div>

in this code one circle will be draw where u can perform operation

u can also use rectenglehotsport and polygonhotsport

rectenglehotsport and polygonhotsport came from hotspot which is the property of Imagemap



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : e-learning opensource in .net
Previous : Validation For RadioButton
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use