<html>
<head>
<metahttp-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>JavaScriptå®ç°ç½é¡µå³ä¸è§å¼¹åºçªå£ä»£ç </title>
</head>
<style type="text/css">
#winpop { width:200px; height:0px;position:absolute; right:0; bottom:0; border:1px solid #666; margin:0;padding:1px; overflow:hidden; display:none;}
#winpop .title { width:100%; height:22px;line-height:20px; background:#FFCC00; font-weight:bold; text-align:center;font-size:12px;}
#winpop .con { width:100%; height:90px;line-height:80px; font-weight:bold; font-size:12px; color:#FF0000;text-decoration:underline; text-align:center} /*
http://www.webdm.cn */
#silu { font-size:12px; color:#666;position:absolute; right:0; text-align:right; text-decoration:underline;line-height:22px;}
.close { position:absolute; right:4px;top:-1px; color:#FFF; cursor:pointer}
</style>
<scripttype="text/javascript">
function tips_pop(){
var MsgPop=document.getElementById("winpop");
var popH=parseInt(MsgPop.style.height);//å°å¯¹è±¡çé«åº¦è½¬å为æ°å
if (popH==0){
MsgPop.style.display="block";//æ¾ç¤ºéèççªå£
show=setInterval("changeH('up')",2);
}
else {
hide=setInterval("changeH('down')",2);
}
}
function changeH(str) {
varMsgPop=document.getElementById("winpop");
varpopH=parseInt(MsgPop.style.height);
if(str=="up"){
if(popH<=100){
MsgPop.style.height=(popH+4).toString()+"px";
}
else{
clearInterval(show);
}
}
if(str=="down"){
if(popH>=4){
MsgPop.style.height=(popH-4).toString()+"px";
}
else{
clearInterval(hide);
MsgPop.style.display="none"; //éèDIV
}
}
}
window.onload=function(){//å è½½
document.getElementById('winpop').style.height='0px';
setTimeout("tips_pop()",800);//3ç§åè°ç¨tips_pop()è¿ä¸ªå½æ°
}
</script>
<body>
<div id="silu">
<buttononclick="tips_pop()">3ç§åä¼å¨å³ä¸è§èªå¨å¼¹åºçªå£ï¼å¦æ没æå¼¹åºè¯·ç¹å»è¿ä¸ªæé®</button>
</div>
<div id="winpop">
<div>æ¨ææ°ççæ¶æ¯ï¼<spanclass="close"onclick="tips_pop()">X</span></div>
<div>1æ¡<ahref="
http://www.luenuo.com">ç»å
¸è¯å½</a>(</div>
</div>
</body>
</html>