具体代码实现如下:
Home > Web Front-end > JS Tutorial > body text

The parent page displays the dialog_jquery that pops up the semi-transparent state of the mask layer.

WBOY
Release: 2016-05-16 16:57:29
Original
1389 people have browsed it

In the previous chapter, I introduced that a partial area editing module can be added to the masked page. In this chapter, I will introduce the parent page to display the mask layer and pop up a semi-transparent dialog. The dialog is the pop-up subpage, div.

The rendering is as follows:
The parent page displays the dialog_jquery that pops up the semi-transparent state of the mask layer.
The specific code implementation is as follows:

Copy code The code is as follows:




New Document








<script> <br><br>function showDiv(tag,tid,lawyerName){ <br>var light1=document.getElementById(tag); <br>light1.style.display='block'; <br>document.getElementById('bg').style.display='block'; <br>} <br>function closeDiv(){ <br>document.getElementById('popDiv').style.display='none'; <br>document.getElementById('bg').style.display='none'; <br>} <br><br></script>












appears



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template