/    Sign up×
Community /Pin to ProfileBookmark

iframe / preloading

Hi, long time to see to all. I want to know if its possible to track the loading of a page or an iframe using javascript. This would be similar to preloading images, and tracking when the images have loaded (however, I need something to check the loading of 1 item, or of the different components of the iframe (which isn’t made up of pictures :0)). The eventual goal is to have a loader bar for an iframe.

I can’t find anything on google about it so I’m guessing not. What about others, like asp/php (i don’t know php, so preferable not)?

Thanks a lot,

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliAug 20.2003 — Iframe or no Iframe,I don't think you can determine if an object id completely loaded or not on web pages except the images.

Of course you can always use the onload event of any winodw but that will give you a general loading sequence.
Copy linkTweet thisAlerts:
@_LOBO_authorAug 25.2003 — Thanks for your responce Khalid?
×

Success!

Help @_LOBO_ spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...