IE bug with dynamic image maps?

  • Thread starter Rasmus Grøndahl Olsen
  • Start date
R

Rasmus Grøndahl Olsen

I have made a map over europe where u can select a country and then a region
in that country.
After selecting a country the image is replace with the country selected and
also the image map is replaced. When using IE explorer and select Belgium or
Netherland, explorer will crash. Can anyone tell me why this happens?

The example can be found at this address
http://www.kampsax.dtu.dk/~rasmus_olsen/test/map_select.html

- Rasmus -
 
B

brucie

I have made a map over europe where u can select a country and then a region
in that country.

not with any of my browsers. appears you're using optional client side
goodies (i.e. JS) for critical functions.

i would recommend a server side image map to keep the page size down
(backed up with normal links of course) with server side scripting to
serve the appropriate image/page for the selection. as it doesn't rely
on any client side support[1] it'll work for everyone.

visitor makes selection --> .map file[2] passes selection to script -->
script generates the page to serve to the visitor --> visitor receives
new page based on selection and giggles.

[1] ismap support needed (IE1+, NS1+, mosaic1+ opera2.1+)
[2] its not practical to pass 62.5k possible coords with your image
direct to a script so the .map file comes in handy. if the coords were
for rectangular areas it wouldn't be a problem.
 
B

brucie

i would recommend a server side image map to keep the page size down
(backed up with normal links of course) with server side scripting to
serve the appropriate image/page for the selection. as it doesn't rely
on any client side support[1] it'll work for everyone.

visitor makes selection --> .map file[2] passes selection to script -->
script generates the page to serve to the visitor --> visitor receives
new page based on selection and giggles.

heres a quick and dirty demo:

the image map:
http://moreshit.bruciesusenetshit.info/server-side-map-test-thingy.html

the map file
http://moreshit.bruciesusenetshit.info/map-test.map

what the map file actually looks like:
http://moreshit.bruciesusenetshit.info/map-test.txt

the script source
http://moreshit.bruciesusenetshit.info/script.phps
 
T

Toby A Inkster

brucie said:
visitor makes selection --> .map file[2] passes selection to script -->
script generates the page to serve to the visitor --> visitor receives
new page based on selection and giggles.

The giggling stage is optional.
 
D

David Graham

brucie said:
i would recommend a server side image map to keep the page size down
(backed up with normal links of course) with server side scripting to
serve the appropriate image/page for the selection. as it doesn't rely
on any client side support[1] it'll work for everyone.

visitor makes selection --> .map file[2] passes selection to script -->
script generates the page to serve to the visitor --> visitor receives
new page based on selection and giggles.

heres a quick and dirty demo:

the image map:
http://moreshit.bruciesusenetshit.info/server-side-map-test-thingy.html

the map file
http://moreshit.bruciesusenetshit.info/map-test.map

what the map file actually looks like:
http://moreshit.bruciesusenetshit.info/map-test.txt

the script source
http://moreshit.bruciesusenetshit.info/script.phps

Hi
I assume you used some prog to do all the coordinates - at least I do for
client side image maps. I would like to know what you use for server side
image maps - please
David
 
B

brucie

I assume you used some prog to do all the coordinates
at least I do for client side image maps.
yes

I would like to know what you use for server side image maps - please

the same editor i use for my client side maps and this new thing called
"copying and pasting".
 
T

Toby A Inkster

brucie said:
the same editor i use for my client side maps and this new thing called
"copying and pasting".

Is that where you carefully shovel out a bit of dirt and put it somewhere
else?
 
B

brucie

Is that where you carefully shovel out a bit of dirt and put it somewhere
else?

yes but i've discovered the results can be disastrous if you're not
paying enough attention to what you're doing and accidentally shovel an
ant hill.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top