IntelligentRecognition/ah-jjsp-web/bns/js/projectInformation/child/slide.js

22 lines
633 B
JavaScript

jQuery.fn.extend({
slideRightShow: function () {
return this.each(function () {
$(this).show('slide', {direction: 'right'}, 500);
});
},
slideLeftHide: function () {
return this.each(function () {
$(this).hide('slide', {direction: 'left'}, 500);
});
},
slideRightHide: function () {
return this.each(function () {
$(this).hide('slide', {direction: 'right'}, 500);
});
},
slideLeftShow: function () {
return this.each(function () {
$(this).show('slide', {direction: 'left'}, 500);
});
}
});