Skip to content

Instantly share code, notes, and snippets.

@tjboudreaux
Created March 31, 2011 12:50
Show Gist options
  • Select an option

  • Save tjboudreaux/896297 to your computer and use it in GitHub Desktop.

Select an option

Save tjboudreaux/896297 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
//you can wrap this in a click function or some other event.
$("#content_to_hide").hide();
</script>
<!-- content you don't want to hide in css of the wrapper,
set height,width,& bg on this element -->
<div id="content_wrapper">
<!-- content you want to hide -->
<div id="content_to_hide"> </div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment