Skip to content
Discussion options

You must be logged in to vote

@minifiredragon , you're not binding the popup to the corresponding DOM node. Check this fiddle (https://jsfiddle.net/hyxtv09j/). This is exactly as your source code except the image URL. The image s are from Fomantic UI website. Thanks Fomantic UI guys.

These lines will give you a hint why your source codes didn't work.

$j(document).on('contextmenu', '.image', function() {
    var popup = $j(this).parent().find('.custom.popup');
    $j(this).popup({
      popup: $j(popup),
      on: 'manual',
      exclusive: true,
      position: 'bottom center',
    });

    $j(this).popup('show');
    return false;
  });

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1456 on October 07, 2020 19:53.