iFrame javascript communication

Hi all, I have an iframe (named ‘base’) that I want to capture the right mouse click event in and have it handled by a function in the containing document (parent) …

frames[‘base’].document.body.onContextMenu=“return parent.navwheel()”;

… but even if i make the function navwheel a simple alert - it never gets called???

Any help or clues greatly appreciated. :slight_smile: