<div class="codetitle"> <span><a style="CURSOR: pointer" data="92162" class="copybut" id="copybut92162" onclick="doCopy('code92162')"><u>复代码码</u></a></span> 代码如下:</div> <div class="codebody" id="code92162"> <br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 전환//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br><html xmlns="http://www.w3.org/1999/xhtml"> <br><머리> <br><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <br><script 언어="javascript" src="http://www.chinahds.com/js/jquery-1.8.2.min.js" ></script> <br><title>弹出提示框右下角显示</title> <br><style type="text/css"> <br>본문{ 여백:0px;패딩:0px; 높이:5000px; } <br>.botk{right:5px;position:fixed;width:100px;_position:absolute; _top: 표현식(documentElement.scrollTop documentElement.clientHeight-this.offsetHeight); Z-색인:999; 높이:100px;필터: 알파(불투명도=90);-moz-불투명도:.9;불투명도:0.9;배경:#ffffff; 색상:#ffffff; 하단:5px;} <br>.botts{너비:100px; 높이:100px; 위치:절대; z-색인:9999;배경:#000000;} <br>#adclose{너비:20px; 높이:20px; 위치:절대; 커서:포인터; z-index:99999} <br></style> <br><script type="text/javascript"> <br>$(document).ready(function(e) { <br>/* var wintopfir=$(window).height() $(window).scrollTop(); <br>var wintopsec=wintopfir-100; */ <br>var wintopfir=$(".botk").height(); <br>var wintopsec=wintopfir-100; <br>$("#bottomad").css({top:wintopfir "px" }); <br>$("#bottomad").animate({top:wintopsec "px" }, 2000) <br>$("#adclose").click( function () { $("#bottomad ").hide(); }); <br>}); <br><br></script> <br></head> <br><본문> <br><div class="botk"> <br><div id="bottomad" class="botts"> <br><div id="adclose">X</div> <br>jquery는 jquery를 사용하여 다운로드합니다. <br></div> <br></body> <br></html> <br><br> </div>