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

  • Home
  • SEARCH
  • 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 6976195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:27:56+00:00 2026-05-27T17:27:56+00:00

How can i open a url link within a modal dialog like on Chrome

  • 0

How can i open a url link within a modal dialog like on Chrome Web Store when opening a Chrome App. Notice the background ramains in shaddow but it’s still the home page. And the URL changes in Chrome Web Store.

  • 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-27T17:27:57+00:00Added an answer on May 27, 2026 at 5:27 pm

    For dialog use jQuery UI

    http://jqueryui.com/demos/dialog/#modal-message

    For changing URL with JS use History API

    http://html5demos.com/history

    Also check Good tutorial for using HTML5 History API (Pushstate?)

    For older browsers you may have to use location.hash, the above jQuery UI site is a good example for this.

    For opening all links in a dialog you may code like below

    $('a').click(function(e){
      e.preventDefault();
      var url=$(this).attr('href')+"?content_only"; //content_only added to tell index.php to give only content without template and JS
       $.get(url, function(data) {
        $('.dialog').html(data).dialog();
       //change URL here
      });
    });
    

    For pointing all URLs to homepage you have to do server side tricks, point all URLs to index.php. Like example.com/index.php/subpage and check with on Document ready if the URL is not just index.php I mean something like example.com/index.php/subpage then open example.com/index.php/subpage?content_only in a dialog. In index.php use a criterion, content_only is specified then return only the content of subpage without template and JS.

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

Sidebar

Related Questions

Is it possible to open the App Store app from within my app and
How can I open URL link to SharePoint list from EventHandler - ItemAdded ?
I'm trying to do something like this win = null; win = window.open('/url/to/link','tab'); win.focus();
For reasons that only the developers can understand, Firefox will create and open .url
The docs for django.core.files.File imply I can do this: print File(open(path)).url but the File
I realise that you can open the google maps app ready for directions by
I would like to know if I can open 2 different diagrams using MS
I have an app that will display web pages within a UIWebView. The pages
I want to open an URL like gmail.com when a user clicks on a
The URL link below will open a new Google mail window. The problem I

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.