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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:30:32+00:00 2026-06-11T15:30:32+00:00

Basically, I love fancyboxes inside of fancyboxes for data entry. Problem is when I

  • 0

Basically, I love fancyboxes inside of fancyboxes for data entry. Problem is when I am done, I wish that it would refresh the fancybox that called it!

Take the example below. I have a report on The Browser Window, Then details on the First Fancy box, then inside and called from it, a fancybox so I can throw a note in…. After I am doing adding the note, and the fancy box is unloaded, I would like to fire a refresh on the parent fancybox, or whatever called it (7 fancyboxes, close #7 and #6 refreshes)

https://lh4.googleusercontent.com/-PZlJoSXZSj0/UDWnwAkat0I/AAAAAAAAAPE/SyAPgaSTc1Y/s1600/test.jpg

This code I have here always refreshes the window in the above example. I wish I could get it to refresh the fancybox’s parent fancybox!

    $('.'+sFancy).fancybox({ 
            'href'  : this.href, 
            'width' : '100%', 
            'height' : '100%', 
            'fitToView' : false,
            'autoSize'  :   false,
            'transitionIn'  :   'elastic',
            'transitionOut' :   'elastic',
            'speedIn'   :   200, 
            'speedOut'  :   500, 
            'type' : 'iframe',
            'onClosed'      : function(){
            self.parent.location.reload(true);
            }   
    });  
  • 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-06-11T15:30:33+00:00Added an answer on June 11, 2026 at 3:30 pm

    This works for my purposes now.

    I have added a function dynamically to fancybox for the last one closed being closed to refresh the parent.

    This would answer the question I initially asked:

    function fancyCall()
    {
        var sFancy = 'fancybox';
    
        if(url.search(/CRMPopper/i) != -1)
            sFancy = 'fancyboxpop';
    
        $('.'+sFancy).fancybox({ 
            'href'          :   this.href, 
            'width'         :   '100%', 
            'height'        :   '100%', 
            'fitToView'     :   false,
            'autoSize'      :   false,
            'transitionIn'  :   'elastic',
            'transitionOut' :   'elastic',
            'speedIn'       :   100, 
            'speedOut'      :   300, 
            'type'          :   'iframe',
            'onClosed'      :   function(){window.location.reload();}           
        }); 
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I would like a page that consist of a slideshow that contains a
Basically, I'm dealing with a horribly set up table that I'd love to rebuild,
I've got some simple survey data that I'd love to have a hand with.
Because, if there are, I can't find them. Basically, I would love to be
New to java, but would love to implement my working jsp that generates xml
Basically, I like the idea of managing my money and finances, but would love
Basically, I have a UIImageView that will loop through 8 PNGs over 0.5 seconds.
Basically I've made a form in Cakephp 2.1 with a jQuery button that appends
Basically from C++ FAQ I learned that: A virtual function allows derived classes to
Basically I have a large set of data in excel, and I was wondering

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.