Skip to content

Instantly share code, notes, and snippets.

@barbuza
Created October 14, 2010 12:18
Show Gist options
  • Save barbuza/626103 to your computer and use it in GitHub Desktop.
Save barbuza/626103 to your computer and use it in GitHub Desktop.
Element.implement({
show: function() {
this.setStyle("visibility", "visible");
},
hide: function() {
this.setStyle("visibility", "hidden");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment