They have to stack on top of each other.  I tried doing a js onclick to
rewrite the onBlur of the body to a null value in window one then open
window 2 and dynamically assign that windows onBlur to self.focus() .. then
had an onclose (I forget exactly) or something to dynamically assign the
opener.document.onBlur="self.focus()".

Made sense to me, but didn't work.

Now I'm trying to setup a timer in the parent window that loops through the
windows array and keeps the last element in that array focused ... I'll post
the code if it works and anyones interested.

-----Original Message-----
From: Walsh, Christopher [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 12:35 PM
To: Fusebox
Subject: RE: Modal Windows


I did that and <body onBlur="self.focus()"> works fine for one level...if
you try and open a second modal window from the first, it gets stuck in an
infinate loop.

I ended up just putting the different steps (modal windows) in different
links from the main page.
i.e. two seperate links for two different modal windows

Another solution I just thought of is having a link to close the first
window and open the next with j.s.

hth
Chris

-----Original Message-----
From: Kevin Bridges [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 1:09 PM
To: Fusebox
Subject: OT: Modal Windows


Has anyone ever built an application that uses embedded modal windows?
Click a link in parent and a modal window opens that stays focused and
doesn't allow interaction with the parent.  Then inside of modal window
click link that opens another modal window that stays focused and doesn't
allow interaction with any previous windows etc. etc.

I don't think using self.focus() or a variation thereof is going to cut it
and was wondering if anyone has any pointers to a solution?

Thanks,

Kevin Bridges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to