Skip to content

Instantly share code, notes, and snippets.

View stevegrove's full-sized avatar

Steve Grove stevegrove

  • Silicon Globe Ltd
View GitHub Profile
jQuery.fn.extend({
slideRightShow: function(duration, callback) {
return this.each(function() {
$(this).show('slide', {direction: 'right'}, duration, callback);
});
},
slideLeftHide: function(duration, callback) {
return this.each(function() {
$(this).hide('slide', {direction: 'left'}, duration, callback);
});