div¸¦ ÀÌ¿ëÇÑ select |
|
checkbox1
checkbox2
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<script>
function test(value) {
if(value==1) Div.style.visibility = 'visible';
else Div.style.visibility = 'hidden';
}
</script>
<table cellpadding="0" cellspacing="0" style="cursor:hand" onClick="test(1)">
<tr>
<td align="center" width="120" height="20" style='border:1px
solid;font-size:12'>div¸¦ ÀÌ¿ëÇÑ select</td>
<td height=20 style='border:1px solid;cursor:hand'>
<img src='http://file.danawa.co.kr/all_images/comindex_left_check.gif'
border="0"></td>
</tr>
</table>
<div id="Div" style="border-width:1; border-style:solid; width:200px;
height:62px; position:absolute; left:50px; top:50px; z-index:1;
visibility:hidden; width=120;">
<input type="checkbox" name="chk1">checkbox1<br>
<input type="checkbox" name="chk2">checkbox2<br>
<input type="button" value="È®ÀÎ" onClick="test(2)">
</div>
</body> |