Hi Dave,
Below is the code...

<script language="javascript" type="text/javascript">
$('.min').click(function() {
$
(this).removeClass("min").addClass("max").parents(".Container").children(".Content").hide();
$.cookie($(this).parents(".Container").attr("id"), 'closed',
{ expires: 7 });
});

$('.max').click(function() {
$
(this).removeClass("max").addClass("min").parents(".Container").children(".Content").show();
$.cookie($(this).parents(".Container").attr("id"), 'closed',
{ expires: -1 });
});
</script>


<div class="Container" id="reviews">
<h3><div class="ctrls"><a href="#"><span class="min"></span></a></
div>Reviews</h3>
<div id="reviewsContent" class="Content">content text...</div>
</div>



On May 11, 8:55 pm, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > 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?
>
> Can you show a sample of the markup, or better yet link to a test page?

Reply via email to