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
Thanks anyway, but not having popup.js isn't the issue. (Or is it? I assumed its functionality had been rolled into menu.js in 1.9.2.)
At any rate, including it doesn't make any difference. The online demo in jQueryUI 1.8.2 does what it is meant to do. The local version in jQueryUI 1.9.2 does not.