src/cm/media/js/client/c_icomment.js
changeset 217 613b2f29be54
parent 206 38aa907c6479
child 294 c2c262ac1273
equal deleted inserted replaced
207:4b5aaa0c8545 217:613b2f29be54
   432 		this.animation.set('duration', gPrefs.get('general','animduration')) ; // shouldn't be here really ...
   432 		this.animation.set('duration', gPrefs.get('general','animduration')) ; // shouldn't be here really ...
   433 		this['animation-handle'] = this.animation.on('end', this.onAnimationEnd, this);
   433 		this['animation-handle'] = this.animation.on('end', this.onAnimationEnd, this);
   434 		
   434 		
   435 		return this.animation ;
   435 		return this.animation ;
   436 	},
   436 	},
   437 	setWidth : function(width) {
       
   438 		var boundingBoxNode = this.overlay.get('boundingBox') ;
       
   439 
       
   440 		// POSITION
       
   441 	    boundingBoxNode.setStyle("width", width + 'px');
       
   442 	},
       
   443 	getHeight : function() {
   437 	getHeight : function() {
   444 		return this.overlay.get('boundingBox').get('offsetHeight') ;
   438 		return this.overlay.get('boundingBox').get('offsetHeight') ;
   445 	},
   439 	},
   446 	scrollIntoView : function() {
   440 	scrollIntoView : function() {
   447 		//this.isVisible() && 
   441 		//this.isVisible() &&