\n';
this_code += '팝업 열어주는 코드 : '+value_j+'()
\n';
this_code += '\n';
this_code += '\n';
// 미리보기, 코드복사 버튼을 활성화 시킴
document.gen_popup.p_v.disabled = false;
document.gen_popup.c_c.disabled = false;
// 팝업 코드를 생성하는 부분에 적혀진 코드를 textarea에 복사함
document.gen_popup.view_code.value = this_code;
}
function prev_view() {
cpv = window.open('','code_prev_view','width=300,height=300,left=0,top=0,scrollbars=no,resizable=no');
cpv.document.focus();
cpv.document.open();
// textarea에 입력된 코드를 읽어서 팝업창에 보여줌
cpv.document.write(document.gen_popup.view_code.value+'\n\n');
cpv.document.write('\n');
cpv.document.write('