<SCRIPT LANGUAGE="JavaScript">
<!--
var win= null;
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=yes';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
//-->
</script>
</head>
<body>
<a href="#" onclick="NewWindow('test.htm','name','400','400','yes'); return false">
웹프랭클린플래너</a>

<script type="text/javascript">
var cc=0
function showHide(id) {
    if (cc==0) {
        cc=1
        document.getElementById(id).style.display="block";
    } else {
        cc=0
        document.getElementById(id).style.display="none";
    }
}
</script>

<a href="#layer2" onclick="NewWindow('test.htm','name','400','400','yes'); return false">
<div id="layer2" border="1px" height="200px" weigth="200px">
제목이것지요.
</div></a>
<a href="#layer" onclick="showHide('layer');return false;">확인</a>
<div id="layer">

보여질 내용입니다.

</div>
<a href="#layer" onclick="showHide('layer');return false;">어야</a>

Posted by 말없제이
,