src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 157 73bce42a3ed3
parent 154 6e115a094858
child 164 d335ee5533c5
equal deleted inserted replaced
156:0e6a4d1e4dbe 157:73bce42a3ed3
   100   var matches = this._serializer.searchOccurences(searchString);
   100   var matches = this._serializer.searchOccurences(searchString);
   101   
   101   
   102   for (var id in matches) {
   102   for (var id in matches) {
   103     var factor = matches[id] * 8;
   103     var factor = matches[id] * 8;
   104     IriSP.jQuery("#"+id).dequeue();
   104     IriSP.jQuery("#"+id).dequeue();
   105     IriSP.jQuery("#"+id).animate({height: factor},200);
   105     IriSP.jQuery("#"+id).animate({height: factor}, 200);
   106     IriSP.jQuery("#"+id).css('border','2px');
   106     IriSP.jQuery("#"+id).css('border','2px');
   107     IriSP.jQuery("#"+id).css('border-color','red');
   107     IriSP.jQuery("#"+id).css('border-color','red');
   108     IriSP.jQuery("#"+id).animate({opacity:0.6},200);
   108     IriSP.jQuery("#"+id).animate({opacity:0.6}, 200);
   109 
   109 
   110     //IriSP.jQuery("#LdtSearchInput").css('background-color','#e1ffe1');
   110     //IriSP.jQuery("#LdtSearchInput").css('background-color','#e1ffe1');
   111   }
   111   }
   112   
   112   
   113   // clean up the blocks that were in the previous search
   113   // clean up the blocks that were in the previous search