NameSilo

Need Help with coordinate / positioning

Spaceship Spaceship
Watch

CRChrisElam

New Member
Impact
0
Here's the problem I can't figure out how to solve.

I have a map of a county. The image is a GIF that is 3000 x 2750 pixels. The sheer size of the map is necessary because of the need to be able to visually identify precincts within the county, some of which are very small, and where the identifying number needs to be legible on the screen.

What I want to do, is create a table of links to each one of the precincts, where the user can click on the precinct number in the table at the top of the page, and be taken to the exact spot on the GIF where that precinct is located.

The first idea I had was to use anchors, but that won't work because the link always takes the user to the anchor position's absolute left. The user then has to determine if the precinct is located on the screen, or if they need to scroll over to the right in the image to find it.

I need a solution to take the user's screen to the exact location of the precinct on the GIF from the link in the table. Preferably centered in the middle of the screen.

Help please?!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
Hello!

This is what I would do, might not be the solution you are after though:

What if you create a number of smaller maps, overlapping each other.
Then you could create a system for browsing with up/down/right/left-arrows.
When that too is finnished you only would have to link to the page
showing the part of the map where the location is.

/Irkasmork, who likes maps :)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back