Difference between revisions of "Template:2016Demo bottom"
Line 245: | Line 245: | ||
$(".click_open").click(function() { | $(".click_open").click(function() { | ||
+ | //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:hover").css("background-color" , "#f2f2f2"); | ||
} | } | ||
− | |||
else { | else { |
Revision as of 17:13, 30 November 2015