기본 추한 생각 :
<!DOCTYPE html>
<html>
<head>
<scriptsrc="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
jQuery(document).ready(function(){
$('.thread .head').click(function() {
$(this).next().slideToggle("fast");
return false;
}).next().hide();
});
</script
<meta charset=utf-8 />
<title>basic Idea</title>
<style>
.thread { width: 300px; border: 1px soildl; }
.thread h2{ background-color: #CCC; margin: 0; border: 1px solid #FFC;}
.thread div{ background-color:#FDF; border: 1px solid #000;}
</style>
</head>
<body>
<div class="thread">
<h2 class="head">The information here</h2>
<div>
blah blah blah blah
</div>
<h2 class="head">come other information here</h2>
<div>
blah blah blah blah Goo Goo Goo
</div>
<h2 class="head">hee hee hee</h2>
<div>
ho ho ho ho ho
</div>
</div>
</body>
</html>
JSBIN
하지 않습니다 아코디언처럼 그 일? – Marko
아코디언은 하나의 섹션 만 표시합니다. – epascarello