tags:

views:

37

answers:

0

in my header.html, i have the following jquery code.

$("*", window.parent.document).bind("contextmenu",function(e){
  $("#myfmenu").show().css({
   top:e.pageY+"px",
   left:e.pageX+"px",
   position:"absolute",
   opacity: "1.0",
   zIndex: "9999"
  });
  return false;
 });

header.html is loaded via iframe in my main.html

however, when i right click, it should make the #myfmenu inside header.html appear. however this doesnt happen...

#myfmenu is already hidden with style=display:none;