Doug, I looked at source codes for clickmenu & contextmenu to figure out the same thing, and the below variation works for me.
1) Add this to your openMe function: $(document.body).mousedown(function(e){ if ($(e.target).parents("#mymenu").length == 0) closeMe(); }); 2) And in closeMe, add: $(document.body).unbind("mousedown"); 3) And in your the action of any of your menu items call "closeMe()". This works because the mousedown event is triggered BEFORE any click handlers (prevents any click handlers that return false from preventing your closeMe call). We also check in the mousedown handler to see if the user is mousedown'ing on your menu, and if so, don't close the menu because your menu items will not receive the click event if so. Good luck, Gary On Mar 12, 6:48 pm, dougXN <[EMAIL PROTECTED]> wrote: > I have a drop down menu. > > <script> > $(document).ready ( function () { > $('#mymenu').toggle( function () { openMe(); }, function () > {closeMe(); } ); > > } ); > > </script> > .... > <div id=mymenuoptions style="display:none;"> > .... > </div> > > <div id=mymenu>Menu</div> > ..... > > But I need to somehow catch a click anywhere else, close this menu and > then do what ever else I clicked??? > > $(document).click(....?); > > Anyone have an example? > > thanks! > dn32)