以下js代碼爲彈出網頁小窗口代碼,窗口大小可調。
<script type="text/javascript">
function popWinGD(theURL){
var pop,w=670,h=450; //window.navigate(theURL);
pop=window.open(theURL,"winGD","width="+w+",height="+h+",resizable=yes,menubar=no,toolbar=no,location=no,scrollbars=no,status=no")
pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
}
</script>