Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 6:28 p.m. on August 22, 2006

ShowModalDialog how to open up a new window of the father pages?

For example, to open a dialog box a.html used showModalDialog way, the father and how it opened up a new document window?

Dialog showModalDialog, I opened the pages of a button China and Canada, with incidents :

Onclick= "parent.location.href= 'b.html'; "

The result is a new IE window open, what are the alternatives can be resolved? Thx

No parent or showModalDialog only dialogArguments opener

The second parameter is set up as follows :

Window.showModalDialog (government payments are capped, window, ornaments);

DialogArguments is the window (or self)

Of course, you can also set up files for the document or other elements

Most needs to show that both modal window and the main window, the main window if the link changes, modal window will disappear!

But should this written?

Onclick= "dialogArguments.location.href= 'b.html'; "

I want showModalDialog click of a window, the window father link address change showModalDialog window closed.

UP

Thank you, really, Guangzhou, the problem has been solved




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com