hi all, i am using the code below to hide some content, the first part works ok & hides the content as expected but i cant get the second part to work - i.e. showing the content again - any ideas? i don't want to use toggle as i am displaying the content based on a cookie value & when the cookie is set, it takes 2 clicks to display the content if it was hidden by the cookie.
$('.min').click(function() { $ (this).removeClass("min").addClass("max").parents(".Container").children(".Content").hide(); }); $('.max').click(function() { $ (this).removeClass("max").addClass("min").parents(".Container").children(".Content").show(); });