I found a hidden layer written by someone else to improve the performance.
:
Code:
<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > < Html Xmlns = "Http://www.w3.org/1999/xhtml" > < Head > < Title > Tipsw.wn </ Title > < Link Href = "CSS/tipswindown.css" REL = "Stylesheet" Type = "Text/CSS" /> < Script SRC = "JS/jquery-1.8.js" Type = "Text/JavaScript" > </ Script > < Script SRC = "JS/tipsw.wn. js" Type = "Text/JavaScript" > </ Script > < Style Type = "Text/CSS" > # Main { Width : 300px ; Margin : 50px auto ; Font-family : Arial, calibri ; } # Main. BTN { Width : 150px ; Height : 30px ; Line-height : 30px ; Font-size : 14px ; Vertical-align : Middle ; Color : #333333 ; Font-weight : Bold ; Text-Decoration : None ; Display : Block ; Text-align : Center ; Background : # Ccc ; } # Main. BTN: hover { Vertical-align : Middle ; Color : # Fff ; Font-weight : Bold ; Text-Decoration : None ; Display : Block ; Text-align : Center ; Background : #333 ; } </ Style > < Script Type = "Text/JavaScript" > $ ( Function () {$ ( " # Dialogshow " ). Click ( Function () {Tips0000wn ( " Cnblogs " , " ID: Dialog " , " 450 " , " 200 " , " True " , "" , " True " , " ID " );});}) Function OK () {window. Location. href = " Http://www.cnblogs.com/ " ;} Function Cancel () {$ ( " # Windownbg " ). Remove (); $ ( " # Mongown-box " ). Fadeout ( " 1000 " , Function () {$ ( This ). Remove ();});} </ Script > </ Head > < Body > < Div ID = "Main" > < A Href = "Javascript: void (0 );" Class = "BTN" ID = "Dialogshow" > Dialogshow </ A > </ Div > < Div ID = "Dialog" Style = "Display: none" ; > < Div Class = "Dialogtext" > < P > Please click on the OK button to go the http://www.cnblogs.com/website and you shoshould just wait. </ P > < P > If you are accessing this page by mistake Please click on the cancel link. </ P >
</ Div > < Div Class = "Dislogbtn" > < A Href = "Javascript: void (0 );" Class = "BTN" ID = "OK" Onclick = "OK ()" > OK </ A > < A Href = "Javascript: void (0 );" Class = "BTN" ID = "Cancel" Onclick = "Cancel ()" > Cancel </ A > </ Div > </ Div > </ Body > </ Html >
Source code