Re: Images in Horizontal rules......

Arnoud "Galactus" Engelfriet wrote:
> 
> By the way, if you resize an imagemap, the mapper program is going to
> have a few problems with the pixels the browser inserted to resize the
> image to the requested size.

I store the original size of the image (in pixels) with the image, and
then calculate the position of the mouse click within the displayed
version as a percentage of the displayed width & height and multiply
appropriately by the original width & height.  Isn't this how other
browsers maintain the consistency?

-- 
Stewart Brodie, Electronics & Computer Science, Southampton University.
http://www.ecs.soton.ac.uk/~snb94r/      http://delenn.ecs.soton.ac.uk/

Received on Saturday, 22 June 1996 14:04:32 UTC