posted by 오리밭 2010. 9. 22. 09:44




<input type=button id='Haxim_Open' style="DISPLAY: block; WIDTH: 300px; CURSOR: pointer; COLOR: white; HEIGHT: 25px; BACKGROUND-COLOR: blue; border:solid 2px skyblue"  onclick="document.all['Haxim_Open'].style.display='none'; document.all['Haxim_Close'].style.display='block'; Haxim_Content.style.visibility='visible';" value="펼치기">

<input type=button id='Haxim_Close' style="DISPLAY: none; WIDTH: 300px; CURSOR: pointer; COLOR: white; HEIGHT: 25px; BACKGROUND-COLOR: red; color:white; border:solid 2px pink" onclick="document.all['Haxim_Close'].style.display='none'; document.all['Haxim_Open'].style.display='block'; Haxim_Content.style.visibility='hidden';" value="접기">

<table id='Haxim_Content' style="VISIBILITY: hidden; WIDTH:300px; HEIGHT:200px; BACKGROUND-COLOR: green; border:solid 3px yellowgreen;"><tr><td style=color:white>
여기에 내용</td></tr></table>

<input type=button onclick="Haxim_tb.style.visibility='visible'" style="WIDTH: 45px; CURSOR: pointer; COLOR: white; HEIGHT: 25px; BACKGROUND-COLOR: blue; border:solid 2px skyblue" value="펼치기">

<table id='Haxim_tb' style="VISIBILITY: hidden; WIDTH:300px; HEIGHT:200px; BACKGROUND-COLOR: green; border:solid 3px yellowgreen;"><tr><td style=color:white>
여기에 내용</td></tr><tr><td valign=bottom align=center>
<input type=button  onclick="Haxim_tb.style.visibility='hidden'" style="WIDTH: 45px; CURSOR: pointer; COLOR: white; HEIGHT: 25px; BACKGROUND-COLOR: red; border:solid 2px pink" value="접기"></tr></table>

'태그 자료방' 카테고리의 다른 글

이미지에 이쁜 테이블 꾸미기  (0) 2010.09.22
이미지 사용하지 않고 그라데이션 표현하기  (0) 2010.09.22
테두리 폰트 태그  (0) 2010.09.22
테이블에 스크롤바 넣기  (0) 2010.09.22
입체감 테이블  (0) 2010.09.22