This time I will show you how to operate the parent page of an iframe to block the page pop-up layer effect. How to operate the parent page of an iframe to block the page pop-up layer effect.What are the precautions?, here is the actual combat Let’s take a look at the case.
Question: In index.html, iframe introduces son.html. How to click an operation in son.html to block the entire page and pop up the layer to be displayed?
Preparation: index.html son.html
Ideas:
One: iframe in index.html introduces son.html,
2: In the body part of index.html Add shielding layer and content display layer
Three: Set the style of div in index.html and implement the method of opening and closing the layer
Four: Call the parent page for an operation in son.html Method
查看
I believe you have mastered the method after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!
Related reading:
The hr horizontal line in HTML How to use
htmlHow to achieve mixed graphics and text
How to use iframe to embed other web pages in the current web page
The above is the detailed content of How to operate the parent page of an iframe child page to block the page pop-up layer effect. For more information, please follow other related articles on the PHP Chinese website!