Coder Social home page Coder Social logo

Comments (5)

rodneyrehm avatar rodneyrehm commented on May 24, 2024

which trigger type are you using?

from jquery-contextmenu.

remotusesse avatar remotusesse commented on May 24, 2024

I am using the default, which is right click trigger.

$(".media_object").contextMenu( { menu: 'myMenu' }, function(action, el, pos) { ...

I tried setting the trigger option at initialization also and that did not fix the issue for me and what I was trying to do.

Basically I have images that I want a user to be able to "right" click on to add to a containing div. Once added to the div I want the image to be resizable and draggable and still have the context-menu associated with it. The only why I could get that functionality was by the minor code tweak I described. Though I may have been doing something wrong from the first initialization of the media objects with the context-menu, but I tried lots of different approaches.

from jquery-contextmenu.

rodneyrehm avatar rodneyrehm commented on May 24, 2024

I'll look into this (weekend)

from jquery-contextmenu.

rodneyrehm avatar rodneyrehm commented on May 24, 2024

I'm getting the weird feeling you're talking to the wrong guy.

  1. The issue you explained does not exist. You can left-click any element you registered with jQuery.contextMenu.
  2. The line 34 you're talking about is way above any real code
  3. $(this).mousdown(functino(e){ is not the way jQuery.contextMenu registers event handlers - ever.
  4. if( evt.button == 0) return; I've never called an event object evt.

Are you sure you're actually using THIS contextMenu library?

from jquery-contextmenu.

rodneyrehm avatar rodneyrehm commented on May 24, 2024

closing… no response for a month.

from jquery-contextmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.