Solved

vs2008 asp.net Imagemap control questions

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

939 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now