Don P: Javascript Video onclick wechseln

Beitrag lesen

Hallo,

imgs.rotate = function (direction) {

if      (direction > 0) { this.push(this.shift());  }
  else if (direction < 0) { this.unshift(this.pop()); }
}

  
Boooaaaahh, wer hat mir denn \*das\* geklaut?  
Hätte es patentieren lassen sollen.... ;)  
  
Gruß, Don P