--- a/client/player/src/js/LdtPlayer.js Tue Sep 14 13:38:47 2010 +0200
+++ b/client/player/src/js/LdtPlayer.js Wed Sep 15 10:38:41 2010 +0200
@@ -48,7 +48,8 @@
jQuery:"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js",
jQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js",
jQueryToolTip:"http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js",
- swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"
+ swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
+ cssjQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
};
// Player Variable
@@ -131,8 +132,7 @@
var script_jqUi = document.createElement('script');
script_jqUi.setAttribute("type","text/javascript");
- script_jqUi.setAttribute("src",
- "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js");
+ script_jqUi.setAttribute("src",__IriSP.lib.jQueryUI);
script_jqUi.onload = scriptLoadHandler;
script_jqUi.onreadystatechange = function () { // Same thing but for IE
if (this.readyState == 'complete' || this.readyState == 'loaded') {
@@ -175,13 +175,13 @@
var css_link_jquery = __IriSP.jQuery("<link>", {
rel: "stylesheet",
type: "text/css",
- href: "../res/css/jq-css/themes/base/jquery.ui.all.css",
+ href: __IriSP.lib.cssjQueryUI,
'class': "dynamic_css"
});
var css_link_custom = __IriSP.jQuery("<link>", {
rel: "stylesheet",
type: "text/css",
- href: __IriSP.config.gui.css ,
+ href: __IriSP.config.gui.css,
'class': "dynamic_css"
});