Connecting Tech Pros Worldwide Help | Site Map

Run Javascript only if loaded

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 26th, 2008, 07:35 PM
KG
Guest
 
Posts: n/a
Default Run Javascript only if loaded

I have an external javascript loaded in the HEAD of a page. However, that
script is sometimes offline (and when it's offline, the whole page doesn't
load till that javascript is loaded).

It is important that the file runs sooner on the page, but if it's not
available, can that be ignored?



  #2  
Old August 26th, 2008, 08:05 PM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default Re: Run Javascript only if loaded

KG <fake_dont_send@anything_.comwrote:
Quote:
[...]
[x] done


PointedEars
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.