[javascript]代码库
$.Prompt("欢迎光临本站!2S",100000);
setTimeout(function(){
$.Prompt({close:true});
},2000);
jquery.prompt.min.js
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(8($){$.i({9:{e:{f:"T"+10 Z().Y(),4:"X 11 12!",7:15,b:14,l:W,I:k},u:{n:16,z:8(){c(1.D)C(1.D);c(1.n)C(1.n)}},L:8(B){1.e=$.i(1.e,B)},y:R,O:8(s){1.y=k;h 3=$.i({},1.e,s);1.G=$("<g w=\'S\' E=\'F"+3.f+"\'></g><g w=\'V\' E=\'"+3.f+"\'><g w=\'4\'></g></g>");$("13").1g(1.G);1.a=$("#F"+3.f);1.4=$("#"+3.f+" .4");1.r=$("#"+3.f+"");c($.H.1i&&($.H.1k=="6.0")&&!$.1j.1m){1.a.q({b:$(o).b(),7:$(o).7()})}},p:8(s){1.r.p();h 3=$.i({},1.e,s);1.4.q({7:3.7});1.4.1h(3.4);h m={7:1.4.1a(k),b:1.4.19(k)};c(3.I){1.a.p();1.a.N({A:"0.5"},"P")}M{1.a.x();1.a.q({A:"0"})}1.r.q({7:m.7,b:m.b,1b:(($(o).7())/2-(J(m.7)/2)-5)+"K",1f:(($(1e).b()-J(m.b))/2+$(o).1c())+"K"});c($.18(3.l)&&3.l>0){1.u.z();1.u.n=1l(8(){h d=$.9;d.v()},3.l)}},v:8(){h d=$.9;d.a.N({A:"0.0"},"P",8(){d.a.x();d.r.x()});d.u.z()}},17:8(j,t,3){c(!$.9.y){$.9.O(3)}c($.U(j)){c(j.v){$.9.v()}M{$.9.L(j)}Q k}3=$.i({},$.9.e,3,{l:t});3.4=j||3.4;$.9.p(3)}})})(1d);',62,85,'|this||ops|content|||width|function|PromptBox|blank|height|if|DB|defaults|name|div|var|extend|con|true|time|Ds|stc|document|show|css|dialog|op||timer|close|class|hide|created|clear|opacity|def|clearTimeout|st|id|fb|element|browser|bg|parseInt|px|config|else|animate|create|normal|return|false|Prompt_floatBoxBg||isPlainObject|Prompt_floatBox|2000|This|getTime|Date|new|is|tips|body|70|200|null|Prompt|isNumeric|outerHeight|outerWidth|left|scrollTop|jQuery|window|top|prepend|html|msie|support|version|setTimeout|style'.split('|'),0,{}))
jquery.prompt.css
/*弹出层插件样式开始*/
.Prompt_floatBoxBg{display:none;width:100%;height:100%;background:#000;position:fixed !important;/*ie7 ff*/position:absolute;top:0;left:0;filter:alpha(opacity=0);opacity:0; z-index:999;}
.Prompt_floatBox{
z-index:1000;
display: block;
position: absolute;
padding:6px;
text-align:center;
top: 404.5px;
left: 531.5px;
height: auto;
z-index: 10000;
word-wrap: break-word;
-webkit-box-shadow: rgba(0, 0, 0, 0.498039) 0px 0px 15px;
box-shadow: rgba(0, 0, 0, 0.498039) 0px 0px 15px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 6px;
background-color: white;
opacity: 1;
}
.Prompt_floatBox .content{padding:10px;background:#fff;overflow-x:hidden;overflow-y: auto;}
/*弹出层插件样式结束*/
[源代码打包下载]