sfraise Posted April 29, 2010 Share Posted April 29, 2010 Hi, I have an external script from someone else's site that I want to find a way to use a setTimeout on. Of course I don't have access to the actual js files so I need to find a way to delay the action without the ability to touch the external js. So basically the setTimeout needs to be incorporated with the following <script src='http://www.othersites.js'></script> format. Everything I've tried to this point has failed as far as trying to use the setTimeout within the actual page file, so I'm guessing I need to do a full blown set up of my own js file incorporating the call to the external site's js then ad the call to my own js in my page header and the business end in the body of my page, I'm just not exactly sure how to set it up that way to where it actually works. Any ideas on this? Link to comment https://forums.phpfreaks.com/topic/200202-is-it-possible-to-settimeout-on-the-following-external-script/ Share on other sites More sharing options...
Adam Posted April 30, 2010 Share Posted April 30, 2010 How is the external JS triggered? Link to comment https://forums.phpfreaks.com/topic/200202-is-it-possible-to-settimeout-on-the-following-external-script/#findComment-1050907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.