Lines Matching refs:whereToMove
355 this.moveTo = function(whereToMove, origWhereToMoveIndex) { argument
417 _self.current = whereToMove;
447 this.glideTo = function(whereToMove) { argument
449 if ( whereToMove < 0 ) { whereToMove = 0; }
450 … if ( whereToMove >= _self.checkedImages.length ) { whereToMove = _self.checkedImages.length-1; }
455 … if ( whereToMove < _self.current - 1/devident || whereToMove > _self.current + 1/devident )
457 … _self.moveTo(_self.current + (whereToMove-_self.current)/3, whereToMove); // move in three steps
458 _self.timeOutAction = setTimeout(function(){ _self.glideTo(whereToMove); }, 50);
462 _self.current = whereToMove;
477 this.addMoveElementToQueue = function (whereToMove) { argument
478 if ( whereToMove < 0 ) { whereToMove = 0; } // Already the first
479 …if ( whereToMove >= _self.checkedImages.length ) { whereToMove = _self.checkedImages.length-1; } /…
480 …eToMoveQueue[_self.whereToMoveQueue.length -1] != whereToMove )_self.whereToMoveQueue.push(whereTo…
481 _self.glideTo(whereToMove);
488 var whereToMove = _self.current;
492 whereToMove = parseInt(_self.whereToMoveQueue[_self.whereToMoveQueue.length - 1]);
496 whereToMove += delta;
497 if ( _self.addMoveElementToQueue(whereToMove) ) { return whereToMove; }
644 if ( (whereToMove = _self.getClickImage(e)) === false ) { return; }
646 var whereToImage = _self.checkedImages[whereToMove];
653 if ( (whereToMove = _self.getClickImage(e)) === false ) { return; }
661 _self.addMoveElementToQueue(whereToMove);
666 var whereToMove = 0;
669 whereToMove = index;
674 return whereToMove;