Click on 'Show context menu 1' and a dropdown appears. Click somewhere else and it disappears.
I would like this to work in a page on a local drive.
I have copied the source to a local html file and edited the src and href links to point to local copies of the jQuery/jQueryUI js and css source files (except for popup.js - see below). Launched file.
Looks great except for the fact that the dropdowns are open when the page completes loading and don't respond to clicks (don't open or close).
Working online example uses jQueryUI 1.8.2 and includes the declaration