|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
Aides met online advertising interception, how do I window.open outlet is part of the search window, but no part of the process of browsing window activated, ask if the window can not be activated software to intercept these interceptions, stressed that they do not have bars may not |
Do not use it to open window.open |

I would also like to know what Bangniding.
Now is the window should not be blocked, but I do not know how to use
"A style='mso-footnote-id:ftn1'" JavaScript:showdlg1 ( '1111.html', ''); "" Can use the bar "</a> |
Showdlg1 ()
Is a function
Estimated modal window.
====================================
ShowModalDialog () and showModelessDialog () method used Comments
There are many ways to have a built-in Javascript Dialog, such as : window.alert (), window.confirm (), window.prompt (). And so on. But more ways to support the IE dialog box. Such as :
ShowModalDialog () (IE 4 + support)
ShowModelessDialog () (IE 5 + support)
Window.showModalDialog () method used to establish a show HTML content Modal Dialog, Dialog is, it does not generally use window.open () all the attributes of an open window.
Window.showModelessDialog () method used to establish a non-Modal Dialog show HTML content.
When we use showModelessDialog () open the window, not with window.close () to close it, a non-modal approach [IE5] opened, the window can still open the dialog box for the other operations that dialog is not always the top focus When it opened a window URL changes, it shut down automatically. Modal dialog box and the way [IE4] always focus (focus should not be removed until it closed). Modal Dialog linked to the window and opened it, we are opening another window, the link between them is still kept hidden in the activities and the window below.
Use as follows :
VReturnValue = window.showModalDialog (sURL [vArguments] [sFeatures])
VReturnValue = window.showModelessDialog (sURL [vArguments] [sFeatures])
Parameters :
SURL
Definitely parameter types : String. Dialog to show that the document was used to designate the URL.
VArguments
Option parameter types : variants. Dialog transmission parameters to be used. Open-type transmission parameters, including the array so. Dialog made to send them through window.dialogArguments parameters.
SFeatures
Option parameter types : String. And other information used to describe the appearance of the dialog box can be used on one or more of the following, using semicolon "; "Separated.
DialogHeight Dialog height of not less than 100px, which dialogHeight IE4 and the tacit consent of the unit is dialogWidth em, and it is Jimjiang px, to facilitate their view, the way in the definition modal dialog box, used to do px units.
DialogWidth : Dialog width.
DialogLeft : distance from the desktop to the left.
DialogTop : the distance from the desktop.
Center : {yes | | 1 | 0) : no window whether middling, acquiescence yes, it can be specified height and width.
Help : {yes | | 1 | 0) : no help button to indicate acquiescence yes.
Resizable : no | | 1 | 0) {yes [IE5+] : Does size can be changed. No acquiescence.
Status : no {yes | | 1 | 0) : whether the state [IE5+] column. 122 yes[ Modeless] or no[Modal].
Scroll:{ yes no | 1 | 0 | | | off) : on the specified dialog of the show rolling. 122 yes.
Attribute is used in several of the HTA, which generally do not use the website in general.
DialogHide:{ yes no | | 1 | 0 | on | off) : whether in print or print preview dialog box when hidden. 122 no.
Edge:{ sunken | raised) : Dialog frame specified format. 122 raised.
Unadorned:{ yes no | 1 | 0 | | | off on 122) : no.
Imported parameters :
To Dialog transmission parameters to be passed vArguments transmission. Without limiting types, string types, the maximum 4,096 characters. Objects can also be, for example :
Test1.htm
====================
"Script>
Var mxh1 = new Array ( "mxh", "net_lover", "Mencius Chapter E")
Var mxh2 = window.open ( "about:blank", "window_mxh")
4003rd array to transmit Dialog
Window.showModalDialog ( "test2.htm" mxh1)
Dialog object to the transfer window 4003rd
Window.showModalDialog ( "test3.htm" mxh2)
"/script>
Test2.htm
====================
"Script>
Var a = window.dialogArguments
Alert ( "You transmission parameters as :" + a)
"/script>
Test3.htm
====================
"Script>
Var a = window.dialogArguments
Alert ( "You transmission parameters of window objects, Name :" + a.name)
"/script>
Dialog can open a window to return window.returnValue information, of course, could also be targeted. For example :
Test4.htm
===================
"Script>
Var a = window.showModalDialog ( "test5.htm")
For (i=0;i<a.length;i++) alert (a[i])
"/script>
Test5.htm
===================
"Script>
SendTo function ()
{
Var a=new Array ( "a" and "b")
Window.returnValue = a
Window.close ()
}
"/script>
"Body>
"Form>
"Input value=" return "type=button onclick=" sendTo (), ""
"/form>
Common problems :
1, conducted in Modal Dialog submission without opening a new window?
If your browser is IE5.5+ can use dialog with the iframe attribute name, the author's name can be formulated target for the iframe. For IE4+, you can attach the frame to make : 0 for example,
Test6.htm
===================
"Script>
Window.showModalDialog ( "test7.htm")
"/script>
Test7.htm
===================
If (window.location.search) alert (window.location.search)
"Frameset rows=" 0 * ""
"Frame defended" about:blank ""
"Frame defended" test8.htm ""
"/frameset>
Test8.htm
===================
"Form target=" _self "method=" get ""
"Input name=txt value=" test ""
"Input type=submit>
"/form>
"Script>
If (window.location.search) alert (window.location.search)
"/script>
2, can http://servername/virtualdirname/test.htm?name=mxh directly to the transmission parameters dialog box?
The answer is no. Lane is in the frame.
|
But this, the original window regeneration, while the window will be closed ~~~ |
|