<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve come across an issue with the GeoExt popup and the ‘collapsible’ option.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If I set ‘collapsible: true’ and ‘anchored: true’, the popup opens OK, and can be collapsed. However when I pan so that the (collapsed) popup goes off screen, then pan back, I get a ‘stack overflow’ error in IE, or in Firefox a ‘too much recursion’ error. Panning with the popup expanded is not an issue. If I set anchored: false, or collapsible: false, there’s no problem. It’s not specific to one machine.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My popup code is below – any suggestions as to what might be happening here?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> new GeoExt.Popup({ <o:p></o:p></p><p class=MsoNormal> title: "Location Detail",<o:p></o:p></p><p class=MsoNormal> width: 320,<o:p></o:p></p><p class=MsoNormal> height: 400,<o:p></o:p></p><p class=MsoNormal> autoScroll: true,<o:p></o:p></p><p class=MsoNormal> unpinnable: false,<o:p></o:p></p><p class=MsoNormal> map: map,<o:p></o:p></p><p class=MsoNormal> anchored: true,<o:p></o:p></p><p class=MsoNormal> location: map.getLonLatFromPixel(event.xy),<o:p></o:p></p><p class=MsoNormal> html: '<div>'+event.text+'</div>',<o:p></o:p></p><p class=MsoNormal> collapsible: true <o:p></o:p></p><p class=MsoNormal> })<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Many thanks<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Antony Scott</span><o:p></o:p></p></div>
<br><P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'"><FONT color=#000000 size=3 face=Arial>Sustain is a leading carbon reduction company. Our clients have saved</FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'"><FONT color=#000000 size=3 face=Arial><FONT color=#99cc33><B>4,020,093</B> </FONT><FONT color=#000000>lifetime <SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin">tCO<SUB>2</SUB>e </SPAN></FONT>through working with us (May 2011)</FONT></SPAN></P>
<P>
<HR align=left color=#000000 SIZE=1 width=500 noShade>
<P></P>
<P><FONT size=2>Sustain Ltd. Registered in England No. 3384793 <BR>Barley Wood Stables, Long Lane, Wrington, Bristol BS40 5SA, UK</FONT></P>
<HR align=left color=#000000 SIZE=1 width=500 noShade>
<P><FONT size=2>This e-mail and any attachments are strictly confidential and intended solely for the <BR>addressee. If you are not the intended recipient of this document then you must <BR>immediately inform the sender and delete this e-mail and any attachments from <BR>your system.</FONT></P>
<P><FONT size=2>E-mail transmissions cannot be guaranteed to be secure or error free as information <BR>could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. The sender <BR>does not accept liability for any errors or omissions in the content of this message <BR>which arise as a result of e-mail transmission.</FONT></P>
<HR align=left color=#000000 SIZE=1 width=500 noShade>
<br></body></html>