Hi

I have been asked by someone to build a map of the UK and put links on it to different websites dependant on the area.

I am so stuck and really dont know how to achieve this?

Can anyone give me any advice?

Recommended Answers

All 7 Replies

What exactly are you stuck on? You can use a static graphic with an image map over it that when clicked launches the page licks (html), or you can also make a Flash version of the map, with the graphics and interactivity all in the .swf file. The Flash version would allow for some fun animation on rollover, etc.

Does that help?

What exactly are you stuck on? You can use a static graphic with an image map over it that when clicked launches the page licks (html), or you can also make a Flash version of the map, with the graphics and interactivity all in the .swf file. The Flash version would allow for some fun animation on rollover, etc.

Does that help?

I know you can do it with image maps but i am not too familiar with using image maps. Also I have practically no experience with flash. how can i do it with image maps where I can embed the into into a template?

If you create an image map, it's just html - so you should be able to just copy and paste the lines of code into the template. You would find this pretty easy to do with Dreamweaver. You just import the image, select a type of image map shape (you'll want the polygon) click point by point and connect to the end to get a shape that follows the area of each hotspot, then with the hotspot selected, you enter the web address you want to visit on click. Here's a Youtube video about it:
http://www.youtube.com/watch?v=axefzAckCYA

If you don't have Dreamweaver, you can download it and use it for 30 days for free. This is much easier than trying to figure out the coordinates for every point and typing in by hand.

Once you have this done in a sample html page (test all the links!) you can copy the html from that and paste into your template.

Check your design software to see if it already has that capability to map hotspots to images, if not you can use something like this:
(reference ponts are from top left of image in pixels)

<map id="ImgMap0" name="ImgMap0">
<area alt="alt text details" coords="167, 27, 27" href="link.html" shape="circle" />
<area alt="alt text details" coords="184, 85, 322, 189" href="link2.html" shape="rect" />
</map>
<img alt="alt text details" height="pixels" width="pixels" src="image.jpg" usemap="#ImgMap0" />

Hope this makes sense

google maps api

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.