Menu show/hide example (can't even replicate jQueryUI documentation)

Menu show/hide example (can't even replicate jQueryUI documentation)

Sorry folks but I find the jQueryUI documentation examples clear as mud. (I really have searched all extant examples and online questions and answers).

Take for example the very nice opening and closing drop down menu demo at  http://view.jqueryui.com/menubar/demos/popup/popup-menu.html .

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 
< script src=" ../../ui/jquery.ui.popup.js"></ script>

I am using jQueryUI 1.9.2 and  popup.js is not included.

Am I doing something wrong or is the documentation not telling me something?