direction

An optional direction to limit the dragging to. Can be "horizontal" or "vertical".

<div id="div1">Hello DIV!</div>

<script type="text/javascript">
    jQuery(function ($) {
        $("#div1").shieldDraggable({
            direction: "horizontal"
        });
    });
</script>