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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:04:19+00:00 2026-06-01T04:04:19+00:00

$(window).load(… waits for EVERYTHING on in the window to load. Which is great. But

  • 0
$(window).load(...

waits for EVERYTHING on in the window to load. Which is great. But recently I have very much desired for an event to fire at a specific point in the page’s load. For example, ‘everything BUT images’.

I wish I could list my failed attempts, but I don’t know where to begin or even if such a thing is possible.

Something like:

$(window).partialLoad({
    exclude : 'jpg, png, gif'
}, function(){
    //do something when page has fully loaded except for images
});

or conversely

$(window).partailLoad({
    waitFor : 'woff, eot'
}, function(){
    //do something after all woff and eot files have loaded
});

If its possible I will write a nice plugin to handle it. Can anyone point me in the right direction as to how I might accomplish this?

  • 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-01T04:04:20+00:00Added an answer on June 1, 2026 at 4:04 am

    Making the assumption that $(window).load() waits for all linked resources to download, we could write your own, assuming that without images, that would be iframe[src], script[src], link[rel="stylesheet"] etc.

    var items = $('iframe[src], link[rel="stylesheet"], script[src]'),
        itemsLength = items.length;
    
    items.load(function() {
        --itemsLength;
    
        if ( ! itemsLength) {
            // All loaded!
        }
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Window 's load, every DD element inside Quote_App should have an onCLick event
I have this form submit code: Event.observe(window, 'load', init, false); function init() { Event.observe('addressForm',
Input rz value In the head I have: Event.observe(window, 'load', function() { $$(input).each(function(field){ Event.observe(field,
I know that using $(window).load() the code executes after everything's loaded. But it doesn't
i have some jquery script which runs after the window has loaded $(window).load( function()
I have a small function that runs on load and window resize.. but the
I have a deferred function that binds a mouseenter event: $(window).load(function(e) { var $container
I have a problem. I need to hide my window at window load. But
Here's a very simple Prototype example. All it does is, on window load, an
I load a single instance of a window on php-gtk, I have a button

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.