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 4609288
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:57:56+00:00 2026-05-22T00:57:56+00:00

I found if I use another overlay/dialog plug like Clearbox or fancyBox, I loose

  • 0

I found if I use another overlay/dialog plug like Clearbox or fancyBox, I loose the use function of jQuery-Mobile after the overlay initializes. The dialog opens correctly but I notice an “error on page” alert under it – I close the dialog & then nothing else works (ie: swipes & even the back btn on the device & a Chrome browser) only the plug(dialog).

This what triggers the overlay:

<a href="res/img/f1_1.jpg" rel="clearbox">Figure 1-1</a> 

If I add: target=”something” to the a tag, the alert goes away and all works fine; But, the image is loaded into the DOM and the dialog – This is obviously not desired. Is there a fix/work-a-round to resolve the issue. I really do not want to use the ‘in-the-box’ dialog that come w/jQuery-Mobile.

  • 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-05-22T00:57:57+00:00Added an answer on May 22, 2026 at 12:57 am

    jQuery Mobile tries to load all links into the current page using an AJAX call. If I had to guess the problem is that Clearbox or Fancybox is actually handling the event first and the dialog appears as is expected. After that my guess would be that jQuery mobile tries to handle the click event for the link and tries to open the link itself and something goes awry there.

    The reason adding target works is that jQuery Mobile doesn’t process those links as it normally would. If you could use rel=”external” it might fix the issue as long as you don’t need it to have a different value for Clearbox or Fancybox to work. Another option would be to try adding data-ajax=”false” as an attribute of the a tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

PHP5.1.6 has no json_encode(), so I wanted to use function found on json_encode documentation
Another programmer was mentioning that they haven't found a use case for using a
I have done some research, and majority of the examples I have found use
I looked for this but i found how to use it with ScrollTo. This
I found that when I use HttpWebRequest to establish SSL\TLS connection, it takes near
I found that most tutorials use one big router. For example: https://github.com/thomasdavis/backboneboilerplate/blob/gh-pages/js/router.js Wouldn't it
I use this piece of code (found on stackoverflow) to generate an OrderBy static
I found this article who explain how to use cache items expiration to make
I found this related question: How do I use composition with inheritance? I would
I found out that I can use a different theme in an C# WPF

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.