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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:24:49+00:00 2026-05-16T18:24:49+00:00

I found applying the following function to a links onclose works to close Fancybox

  • 0

I found applying the following function to a links onclose works to close Fancybox from within an iFrame:
parent.$.fancybox.close();

I want to take this further and have the link take the parent page to a new url.
I’ve tried the following but it doesn’t work:

<a onclick="location.href='http://www.domain.com/page/';parent.$.fancybox.close();"> Close and go to page</a>

using a href doesn’t work either as the onclose takes precedence.

  • 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-16T18:24:50+00:00Added an answer on May 16, 2026 at 6:24 pm

    Very simple solution… can’t believe I didn’t think of this!!!

    <a href="http://www.domain.com/page/" target="_parent"> Close and go to page</a>
    

    Sometime, I swear I try to make things more difficult than they actually are!

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

Sidebar

Related Questions

I've tried applying several suggestions found on the web, but still experiencing cached results
i have found some ways but they are actually reading frames and applying transition
I found this page describing the Muenchian method, but I think I'm applying it
Found quite a few links related but nothing in the area of how I
Found the following in an Oracle-based application that we're migrating (generalized) : SELECT Table1.Category1,
I am trying to ssh to amazon ec2 instance from shell using the following
I've found Lombardi's Blueprint as an example of applying GWT. It's awesome. I wonder
To my surprise I just found out that applying text-alignment to a table column
I am applying my new found knowledge of threading everywhere and getting lots of
I am repeatedly applying a function to read and process a bunch of csv

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.