var _iframe=e("#" + pb),_offset=_iframe.offset();//e("#" + pb) 是图片所在的框架的id
   
   e(w.body).find('img').live('contextmenu',function(ev){
    //menu.show({x:ev.clientX+_offset.left,y:ev.clientY+_offset.top});
    menu.show({x:ev.clientX+_offset.left,y:ev.clientY+_iframe.offset().top});//menu是一个弹出框
    window['xheditor-img']=this;
    return false;        
   });

相关文章:

  • 2022-02-08
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案