equal
deleted
inserted
replaced
46 |
46 |
47 __IriSP.lib = { |
47 __IriSP.lib = { |
48 jQuery:"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", |
48 jQuery:"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", |
49 jQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js", |
49 jQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js", |
50 jQueryToolTip:"http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js", |
50 jQueryToolTip:"http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js", |
51 swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" |
51 swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js", |
|
52 cssjQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css" |
52 }; |
53 }; |
53 |
54 |
54 // Player Variable |
55 // Player Variable |
55 __IriSP.LdtShareTool = ""+ |
56 __IriSP.LdtShareTool = ""+ |
56 "\n<a onclick=\"__IriSP.MyApiPlayer.share('delicious');\" title='partager avec delicious'><span class='share shareDelicious'> </span></a>"+ |
57 "\n<a onclick=\"__IriSP.MyApiPlayer.share('delicious');\" title='partager avec delicious'><span class='share shareDelicious'> </span></a>"+ |
129 } |
130 } |
130 }; |
131 }; |
131 |
132 |
132 var script_jqUi = document.createElement('script'); |
133 var script_jqUi = document.createElement('script'); |
133 script_jqUi.setAttribute("type","text/javascript"); |
134 script_jqUi.setAttribute("type","text/javascript"); |
134 script_jqUi.setAttribute("src", |
135 script_jqUi.setAttribute("src",__IriSP.lib.jQueryUI); |
135 "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"); |
|
136 script_jqUi.onload = scriptLoadHandler; |
136 script_jqUi.onload = scriptLoadHandler; |
137 script_jqUi.onreadystatechange = function () { // Same thing but for IE |
137 script_jqUi.onreadystatechange = function () { // Same thing but for IE |
138 if (this.readyState == 'complete' || this.readyState == 'loaded') { |
138 if (this.readyState == 'complete' || this.readyState == 'loaded') { |
139 scriptLoadHandler("jquery-ui.min.js loded"); |
139 scriptLoadHandler("jquery-ui.min.js loded"); |
140 } |
140 } |
173 |
173 |
174 /******* Load CSS *******/ |
174 /******* Load CSS *******/ |
175 var css_link_jquery = __IriSP.jQuery("<link>", { |
175 var css_link_jquery = __IriSP.jQuery("<link>", { |
176 rel: "stylesheet", |
176 rel: "stylesheet", |
177 type: "text/css", |
177 type: "text/css", |
178 href: "../res/css/jq-css/themes/base/jquery.ui.all.css", |
178 href: __IriSP.lib.cssjQueryUI, |
179 'class': "dynamic_css" |
179 'class': "dynamic_css" |
180 }); |
180 }); |
181 var css_link_custom = __IriSP.jQuery("<link>", { |
181 var css_link_custom = __IriSP.jQuery("<link>", { |
182 rel: "stylesheet", |
182 rel: "stylesheet", |
183 type: "text/css", |
183 type: "text/css", |
184 href: __IriSP.config.gui.css , |
184 href: __IriSP.config.gui.css, |
185 'class': "dynamic_css" |
185 'class': "dynamic_css" |
186 }); |
186 }); |
187 |
187 |
188 css_link_jquery.appendTo('head'); |
188 css_link_jquery.appendTo('head'); |
189 css_link_custom.appendTo('head'); |
189 css_link_custom.appendTo('head'); |