Created
August 1, 2015 08:27
-
-
Save yajamon/1b9ea471fa8810b1faec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(flag==1){//繰り返しの時 | |
mvFlag[layName]=false; | |
setTimeout((function(layName,a,b,a2,b2,c,c2){ | |
slideLS(layName,a,b,a2,b2,c,c2); | |
})(layName,a,b,a2,b2,c,10),10); | |
}else{//はじめの場合 | |
for(i=0;i<8;i++){ | |
/* 座標の計算処理 */ | |
var targetLayerName = 'bga'+i; | |
mvFlag[targetLayerName]=false; //flag | |
setTimeout((function(targetLayerName,a,b,a2,b2,c,c2){ | |
slideLS(targetLayerName,a,b,a2,b2,c,c2); | |
})(targetLayerName,a,b,a2,b2,c,10),10); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment