joewalnes/jquery-simple-context-menu — pull request #5 by rmbl (2011-11-17 12:45:04+00:00)
Title: Always display the contextmenu in the visible area of the browser window

Displays the contextmenu above or left of the pointer if the menu wouldn't be fully displayed otherwise.

Love your plugin, hope you can make use of the code.