JS 의 가장 쉬 운 패 널 전환

여기 서 는 단지 생각 을 주 었 을 뿐이다. 현재 웹 3.0 의 시대 에 페이지 가 얼마나 호 화 롭 고 화려 한 지, 게다가
각종 javaScript 프레임 워 크 의 지탱, 패 널 전환 스타일 의 모습 천 가지 이미지, 브 라 우 저 열기,
마음대로 사이트 에 들 어가 면 곳곳에 꽃 이 핀 다.
<table>
 <tr>
	<td onclick="document.getElementById('divFirst').style.display='block';
	document.getElementById('divSecond').style.display='none';">divFirst</td>
	<td onclick="document.getElementById('divFirst').style.display='none';
	document.getElementById('divSecond').style.display='block';">divFirst</td>
 </tr>
</table>

<div id = "divFirst">
  the first div!
</div>

<div id = "divSecond" style="display:none">
 the second div!
</div>

좋은 웹페이지 즐겨찾기