overflow

overflow - Specifies the position of ContextMenu element if at screen edge.
It can be flipfit, flip or fit.
The ContextMenu overflow is flipfit by default.


<ul id="contextmenu1">
    <li>Cut</li>
	<li>Copy</li>
	<li>Paste</li>
</ul>

<div id="contexttarget" style="margin-left:40px; width:400px; height:300px; display:inline-block; background-color: #e3e3e3;">
    <ul style="margin-top:100px; margin-left:100px;">
        <li>Row One</li>
        <li>Row Two</li>
    </ul>
</div>

<script type="text/javascript">

    $(function () {
        $("#contextmenu1").shieldContextMenu({
            target: "#contexttarget",
            filter: "li",
            overflow: "flip"
        });
     });

</script>