<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You might be able to do something like<div><br></div><div>$jx('dlgCustomSearch').toggleCollapse();</div><div><br></div><div>Cheers</div><div><br></div><div>Paul</div><div><br><div><div>On 2011-09-29, at 4:32 PM, pwong wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I have a JxDialog that is created from a custom widget. &nbsp;I have another<br>button on the page that when clicked will collapse this JxDialog. &nbsp;I seem to<br>be able to get a handle on the dialog, but cannot find out how to collapse.<br><br>I've tried<br><br>$('dlgCustomSearch').style.collapse=true;<br><br>$('dlgCustomSearch').collapse();<br><br>$('dlgCustomSearch').toggleCollapse();<br><br>$('dlgCustomSearch').jxDialog.resize({forceCollapse:true});<br><br>This works to close the dialog, I just need to collapse it.<br><br>$('dlgCustomSearch').close();<br><br>--<br>View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Reference-JxDialog-from-a-different-control-tp6845317p6845317.html">http://osgeo-org.1803224.n2.nabble.com/Reference-JxDialog-from-a-different-control-tp6845317p6845317.html</a><br>Sent from the Fusion Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>fusion-users mailing list<br><a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/fusion-users">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Bitstream Vera Sans'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" face="Monaco" size="2"><br class="Apple-interchange-newline">__________________________________________</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp;&nbsp; Paul Spencer</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp;&nbsp; Chief Technology Officer</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp;&nbsp; DM Solutions Group Inc</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp;&nbsp; <a href="http://research.dmsolutions.ca/">http://research.dmsolutions.ca/</a></font></div></span></span>
</div>
<br></div></body></html>