[..........................]
This message is a follow-up on the earlier posts that I send in the last few days, while I was trying to puzzle together a map. I
have cross-posted this to comp.lang.JavaScript, as I also asked some questions there relating to this map and most of the map is
done in JavaScript (any comments greatly appreciated).
The culprit was Photoshop / image ready. I wanted to make a funky map with "on mouse overs" for about 40 regions. So Photoshop
decided to slice it up..... BIG mistake. Yes, most of the images where only about 100bytes or so (gifs with few colours are indeed
very small).
No, I did not have them in a table that slowed things down. But YES, it was a stupid idea. On my high speed internet connection
(4mb/s) it took about one minute to download, just as long as it took for my friend on a 56k. modem! Interesting. Once, I set my
firefox to multiple pipe (or whatever that is called), it went a lot faster though (thanks for the tip).
Anyway. I have devised a different way now for those 300 images... To see the results, please visit:
http://switch.hosts.net.nz/~admin64/m/map.html
I am pleased with the result, as it is a very interactive map that does not require MacroMedia's Flash, that should be quick to
download (images are only about 25Kb) and that allows for people without JavaScript to just tick the boxes. Also, it is easy to
maintain, as each region has its own small gif and no fancy position is required.
To make those small gifs, I used Photoshop, where I created a map with extra layers for each "onmouseover" image. I then saved each
layer individually as gif with only three colours (dark yellow, light yellow and transparency). I also cropped the image so that it
only went from the NE corner to as far as it needs to go. Then, I got the co-ordinates for the image map from image ready. The
images are named 0 to 40.gif.
If anyone wanted to see the original (with the (almost!) 300 images, then have a look at:
http://switch.hosts.net.nz/~admin64/m/disaster.html
Thank you all for your comments.
-Nicolaas