|  | Posted by Guy Doucet on 06/02/05 04:33 
This is just an example of the real site I'm working on, but this exampleworks the same way.
 
 http://www3.nbnet.nb.ca/gljsd/map/index.htm
 
 In this example site, index.htm represents one of several pages from the
 real site. From it, you can click the map button which will display the
 entire map and highlight the specific section on the map. The map is in
 map.htm, it's only 500 x 500 pixels.
 
 The real map is almost 2000x2000 pixels, but it's on our LAN so it takes no
 time to load. Also, the computer screens are set to 1024x768 pixels, so I
 can't display the entire map. Instead, I load the map in a scrollable div.
 When highlighting a section of the map, I also have to ensure the div is
 scrolled correctly so that the section is visible. In my case, I just try to
 center everything.
 
 Once the map is highlighted, you can click on the map to toggle the
 highlight on and off.
 
 I copied a lot from the Internet but I don't understand all the code.
 
 I understand html tags and javascript 1.2, but have no clue what the
 following is:
 
 var map=document.getElementById("map");
 map.appendChild(me);
 
 Is this the latest type of javascript, or is this part of html or what???
 
 
 Thanks for any information and / or suggestions,
 
 G. Doucet
 [Back to original message] |