<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 Transitional//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 language="JavaScript" type="text/javascript" src="/js/jquery-1.8.3.min.js"></script> <br><script language="JavaScript" type="text/javascript"> <br>$(document).ready(function(){ <br>$('a').click(function(){ <br>var wwd=$(document).width(); <br>var wgd =$(ドキュメント).height(); <br>$('body').prepend('<div id="zhezhaoc"></div>'); <br>$('#zhezhaoc') ).css({ <br>'width' : '' wwd 'px', <br>'height' : '' wgd 'px', <br>'background-color' : '#000000', <br> 'z-index' : '1100'、<br>'opacity' : '0.5'、<br>'position' : 'absolute'、<br>'top' : '0px'、<br>'left' : '0px' <br>}); <br>alert('提案框任意') <br>}); <br></script> <br></head> <br><br> <br><a href="#">测试按钮</a> <br><br></body> <br></html> <br><br> </div>