Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9301859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T23:07:33+00:00 2026-06-18T23:07:33+00:00

I am using the splitview plugin of jQuery.mobile jQuery Mobile – Splitview . I

  • 0

I am using the splitview plugin of jQuery.mobile jQuery Mobile – Splitview . I am using jQuery.mobile popups as context menus which are fired on taphold event. Right now I am opening popus by

$("#myPopup").click();

where myPopup is popup defined in HTML.

In this way I can open popup, but I can not position the popup to the position of tap. Does anyone have an idea?

Something like

$( ".selector" ).popup( "open", {x:event.pageX, y: event.pageY} );

does not work because of splitview plugin. Without this plugin it works perfectly.

(and of coarse, I know, that taphold event does not contain information about position, that was just an example. I tried it also with pure numbers and it does not work either)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T23:07:34+00:00Added an answer on June 18, 2026 at 11:07 pm

    Well, my solution is not beautiful, but it works. In HTML file I defined new DIV and before opening context menu I position it.

    $("#contextDiv").css({
        position: "absolute",
        top: contextMenuTapY,
        left: contextMenuTapX
    });
    

    Then I open the context menu relatively to this DIV

    HTML:

    <a href="#popupElement" id="aPopupElement" data-position-to="#contextDiv" data-rel="popup"></a>
    

    JS:

    $("#aPopupElement").click();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a WebApp using SplitView - http://asyraf9.github.com/jquery-mobile/ - (and that seems to
I am using this code in the DetailView.m of a splitview app. Now the
I'm working on a recipe book right now using Core Data. It's the first
I am using a splitView in iPad app. the detail view has 2 subView
Using Xcode 4.x I created a SplitView project for iPad From RootViewController I'm trying
My application is very simple and i am not using the splitview controller. My
i managed using a SplitViewController in a TabBarApplication. The problem now is, trying to
I am working on an app which needs to implement splitview functionality in android.
i am implementing a splitview using the new fragment from Google (Android 3). when
In my AppDelegate I setup my splitview using the xcode4 template. The code is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.