|  | Posted by Guy Doucet on 06/06/05 00:11 
> It has gone beyond a matter of patience. I can't sleep nights until youare
 > happy.
 >
 > dorayme
 
 I know you were just kidding, but I wanted to let you know that I have
 finally accomplished exactly what I wanted. The only thing left to do is to
 build it.  No pop-up window either!
 
 I found, in another newsgroup, how javascript can obtain the URL. So instead
 of having a pop-up window and sending arguments to it, I link to a html file
 and include the argument in the URL, such as http://mypage.com?5. The
 javascript code reads the value "5" and positions the map to the 5th office
 based on its array of x/y coordinates.
 
 That javascript command is:
 <script type="text/javascript">
 var city=location.search.substring(1);
 // ...
 
 
 </script>
 
 Thanks again for all your pointers, I am happy!
 G Doucet
  Navigation: [Reply to this message] |