///这是在javascript中显示弹出窗口的代码。如何防止用户返回父窗口,直到他关闭弹出窗口?
<script type="text/javascript">
<!--
var stile = "top=10, left=10, width=600, height=800 status=no, menubar=no, toolbar=no scrollbar=no";
function Popup(apri) {
window.open(apri, "", stile);
}
//-->
</script>
<a href="javascript:Popup('YOURPAGE.html')">show popup</a>