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 2 1739
in comp.infosystems. www.authoring.stylesheets, Murray J wrote: 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.
Doesn't look like job for CSS.
Maybe someone could let me know if this is a simple 'add a few lines of code', or a major programing effort.
I think you must use JS, as I can't think any other way to scroll image
to right position, and allow scrolling every corner of image.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Murray J |
last post by:
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...
|
by: Bob (remove 'excise-' to reply) |
last post by:
I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.
When I resize the form, the listview increases and decreases, the
splitter...
|
by: antipode |
last post by:
That's about it. If I make a cursor of any size and color depth, the button to set the hot spot stays disabled. I'm at my wit's end, and yet I know it's got to be something stupid I'm missing.
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I disable the right mouse button?
-----------------------------------------------------------------------...
|
by: eloi-ribeiro.blogspot.com |
last post by:
Hi,
I'm having a problem with a query. I'm running Access 2000 and a table
with 35000 rows.
The table contains several visits to the spots with a CODE (spot code)
and DATE (visit date)...
|
by: wellscrambled |
last post by:
Not quite sure where to start with this one; can anyone point me in the right direction?
I send emails to my customers which contain various links. When the customer clicks the link embedded...
|
by: Harsha |
last post by:
Hi,
I am using curl to capture the contents of the web page into a
variable, but i am having problems when the url given to curl gets
redirected to another page.
Please suggest me, is there a...
|
by: trochia |
last post by:
Hello, and thank-you for reading this. I have used the the advanced serach functions to see if my question has already been addressed, but I get no results.
My search was in PHP forums for:
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |