diff options
| author | Niklas Goby | 2011-04-18 09:43:34 +0200 |
|---|---|---|
| committer | Niklas Goby | 2011-04-18 09:43:34 +0200 |
| commit | d113dab715cea7e6f3da0a0a6e650298a6acc032 (patch) | |
| tree | 65873adce9fa6401026b1b4c89f12a1e8868e3c2 /src/html/preload.html | |
| parent | started to write a function for getting all available network (diff) | |
| parent | uniformed formatting... (diff) | |
| download | fbgui-d113dab715cea7e6f3da0a0a6e650298a6acc032.tar.gz fbgui-d113dab715cea7e6f3da0a0a6e650298a6acc032.tar.xz fbgui-d113dab715cea7e6f3da0a0a6e650298a6acc032.zip | |
Merge branch 'master' of git.openslx.org:lsfks/master-teamprojekt/fbgui
Conflicts:
src/sysinfo.h
Diffstat (limited to 'src/html/preload.html')
| -rw-r--r-- | src/html/preload.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/html/preload.html b/src/html/preload.html index a01dbd7..bb63050 100644 --- a/src/html/preload.html +++ b/src/html/preload.html @@ -5,6 +5,18 @@ function gogo(){ fbgui.trigger(); } +//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> @@ -13,6 +25,16 @@ function gogo(){ <p>Waiting on internet... </p> </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> <div id="container"> <div id="footer-spacer"></div> </div> |
