javascript - how to display image horizontal and vertical dynamic -


i wanna display images in imagelist.

i wanna see

  • ab
  • cd

how can that? not or odd

maybe list can below abcde fg

i wanna new row or display:block when count==2 .list can (1,1,1,1,2,1 ) first row 4 elements second row 2 element.list can (1,1,1,2,1,2,1) first row 3 elements second row 2 elements third row 2 element

link here *****jsfiddle.net/jpkwhfv3/ *****

how :

  <div ng-repeat="key in items">     <div class="row" ng-if="$even">       <div>{{items[$index]}}</div>       <div>{{items[$index + 1]}}</div>     </div>   </div> 

with

$scope.items= object.keys(m); 

http://jsfiddle.net/0momap0n/302/


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -