내 이미지가 여기 http://code.jquery.com/ui/1.9.1/themes/base/images/ui-icons_454545_256x240.pngJQuery와 아코디언 이미지
링크 내 JS 코드
입니다/*!
* Vallenato 1.0
* A Simple JQuery Accordion
*
* Designed by Switchroyale
*
* Use Vallenato for whatever you want, enjoy!
*/
$(document).ready(function()
{
//Add Inactive Class To All Accordion Headers
$('.accordion-header').toggleClass('inactive-header');
//Set The Accordion Content Width
var contentwidth = $('.accordion-header').width();
$('.accordion-content').css({'width' : contentwidth });
// The Accordion Effect
$('.accordion-header').click(function() {
if($(this).is('.inactive-header')) {
$('.active-header').toggleClass('active-header').toggleClass('inactive-header').next().slideToggle().toggleClass('open-content');
$(this).toggleClass('active-header').toggleClass('inactive-header');
$(this).next().slideToggle().toggleClass('open-content');
}
else {
$(this).toggleClass('active-header').toggleClass('inactive-header');
$(this).next().slideToggle().toggleClass('open-content');
}
});
return false;
});
@ 스콜피오 돌 석기 시대는 여기? –
@Scorpio :하지만 여기 그들은 전체 이미지를 사용했습니다. http://jqueryui.com/accordion/ – user1828505