|
|
@ -176,7 +176,7 @@ function getData(respone) { |
|
|
|
if(dataInstrument[i].clips.length >= 2){ |
|
|
|
if(dataInstrument[i].clips.length >= 2){ |
|
|
|
console.log('*********** >= 2 ***********') |
|
|
|
console.log('*********** >= 2 ***********') |
|
|
|
var tagMiniImage = '' |
|
|
|
var tagMiniImage = '' |
|
|
|
var loopImage = dataInstrument[i].clips.length1 |
|
|
|
var loopImage = dataInstrument[i].clips.length |
|
|
|
for(j=1;j<loopImage;j++){ |
|
|
|
for(j=1;j<loopImage;j++){ |
|
|
|
if (j==3){ |
|
|
|
if (j==3){ |
|
|
|
style4 = 'margin-top:5px' |
|
|
|
style4 = 'margin-top:5px' |
|
|
@ -185,7 +185,7 @@ function getData(respone) { |
|
|
|
+'<img id="myImg'+j+''+i+'" class="miniImage" style="'+style4+'" src="'+dataInstrument[i].clips[j].photo+'" alt=""/>' |
|
|
|
+'<img id="myImg'+j+''+i+'" class="miniImage" style="'+style4+'" src="'+dataInstrument[i].clips[j].photo+'" alt=""/>' |
|
|
|
+'<h6 class="miniImage flexCenter" ></h6>'; |
|
|
|
+'<h6 class="miniImage flexCenter" ></h6>'; |
|
|
|
} |
|
|
|
} |
|
|
|
for(j=loopImage+1;j<3;j++){ |
|
|
|
for(j=loopImage;j<4;j++){ |
|
|
|
if (j==3){ |
|
|
|
if (j==3){ |
|
|
|
style4 = 'margin-top:5px' |
|
|
|
style4 = 'margin-top:5px' |
|
|
|
} |
|
|
|
} |
|
|
|