jq(".1st").click(
function() {
jq(this).next("div").slideToggle("normal");
jq(this).toggleClass(this).attr("id","standfeat2");
}
);
ドロップボタンをクリックするとメッセージがドロップダウンし、もう一度クリックすると元のクラス「standfeat」に戻ります。私はすべてを試したことを誓います。2 つの CSS ID を切り替えています。1 つは + で、もう 1 つは - です。事前にすべての助けをありがとう!
これは私のCSSです:
#standfeat {
color:#185596;
font-size:24px;
padding-left:40px;
background: url(../images/standfeat.png) no-repeat 4px 50%;
line-height:24px;
cursor:pointer;
margin:30px 0px;
}
#standfeat2 {
color:#185596;
font-size:24px;
padding-left:40px;
background: url(../images/standfeat2.png) no-repeat 4px 50%;
line-height:24px;
cursor:pointer;
margin:30px 0px;
}