* Adds a HTML script element loading the javascript designated by the given path.\r
*\r
* @param scriptPath\r
- * page-relative path to the Javascript resource; normally starts with "script/"\r
+ * page-relative path to the Javascript resource; normally starts with "scripts/"\r
*/\r
protected void addBottomScript(String scriptPath) {\r
Component bottomScriptContainer = get("bottomScripts");\r
var w = 1.0 - (this.scrollLeft / (this.scrollWidth - (this.clientWidth || this.offsetWidth)));
// We encode the target img id in the slider's id: slider-imgdiffNNN.
jQuery('#' + this.id.substr(this.id.indexOf('-') + 1)).css("opacity", w);
- })
+ });
});