Solved

vs2008 asp.net Imagemap control questions

Posted on 2009-04-15
1
685 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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