tags:

views:

22

answers:

0

http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/

its a great plugin but i dont know how to edit it so that it will work in my case

i load all the js files from an iframe (it has to be this way, for my case...)

i need to access all the elements outside it.

i put the css and menu html on the document.

so within the js file

$("b", window.parent.document).contextMenu({
    menu: 'myMenu'
});

When i right-click on the link outside the iframe, nothing happens....its supposed to display the menu but it doesnt