<script>
function print_map()
{
window.onbeforeprint = hideArea; // 인쇄전에 실행할 함수
window.onafterprint = showArea; // 인쇄후에 실행할 함수
window.print();
};
function hideArea()
{
HiddenArea.style.display = 'none';
};
function showArea()
{
HiddenArea.style.display = 'inline';
};
</script>
<div ID='HiddenArea'>인쇄 안되지렁~~~</div>
<div>인쇄 되는곳!!</div>
function print_map()
{
window.onbeforeprint = hideArea; // 인쇄전에 실행할 함수
window.onafterprint = showArea; // 인쇄후에 실행할 함수
window.print();
};
function hideArea()
{
HiddenArea.style.display = 'none';
};
function showArea()
{
HiddenArea.style.display = 'inline';
};
</script>
<div ID='HiddenArea'>인쇄 안되지렁~~~</div>
<div>인쇄 되는곳!!</div>


댓글을 달아 주세요