Any way to preload a script executed in an iframe later?
I have a huge script which is executed inside an iframe, so I was thi开发者_Python百科nking to preload the script when the page starts being loaded and then execute it only when the frame is loaded.
Is it possible?
Cheers,
You can have a look at
HeadJS http://headjs.com/ or
LabJS http://labjs.com/ or other JavaScript loaders.
精彩评论