음..이게 익스말고는 다른브라우저에서 되는스크립인지 아직 확인은 안해봤지만...
여하튼 뭐 알만한 사람 다알게찌만...-0-//
========================================
<script>
function popup(check, page, name, w, h, scroll) {
var win= null;
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/3;
var settings = '';
if ( check == 'modal') {
settings ='dialogHeight: '+h+'px;';
settings +='dialogWidth: '+w+'px;';
settings +='dialogTop: '+wint+'px;';
settings +='dialogLeft: '+winl+'px;';
settings +='scrollbars: '+scroll+';';
settings +='resizable: no;';
settings +='status: no; help: no';
showModalDialog(page,name,settings);
} else {
settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=no,';
settings +='status=no';
win=window.open(page,name,settings);
if(parseInt(navigator.appVersion) >= 4) win.window.focus();
}
}
</script>
여하튼 뭐 알만한 사람 다알게찌만...-0-//
========================================
<script>
function popup(check, page, name, w, h, scroll) {
var win= null;
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/3;
var settings = '';
if ( check == 'modal') {
settings ='dialogHeight: '+h+'px;';
settings +='dialogWidth: '+w+'px;';
settings +='dialogTop: '+wint+'px;';
settings +='dialogLeft: '+winl+'px;';
settings +='scrollbars: '+scroll+';';
settings +='resizable: no;';
settings +='status: no; help: no';
showModalDialog(page,name,settings);
} else {
settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=no,';
settings +='status=no';
win=window.open(page,name,settings);
if(parseInt(navigator.appVersion) >= 4) win.window.focus();
}
}
</script>
TAG showModalDialog