Home > Web Front-end > JS Tutorial > body text

Custom jquery modal window plug-in cannot display the problem in the top-level window_jquery

WBOY
Release: 2016-05-16 16:46:22
Original
1068 people have browsed it

When you customize a jquery modal window plug-in and integrate it into an existing platform framework, it can only be displayed in the mainFrame window and cannot be displayed in the top-level window.

The solution to this problem:

It is possible to realize the pop-up window in the top-level window through the following code

Copy the code The code is as follows:

$(window.top.document.body).append("
");
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