jquery - Loading javascripts from external domain with few seconds delay after page load -
I did a lot of research on the Internet, but still I could not find the answer to my problem. I'm basically trying to execute two external Java scripts (hosted on external domains) after 5-10 seconds of being fully loaded on my page I have already loaded Google Maps in IFRAME I'm using a delay script to do this, and it works fine, but it does not know how to delay the loading of two external JS files. Please enter the URL below for coding. See vide.
Any help will be highly appreciated.
You can use setTimeout:
setTimeout (function () {document.write (...); document.write (...);} , 10000)
Comments
Post a Comment