Difference between revisions of "Template:2016Demo bottom"
(7 intermediate revisions by the same user not shown) | |||
Line 247: | Line 247: | ||
//if the content is hidden, show it | //if the content is hidden, show it | ||
if ( $('.click_content:visible').length == 0) { | if ( $('.click_content:visible').length == 0) { | ||
− | $(".click_content").show(); | + | $(".click_content").show(); |
− | $(".click_open | + | $(".click_icon").html("▶"); |
+ | $(".click_open").css("background-color", "#ffffff"); | ||
} | } | ||
else { | else { | ||
− | $(".click_content").hide(); | + | $(".click_content").hide(); |
− | $(".click_open | + | $(".click_icon").html("▼"); |
+ | $(".click_open").css("background-color", "#f2f2f2"); | ||
} | } | ||
Latest revision as of 17:40, 30 November 2015