以下を非表示にして開始し、ボタンをクリックすると情報が表示されるようにするには、この JavaScript の助けが必要です。助けてください!
$(document).ready(function(){
/* show or hide gadget */
$('a[rel="hide_block"]').click(function(){
if ( $(this).parent('div').parent('div').children('div.java_content').css('height')=='auto') {
$(this).css('background-image','url(images/gadget_dropdown.jpg)');
} else {
$(this).css('background-image','url(images/gadget_dropup.jpg)');
}
$(this).parent('div').parent('div').children('div.java_content').slideToggle();
return false;
});