/* only load jQuery-ui if not present */
if (typeof jQuery.ui == 'undefined') {
document.write("<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js\"></"+"script>");
//var __noconflict = true;
}
/* if Google is down */
if (typeof jQuery.ui == 'undefined') {
document.write("<script type=\"text/javascript\" src=\"webCentral/script/jquery-ui.min.js\"></"+"script>");
//var __noconflict = true;
}
Thursday, June 10, 2010
conditionally load jQuery-UI
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment