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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:58:01+00:00 2026-05-17T15:58:01+00:00

I am using Colorbox to load some content from an external (but local) file.

  • 0

I am using Colorbox to load some content from an external (but local) file.

The content appears in everything except Google Chrome.

The linke with the event handler attached:

    <div id="content">
        <p><a id="modal" href="popup.html" target="_blank">link to popup</a></p>
    </div>

This is the jQuery:

 $(document).ready(function(){
   $("#modal").colorbox({
        innerHeight:200,
        innerWidth:530,
        title:false,
        transition:"none",
        onComplete:function(){
            $("#cboxLoadedContent div:first").attr("id", "pop");
        }
   });
 });

And the page i am trying to inject:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>  
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Hotels.com</title>
    <meta name="title" content="" />
    <meta name="keywords" content="Hotels, travel" />
    <meta name="author" content="Ryan Pays" />
    <link rel="icon" href="favicon.ico" type="image/x-icon" />  
</head>
    <body id="pop">
        <div class="wrap">
            <div class="section">
                <div class="redBar">
                    <p>Lorem ipsum</p>
                </div>
                <form id="frmExp" name="frmExp" method="post" action="#">
                    <fieldset>
                        <legend>A form</legend>
                        <ul>
                            <li>
                                <input type="radio" id="radYes" name="rdAnswer" value="Yes" />
                                <label for="radYes">Yes</label>
                            </li>   
                            <li>    
                                <input type="radio" id="radNo" name="rdAnswer" value="Yes" />
                                <label for="radNo">No</label>
                            </li>
                            <li>
                                <button type="submit">
                                    <span>Button</span>
                                </button>
                            </li>
                            <li>
                                <button type="submit">
                                    <span>Bigger button</span>
                                </button>
                            </li>
                            <li>
                                <button type="submit" class="back">
                                    <span>Back button</span>
                                </button>
                            </li>
                        </ul>
                    </fieldset>
                </form>
            </div>
            <div class="aside">
                <ul>
                    <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam placerat aliquet nibh</li>
                    <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam placerat aliquet nibh</li>
                </ul>
            </div>
        </div>
    </body>
</html>
  • 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-17T15:58:02+00:00Added an answer on May 17, 2026 at 3:58 pm

    Chrome does not by default allow access to local files by AJAX under its security settings. You have to explicitly enable it with the --allow-file-access-from-files launch parameter.

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

Sidebar

Related Questions

I am using a jquery lightbox plugin ( http://colorpowered.com/colorbox/ ) to load content using
I am using colorbox to AJAX some external HTML onto a page. My client
Im using the jQuery Colorbox plugin to load some images on the page. My
I'm using Colorbox, and I want to load a specific div from another page
I'm using colorbox to open a form (in a seperate html file) from a
I am using jquery colorbox to load images/ videos. But I have this vimeo
I am loading a set of images from another page using jquery load() function.
I currently have a JS function that allows me to load partial content from
i am using jQuery colorbox plugin. it is true with asp.net page but not
I am using Colorbox to load a contact form within an iframe. However, 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.