Should I validate the existence of an external js or css with drupal_http_request before I add with with drupal_add_css or drupal_add_js, if no can somebody point me in the right direction where is this taken care of?
Take the 2-minute tour
×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.
drupal_add_js
anddrupal_add_css
in D7 simply add the assets to be included in the proper HTML scope. I'm not aware of any framework that checks for js/css existance ... webpages are designed to function (though they may not appear or behave as expected with a missing CSS or JS file or two). – tenken Jan 29 at 17:07