<div class="codetitle"> <span><a style="CURSOR: pointer" data="25228" class="copybut" id="copybut25228" onclick="doCopy('code25228')"><u>复代码码</u></a></span> 代码如下:</div> <div class="codebody" id="code25228"> <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=utf-8" /> <br><title>无标题文档</title> <br><script 언어="JavaScript" type="text/javascript" src="/js/jquery-1.8.3.min.js"></script> <br><script 언어="JavaScript" type="text/javascript"> <br>$(document).ready(function(){ <br>$('a').click(function(){ <br>var wwd=$(document).width(); <br>var wgd =$(document).height(); <br>$('body').prepend('<div id="zhezhaoc"></div>') <br>$('#zhezhaoc' ).css({ <br>'너비' : '' wwd 'px', <br>'높이' : '' wgd 'px', <br>'배경색' : '#000000', <br> 'z-index' : '1100', <br>'불투명도' : '0.5', <br>'위치' : '절대', <br>'상단' : '0px', <br>'왼쪽' : '0px' <br>}); <br>alert('提示框任意') <br>}); <br></script> <br></head> <br><br><본문> <br><a href="#">测试按钮</a> <br><br></body> <br></html> <br><br> </div>