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

The Archive Base Latest Questions

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

Is it possible to use a link to link to an iFrame of content

  • 0

Is it possible to use a link to link to an iFrame of content that opens in a lightbox or fancybox?

EG; View my Graphic Design Gallery Click Here > Lightbox displaying my gallery from a different site

Possible? How Would I code it within a lightbox/fancybox? I know it’s possible now – but can’t get it implemented with my layout.

Update – Dec 17th 2011

I’m trying to do it with fancybox, below is the link of the layout I’m developing – I’ve been able to implement this in a different doc from scratch calling the same libraries/css in the head, so it can’t be that. I feel like it has to be some conflict-ions between some of my other inline JavaScript. Can anyone help me figure out why iFrame fancy box won’t implement with my layout? (I know theres some JS and code that isn’t be used in the layout atm, but it’s just because I’ve been stripping it down to debug, I will use all that code)

Relevant link

  • 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-27T07:56:40+00:00Added an answer on May 27, 2026 at 7:56 am

    Lightbox is designed only for images but you can use fancybox.

    there are 2 ways to do it:

    $.fancybox({'href':'http://www.google.com',
      'type':'iframe'
    });
    

    or:

    <a href="http://www.google.com" id="linktogoogle">google</a>
    
    jQuery(document).ready(function () {
      $("#linktogoogle").fancybox();
    });
    

    Clicking on the link will load google in an iframe. if you want it to load without clicking :

     jQuery(document).ready(function () {
       $("#linktogoogle").fancybox().click();
     });
    

    You may also set the link visibility style to hidden.

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

Sidebar

Related Questions

Is it possible to use the die tag to link to an error site,
Is it possible to use a vector graphic as a custom form shape in
Is it possible to use fancybox to load a specifc div #id from another
Possible to use a link control to validate and submit a form? What would
Is it possible to wrap text around an image? Here is a link of
Is it possible to use a flash document embedded in HTML as a link?
I'm wondering if it is possible to use Scripting Bridge (as discussed here )
I have a link <a id=special_link href= onclick= >Link</a> Is it possible to use
Is it possible to use Backbone.js and jquery.datalink.js together to link a Backbone model
Basically, is it possible to do something like.... <a href=link onClick=clicked();>Click me!</a> <script> function

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.