|
From: Towers, V. <Van...@ds...> - 2011-05-03 03:22:16
|
UNCLASSIFIED
Hi,
I am having difficulty adding some extra functionality to a popup
closebox callback.
I have tried a couple of approaches. Currently I am Creating the popup
passing in the boolean "closebox" set to false in the constructor. Then
I try and add my own CloseListener Eg.
popup.addCloseListener(new CloseListener() {
public void onPopupClose(JSObject evt)
{
// my own implementation
}
});
But this isn't working as I would have expected. The onPopupClose method
is being hit when I can click the close button and doing the job. But
the close button is being positioned oddly. Sometimes it is positioned
outside of my framed cloud (but is clickable/closable), othertimes it is
in the right spot (top right corner of the cloud) but doesn't always let
me click it because it looks like my html text that is in the popup is
on top of it.
Any ideas what is going on?
Cheers,
Vanessa
IMPORTANT: This email remains the property of the Department of Defence
and is subject to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.
|