﻿
jQuery.fn.extend(
{
    slideRightShow:
    function () {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'right' }, 400);
            });
    },
    slideLeftHide:
    function () {
        return this.each(
            function () {
                $(this).hide('slide', { direction: 'left' }, 333);
            });
    },
    slideRightHide:
    function () {
        return this.each(
            function () {
                $(this).hide('slide', { direction: 'right' }, 333);
            });
    },
    slideLeftShow:
    function () {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'left' }, 400);
            });
    },
    slideLeftShowAnySpeed:
    function (speed) {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'left' }, speed);
            });
    },
    slideRightShowAnySpeed:
    function (speed) {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'right' }, speed);
            });
    },
    slideUpShow:
    function () {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'up' }, 200);
            });
    },
    slideUpHideAnySpeed:
    function (speed) {
        return this.each(
            function () {
                $(this).hide('slide', { direction: 'up' }, speed);
            });
    },
    slideDownShow:
    function () {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'down' }, 200);
            });
    },
    slideUpShowAnySpeed:
    function (speed) {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'up' }, speed);
            });
    },
    slideDownShowAnySpeed:
    function (speed) {
        return this.each(
            function () {
                $(this).show('slide', { direction: 'down' }, speed);
            });
    }

});

