Felix,
Thanks for getting back to me so quick.
I have tried to set it to longer, but still nothing.
I have emailed you the direct link to the current project I am referring to.
I use two functions which I have written to make it easier to include:
function openLightbox(idIn, titleIn, widthIn, heightIn, urlIn){
win = new Window(idIn, {className: "alphacube", title:
titleIn, width:widthIn, height:heightIn, resizable: false, url: urlIn,
showEffectOptions: {duration:0.2}});
win.setDestroyOnClose();
win.showCenter(true);
}
function newLightbox(closeID, idIn, titleIn, widthIn, heightIn, urlIn){
parent.Windows.close(closeID,null);
setTimeout('openLightbox(\''+idIn+'\',\''+titleIn+'\','+widthIn+','+heightIn
+',\''+urlIn+'\')',2000);
}
With the second being the one to be called when trying to achieve what I am
looking for.
Thanks
Chris
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Felix Shnir
Sent: 25 November 2006 20:48
To: [email protected]
Subject: Re: [Javawin] Open new Modal Window from already opened Modal
Window
Well, an example would be nice :) But maybe youre setting it too fast, try
longer period, say 2 sec.
Felix.
On 11/25/06, Chris McBride < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
Thanks for that Felix,
I tried what you suggested (well, I presumed you meant setTimeout), however
I now get the feeling that when the original window is closed, the new
window from it also closes, possibly because its parent has closed it has
nothing to belong to?
Any other ideas would be appreciated.
Thanks
Chris
From: [EMAIL PROTECTED] [mailto:
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] On Behalf
Of Felix Shnir
Sent: 25 November 2006 19:05
To: [email protected]
Subject: Re: [Javawin] Open new Modal Window from already opened Modal
Window
Chris, try Windows.close('id', null);
then setInterval to open your next one in however fast you need it.
Felix.
On 11/25/06, Chris McBride < [EMAIL PROTECTED]> wrote:
Hi,
I am looking to find out if it is possible to have a link inside an already
opened modal window, open a new modal window?
Either opening the new window over the current window, or closing the
original to open the new one would suffice.
I have tried to open the window as normal, however it just adds the new
window's content to the top of the open window.
I have also tried to set it to close the original window (by its ID - not
with closeAll() ) first, but it quickly loads the new window, then closes
both windows.
Any help would be appreciated.
Thanks,
Chris
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com