Topic awaiting preservation: Plot points on an image? (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: Earth |
posted 04-25-2003 00:31
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-25-2003 00:46
I'm not sure what you are trying to do here exactly but |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 04-25-2003 00:46
I don't think you acctually can plot on the image using javascript, only think that is possible using a server side language. The closest you will get is moving (or changing the dispay property) another layer/div around on top of it. |
Bipolar (III) Inmate From: schillmania.com |
posted 04-25-2003 02:56
You could have a collection of hidden images or DIVs which would then be positioned as the user mouses over certain points, etc. - you'd have to track the locations and "status" of those elements also, but you could do it using Javascript. It'd be easier if there's a finite number of points to put down, but alternately an object-based approach may be more flexible if you don't know the number of points to be used. |
Bipolar (III) Inmate From: |
posted 04-25-2003 21:00
The easiest way is to put the map image as the background image in a table cell then use normal rollovers to put arrow images over the map like this :- http://www.javascript-fx.com/development/linedraw/arrows_img.html |
Obsessive-Compulsive (I) Inmate From: Earth |
posted 04-25-2003 22:42
The 2nd example is exactly what I was looking for. |