One layer is used to locate the problem and one background page. the inner blank page is displayed in an iframe. Now on the content page, add a floating layer (displaying the effect of waiting ). As a result, the layer only covers the content of the content page framework. I want to show how to overwrite the entire page (that is, the floating layer can overwrite content outside the framework. I want to write CSScode # load {padding: 10px; width: 600px; height: 30 to help locate a layer
A background page,
The inner blank page is displayed in an iframe.
Now on the content page, add a floating layer (displaying the effect of waiting ).
As a result, the layer only covers the content of the content page framework.
What I want to show is: overwrite the entire page (that is, the floating layer can overwrite content outside the framework ),
What should I do.
I want to write it like this.
CSS code
#load{padding:10px; width:600px;height:300px; display:block; position: absolute; top:50%; left:50%; margin-left:-300px; margin-top:-150px;}
JS is written in this way.
$ ("# Load" ).css ("display", "block ");
$ ("# Img_load") [0]. src = '/data/images/img_load.gif ';
------ Solution --------------------
Jquery uses p to pop up the plug-in directly. set the plug-in pop-up ratio... but I forgot the plug-in name.
------ Solution --------------------
JqModal
------ Solution --------------------
O (Partition _ tables) O haha ~, I have just worked on this project to give you some experience:
JQuery IFRAME
DOM method:
IFRAME under the parent window operation: window. frames ["iframeName" 2.16.doc ument
Or directly write frames ["iframeName" 2.16.doc ument
IFRAME operation parent window: paipaiparent.doc ument
Directly write parent.doc ument
Jquery method:
In the parent window, operate the elements in IFRAME: $ (window. frames ["iframeName" ].doc ument). find (": text ");
In the IFRAME field, select all input boxes in the parent window: optional (w.w.parent.doc ument). find (": text ");
Use find to find what you want.
To find the iframe of the same level, you can use $ (parent. frames ["iframeName"]). find ("xxxxxx ")
A careful friend can understand it. The principle is actually very simple, that is, converting $ (DOM object) into jquery object.
Example:
HTML code