先上效果图
点击前
点击后展开
jquery代码
rush:js;">
$(function() { //遇到问题的弹出文字
$("#tips h5.tips_head").bind("click",function() {
var $tips_content = $(this).next("div.tips_content");
if ($tips_content.is(":visible")) {
$tips_content.hide();
} else {
$tips_content.show();
}
})
})
css代码