Simulated pop-up effect Code revised version
Code displayed on the Internet always prompts when there are too many articlesCopy codeThe Code is as follows :---------------------------
Windows Internet Explorer
---------------------------
Internet Explorer cannot open Internet sites
It should be because the page is not fully loaded, so I decided to wait until the page is fully loaded and then run
Copy codeThe Code is as follows: window. onload = function (){
Var oo = new fw.com. ui. window ({
Range: [260,260,425,210],
Title: "Wen Xin's suggestion ",
Html: "<div class = 'dxycon '> <ul> <li> 1. Are you interested in this file? Click the "add to bookshelf" button. You can view the latest chapters of the work at any time on the "my bookshelves" Page and read them as soon as possible. You can search for them when you do not need to read them! </Li> <li> 2. reader support is the source of motivation for the author's creation. If you think this book is good, please vote for it! Your support for the original author is simple. The recommended ticket is reobtained every day. It will expire if you don't need it today, and you can get points for each recommended work! </Li> <li> 3. If you click this button, the message is not displayed. </li> <li style = 'text-align: center '> <a href = 'HTTP: // www.jb51.net' target = '_ blank'> script home </a> <a href = 'HTTP: // www.kanshule.com 'target = '_ blank'> read novels. </a> <button class = 'btn 'onclick = \ "setCookie ('noaf',' OK ') \ "> no longer prompts </button> </li> </ul> </div> ",
Display: "none"
});
If (getCookie ('nofav {? $ Article_id ?} ')! = 'OK '){
Oo. show ();
}
Function setit (name, value ){
SetCookie (name, value );
Oo. hide ();
}
}
Mainly add this sentence window. onload = function (){}
Because there are many files, there are images
See the specific Demo: http://www.jb51.net/adtest/101/index.htm
Packaging http://www.jb51.net/adtest/101/101tanchu.rar