Project

General

Profile

« Previous | Next » 

Revision 1312

Added by Samuel MONSARRAT 6 months ago

sync

View differences:

branches/1.5-sc50/model/sources/office/gen/site/wdt/img/scImageMgr.doss/scImageMgr.js
227 227
	vSlider.fPath = pPathSlider;
228 228
	vSlider.fOpts = (typeof pOpts == "undefined" ? {clsPre:this.fTypSlider,speed:this.fDefaultStep} : pOpts);
229 229
	vSlider.fOpts.clsPre = (typeof vSlider.fOpts.clsPre == "undefined" ? this.fTypSlider : vSlider.fOpts.clsPre);
230
	vSlider.fOpts.speed = (typeof vGal.fOpts.speed == "undefined" ? this.fDefaultStep : vSlider.fOpts.speed);
230
	vSlider.fOpts.speed = (typeof vSlider.fOpts.speed == "undefined" ? this.fDefaultStep : vSlider.fOpts.speed);
231 231
	this.fPathSlider[this.fPathSlider.length] = vSlider;
232 232
}
233 233
/** scImageMgr.registerAdaptedImage.
......
1081 1081
	pSlider.fToolsOver.style.width = vCurrentImageWidth + "px";
1082 1082
	pSlider.fToolsOver.style.left = pSlider.fSliderWidth / 2 - vCurrentImageWidth / 2  + "px";
1083 1083
	if (!scImageMgr.isSliderPaused) {
1084
		var vDuration = pSlider.speed;
1084
		var vDuration = pSlider.fOpts.speed;
1085 1085
		var vImgTime = 0;
1086 1086
		pSlider.fImgTimeInterval = setInterval(function () {
1087 1087
			vImgTime++

Also available in: Unified diff