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

The Archive Base Latest Questions

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

Is it possible to init Fancybox plugin without document.ready() event ? In FF, it

  • 0

Is it possible to init Fancybox plugin without document.ready() event ?
In FF, it seems to be success but not in IE

To explain : I try to init all jquery functions at bottom of my page :

<script type="text/javascript">
            $(".overview_picM").fancybox({
                'titleShow': false,
                'transitionIn': 'elastic',
                'transitionOut': 'elastic',
                left: picLLeft,
                'autoScale': false,
                hideOnContentClick: true,
                overlayShow: false
            });
</script>
</body>

Without document.ready() or window.load, because they slow down.

This is not conventionnal in jquery using, i know, but i have ActiveX, Java Applet or Iframe and all this elements slow down jquery accessibility by using document.Ready or window.load (…)

I have started to implement jquery scripts by this method, and it’s successfull for many of my scripts (jquery).

An idea ?
Best Regards,

Sebastien

EDIT :
See explanation to clarify the needs and solutions, below

  • 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-16T11:10:50+00:00Added an answer on May 16, 2026 at 11:10 am

    First, Thank to Byron for his patience

    To explain and Clarify my need :

    In my base page, I would like to use fancybox on an <img> element to show this element biggest, before iframe (which is in base page too) be loaded.

    This iframe contains java Applet and seems to take many seconds to be load/ready (?) in DOM.

    So, I noticed that during iframe loading, i can’t use fancybox.
    Maybe, fancybox needs DOM be ready to be used correctly, under IE.
    Under FF, it’s not necessary, after many tests.
    So, I think for threading conflict in IE.

    Initial question was not correctly formulated. Sorry.

    So, to resolve this problem, I load iframe src in a setTimeout at bottom of my page :

            setTimeout('initSrcIframes()',0);
    
            function initSrcIframes() {
                $("iframe#iframeViewer3D").attr("src", "myUrl.aspx");        
    
            }
    </script>
    </body>
    </html>
    

    By this way, I can use fancybox plugin as soon as possible in my base page and not after iframe be loaded. I think by setTimeout method, i start new thread (in base page) to load iframe src without penalizing many javascripts features.

    I hope this answer clarify my need and will help some people 🙂

    Sébastien

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

Sidebar

Related Questions

Why is it not possible to do this: public static void Init<TEntity>(params TEntity[] repositories)
Possible Duplicate: Python init and self what do they do? Can anyone explain what
Is it possible to debug the init event from a http module? If I
Possible Duplicate: Core Data not saving NSString. Hey all! Currently experiencing a weird issue
Possible Duplicate: alloc, init, and new in Objective-C I am a little confused about
Is it possible to kill a Java thread without raising an exception in it?
Is this possible? For example, I have a class TriangleDataView with an init method.
Is it possible to init a connection between my mobile phone and a sensor
I would like to know if it's possible to init a subclass of NSManagedObject
Possible Duplicate: In Objective-C why should I check if self = [super init] is

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.