summaryrefslogtreecommitdiffstats
path: root/src/fbgui/html/loadsystem.html
blob: 838423e566887dd9b40e4922b9b1d138e86b7f70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<link rel="stylesheet" type="text/css" href="loadsystem.css">
<script type="text/javascript">
//simple script to rotate all spinners 45 degrees on each tick
//this works differently from the css transforms, which is smooth
var count = 0;
function rotate() {
	var elem4 = document.getElementById('div4');
	elem4.style.MozTransform = 'scale(0.5) rotate('+count+'deg)';
	elem4.style.WebkitTransform = 'scale(0.5) rotate('+count+'deg)';
	if (count==360) { count = 0 }
	count+=45;
	window.setTimeout(rotate, 100);
}
window.setTimeout(rotate, 100);
</script>
</head>
<body>

<div id="message">
  <h1>Loading system, please wait...</h1>
</div>
<div id="div4"> 
  <div class="bar1"></div> 
  <div class="bar2"></div> 
  <div class="bar3"></div> 
  <div class="bar4"></div> 
  <div class="bar5"></div> 
  <div class="bar6"></div> 
  <div class="bar7"></div> 
  <div class="bar8"></div> 
</div>
</body>
</html>