Solved

vs2008 asp.net Imagemap control questions

Posted on 2009-04-15
1
681 Views
Last Modified: 2012-05-06
I would like to use the Imagemap control in vs2008. I have a map of Oregon and want to adds some polygonHotSpots. Then I would like to show some pictures of the hot spot area on rollover or (on clicked). I have two questions...

#1 As there does not seem to be a graphical tool to draw on the image to set the coordinates, what is the best way to figure that out?

#2 Once I have the hot spots, how do I control the attributes of the other image controls on the page?
0
Comment
Question by:BPSRobert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
wht1986 earned 125 total points
ID: 24154463
Mapedit is good to make image maps
http://www.boutell.com/mapedit/

you can have the hotspot run a javascript function so you can display rollover images etc  Below is some pseudo to help give you an idea

<script language="javascript">
function showtext(place){
document.myform.display.value = place
}
</script>

<map name="mapname">
<area shape="polygon" onMouseOver="showtext('Cash_Register')" onMouseOut="showtext('')" alt="Cash" coords="94,10,95,25" href="file1.html">
<area shape="polygon" onMouseOver="showtext('Cellular_Phone')" onMouseOut="showtext('')" alt="Cell Phone" coords="206,2,209,19" href="file2.html">
<area shape="polygon" onMouseOver="showtext('Toy_Box')" onMouseOut="showtext('')" alt="box" coords="356,25,359,75" href="file3.html">
<area shape="default" nohref>
</map>
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to show selected values from drop down and text box on the popup? 25 40
Json and ajax 1 41
Connect Gridview column to Textbox in C# 2 53
c#, datatable, aspx 4 46
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question