Variation on the worldmap/Europe citys example

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Madoc
Beginner
Beginner
Posts: 1
Joined: Mon Sep 05, 2005 1:31 am

Variation on the worldmap/Europe citys example

Post by Madoc »

I am trying to do a variation on the world/Europe examples.
I have a graphic, thats a grid of terrain from the mud I code for.
Now I wanted to be able to have little popups showing the worldmap co-ords of the square being hovered over, and any information about like if theres a city there, what terrain type that square is etc.
From the examples, the first thing I needed was an image map with an area for each region. I did that with php, then relized, its a 100x100 grid, thats 10,000 area enteries, 300k of html! THEN I would have to do specific menus for each one of those, so probably another 300k of menu code....There HAS to be a better way.
I may be trying to make this code do something its really not meant for but I figured I would post and maby its my...lackluster knowledge of html and this system thats hindering me.

URL of specific page I'm working on:
http://dark.darkemud.com/www/map/index.php?x=500&y=100
Warning: Its currently in the 300k version:)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I'm still thinking and playing to see if I can figure something, but in the meantime....

I was doing a search to find area of destruction for Katrina and what I got was the following which seems to be doing something similar to what you have, but they have 'divided' what they've done. I just thought you might get some ideas from this.

http://ngs.woc.noaa.gov/katrina/KATRINA0000.HTM

And, I'm still experimenting

Ruth
Post Reply