Thanks Stan, I have created a test page which includes a link to a zip file containing all the related files incase anyone wants to experiment further. I found only one or two things that I had to correct from the code on the page you linked to above - the one I can remember offhand (might be the only one) is that you had onBeforeShow called in hideSuperfishUl when it should be onHide.
If you get chance, please have a look at my test pages as I have briefly discussed the results of my quick experimentation with your patch. It would be awesome to iron the bugs out of this functionality. Thanks again Stan. Link to my test page: http://tinyurl.com/5zhno9 Joel Birch.