JavaScript实现模态对话框
<script type="text/javascript">
function openWin(src, width, height, showScroll){
window.showModalDialog
(src,"","location:No;status:No;help:No;dialogWidth:"+width+";dialogHeight:"+height+";scroll:"+showScroll+";");
}
</script>
例:<span style="CURSOR: pointer" onclick="openWin
(’http://www.zjsyc.com’, ’500px’, ’400px’, ’no’)">点击</span>