Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent an External JS from being used if it doesn't load quickly

Status
Not open for further replies.

T1M

Programmer
Jul 3, 2001
14
0
0
CA
Hello,
I was wondering if any one can help me with a buggy external Javascript. I am running an included javascript that uses "document.write" to print a series of news items (general syndicated news, like Moreover) but sometimes it won't load. I would like to add a javascript timer so that if the source js won't load, the browser will stop trying to request it.

In my page I have:
<SCRIPT LANGUAGE=&quot;Javascript&quot; SRC='
but, if this won't load in a timely manner, I would like the browser to stop trying...

Thanks in advance,

T1m
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top