<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:ECEAE2389B1C41ED97B0B20EBED43D85@Lenovo"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta content="MSHTML 6.00.6002.18332" name="GENERATOR">
<div><font size="2" face="Arial">My 1st answer is: "If you are
going to use ExtJS then USE it".</font></div>
</blockquote>
Well I am using geoext rather the just openlayers for toolbar and
map widgets. I want to insert the map into many pages of existing
markup with minimal effort. I was struggling to see how to use ext
layouts without having to write code that tells ext about other
markup elements on the page. (Ie more work per page).<br>
<blockquote cite="mid:ECEAE2389B1C41ED97B0B20EBED43D85@Lenovo"
type="cite">
<div><font size="2" face="Arial">2nd Answer: "If you're going to
use plain old DOM methods, then USE them". If you want to
handle the window resize and do the measurements using plain
old DOM methods / properties, then you should just set the map
panel size that way as well (ie Use
document.getElementById('mymap').style.width = availWidth +
'px', etc...). Then call the OpenLayers.Map.updateSize()
method to synchronize the map size with the map element size.</font></div>
<br>
</blockquote>
Thank you. I will try that.<br>
<br>
<div class="moz-signature">-- <br>
Phil Scadden, Senior Scientist
GNS Science Ltd
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232</div>
<p><span style="font-family:'Arial';font-size:8pt; color:#000000;">Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.</span></p>
<p><span style="font-family:'Arial';font-size:8pt; color:#000000;"> </span></p></body>
</html>