PHP & Others

showModalDialog 에 대한 자료입니다.(모달 창)

페이지 정보

본문

showModalDialog 에 대한 자료입니다...

일단 확인해 보시구...필요하심 다운로드 하심됩니다..

공부하다가...자료가 보여서 여기 올립니다.

확인 해 보실 url은 아래....
 
  http://www.sarubia.info/exe/modal_mother.htm


-----------------------------------------------------------

대화상자의 크기를 변경하려고 할때..dialogWidth:'+width+' 이런식으로는

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();
}
}

관련자료

등록된 댓글이 없습니다.
Today's proverb
사람은 누구나 자기에게 들리는 음악에 걸음을 맞춰야 한다. (H.D. 소로우)