modify info window in dbox for ms4w

Ken Boss Ken.Boss at DNR.STATE.MN.US
Wed Nov 8 14:44:34 EST 2006


In the querying callback function.  If you are working off the dbox
example.html template, it looks like:

  //
  // querying callback
  //
  ms.setHandler(MAPSERV_QUERY, ms_query);
  function ms_query() {
    querywin = window.open(ms.url, 'querywin');
    querywin.focus();
  }

You can add the normal options string to the window.open() call, e.g.:

    querywin = window.open(ms.url, 'querywin',
'height=725,width=750,resizable,scrollbars');

HTH,

--Ken

>>> Sam Young <samnyoung at HOTMAIL.COM> 11/8/2006 12:50:17 PM >>>
Where do I modify the properties for the window that opens using the
info 
tool in the dbox application? I would like to change the size, get rid
of 
the toolbar, etc.

Thanks,

Sam

_________________________________________________________________
Get today's hot entertainment gossip  
http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001



More information about the mapserver-users mailing list