teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

javaのインデントを修正しました。

2019/02/14 05:46

投稿

hiroki88
hiroki88

スコア66

title CHANGED
File without changes
body CHANGED
@@ -44,18 +44,18 @@
44
44
  var count= 0;
45
45
 
46
46
  var timer = window.setInterval(function() {
47
- if (count >= 100) {
47
+ if (count >= 100) {
48
- window.clearInterval(timer);
48
+ window.clearInterval(timer);
49
- $('#loader').fadeOut('slow', function() {
49
+ $('#loader').fadeOut('slow', function() {
50
- $('img').fadeIn('slow');
50
+ $('img').fadeIn('slow');
51
- });
51
+ });
52
- } else {
52
+ } else {
53
- if (count <= 100) {
53
+ if (count <= 100) {
54
- count++;
54
+ count++;
55
- $('#load-text').html(count + '%');
55
+ $('#load-text').html(count + '%');
56
- $('#bar span').css('width', count + '%');
56
+ $('#bar span').css('width', count + '%');
57
- }
57
+ }
58
- }
58
+ }
59
59
  },30)
60
60
  });
61
61
  ```