don't make the window modal if that's what you want to do.

Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                     
                    "Aidan Whitehall"                                                  
                                     
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>              
                       
                    nks.co.uk>                    cc:                                  
                                     
                                                  Subject:     [ cf-dev ] OT: 
JavaScript & modal dialogs                    
                    16/10/2003 11:52                                                   
                                     
                    Please respond to dev                                              
                                     
                                                                                       
                                     
                                                                                       
                                     



Anyone know how to close an IE modal dialog using a hyperlink in the
modal window? Using a button works, but I'm after a hyperlink if poss.
Thanks.


index.html:
<a href="javascript:void(0);" onClick="showModalDialog('modal.html', '',
'');">Open modal</a>

modal.html:
<a href="javascript:window.close();">Close myself</a>
<input type="button" onClick="window.close();" value="Close myself">


--
Aidan Whitehall <mailto:[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775
Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to