File: extlib/waitForImages/libs/jquery-loader.js

Recommend this page to a friend!
  Classes of Emmanuel Podvin  >  iFSM Animation  >  extlib/waitForImages/libs/jquery-loader.js  >  Download  
File: extlib/waitForImages/libs/jquery-loader.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: iFSM Animation
Animate elements with parameters from attributes
Author: By
Last change: Update of extlib/waitForImages/libs/jquery-loader.js
Date: 1 month ago
Size: 549 bytes


Class file image Download
(function() {
  // Get any jquery=___ param from the query string.
  var jqversion =[?&]jquery=(.*?)(?=&|$)/);
  var path;
  if (jqversion) {
    // A version was specified, load that version from
    path = '' + jqversion[1] + '.js';
  } else {
    // No version was specified, load the local version.
    path = '../libs/jquery/jquery.js';
  // This is the only time I'll ever use document.write, I promise!
  document.write('<script src="' + path + '"></script>');