info about link
: Javascript Index : PHP : MySQL :
click and pick coordinates
: Source : : Explanation : : Example : : Todo : : Feedback :

Why this script

Building websites, you sometimes want to define a linkable region in an image. For that you need a set of coordinates that define this area. An example:
<img src="something.gif" usemap="#STH">
<map name="STH">
<area shape="poly"
	href="http://some.url"
	coords="25,10, 40,0, 55,10, 40,20">
</map>
This script will be able to create that set of coordinates for you, in just a few seconds!

Usage

It's really very simple. Once you've downloaded the full working script, just give the location of the image, click on Load and the image will then be loaded.
Now, all you have to do is click on the image to indicate from where to where the borderlines of the region are running. All your clicks will be recorded in a textfield and all that's left is a simple copy-paste to insert them in your html source code.
As always, an example is provided, to see how it works.

Btw, you can both use images on the internet as images on your HardDisk, as long as your browser is able to access them.

=[Disclaimer]=     © 2005-2012 Excudo.net