I have an HTML page which is an image map with a 4 X 4 grid of 'hot
spots', linking to other HTML pages, each of which contains a large
(3200px X 2560px) image. I would like to capture the co-ordinates of
the mouse at the instant when it is clicked on the first image,
apply some mathematics based on which 'hot spot' was clicked, and come
up with a new set of co-ordinates. When the destination page is
opened, I would like the viewport to be at those new co-ordinates on
the 3200px X 2560px image on the page.
Maybe someone could let me know if this is a simple 'add a few lines
of code', or a major programing effort.
Thanks,
Murray
spots', linking to other HTML pages, each of which contains a large
(3200px X 2560px) image. I would like to capture the co-ordinates of
the mouse at the instant when it is clicked on the first image,
apply some mathematics based on which 'hot spot' was clicked, and come
up with a new set of co-ordinates. When the destination page is
opened, I would like the viewport to be at those new co-ordinates on
the 3200px X 2560px image on the page.
Maybe someone could let me know if this is a simple 'add a few lines
of code', or a major programing effort.
Thanks,
Murray
Comment