Skip to content

basti1253/jQueryUI-contextmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQueryUI contextmenu

changelog for 1.0-beta1

  • switched to jQueryUI 1.9rc1
  • fixed $(window).contextmenu related bugs
  • fixed fakeLayer: always provide a jQuery element

changelog for 0.9

  • removed forceUrlHandling from options (ty jqueryui – link clicks don’t get treated anymore by event preventDefault )
  • provide an extra css file
  • added a fakelayer so contextmenu feels more consistent (doesn’t close on blur anymore)
  • changed collision detection
  • “mini” build tool (requires uglifyjs) => npm install -g uglifyjs-js
  • added jQueryUI as a submodule

clone by copy and paste instruction:

git clone --recursive git://github.com/basti1253/jQueryUI-contextmenu.git

short description

Provides a simple wrapper for jQueryUI’s menu (Please check menu documentation if you want to learn more on menus events). If you take care yourself about the menu bindings this simple widget doesn’t touch your menu layer.

options

  • pageX / pageY [ default 0 ] – use that if you call open yourself
  • menu – jQuery object of domnode
  • menuOptions [default null] – uses defaults if you don’t provide anything
  • position – position rendering of contextmenu

custom events

  • before
  • open
  • close

public methods

  • open
  • close
  • closeall

Have fun :)

About

a contextmenu based on jQueryUI 1.9 widget factory/ jqueryui menu

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published