- From: <S.N.Brodie@ecs.soton.ac.uk>
- Date: Wed, 26 Jun 1996 14:24:41 -0500
- To: galactus@stack.urc.tue.nl
- Cc: www-html@w3.org
Arnoud "Galactus" Engelfriet wrote: > > In article <199606231401.KAA02116@tir.com>, > "The Boss" <matthew@tir.com> wrote: > > I believe a proposal can be worked out where the image map as a whole > > is resized included the pixels of the image and the map click able > > In theory, yes. One suggestion is that the browser translates the > clicked location with the corresponding dot in the original map. But > I'm not sure how to implement this reliably, as there are many cases > in which such a mapping would get incorrect results. In what way could it be incorrect? Provided that you remember the size of the original image in pixels, you can always provide a mapping from the bounding box of a rendered graphic back to the original image by just multiplying coordinates by (original size/scaled size) I would have thought that this was obvious - or am I overlooking some vital piece of information here? -- Stewart Brodie, Electronics & Computer Science, Southampton University. http://www.ecs.soton.ac.uk/~snb94r/ http://delenn.ecs.soton.ac.uk/ End of www-html-d Digest V96 Issue #115 ***************************************
Received on Wednesday, 26 June 1996 15:17:29 UTC