Merge branch 'master' of git.c3d2.de:c3d2-web

This commit is contained in:
klObs 2011-09-17 03:04:29 +02:00
commit d775ca0c4a
2 changed files with 9 additions and 0 deletions

View File

@ -86,6 +86,14 @@ function Cloud() {
this.y = Math.floor(Math.random() * screen.height);
this.el = $('<img class="backgroundcloud" src="images/pixelcloud.png"/>');
$('body').append(this.el);
var that = this;
this.el.mousemove(function(ev) {
if (ev.offsetX < 36)
that.speedX += 10;
else
that.speedX -= 10;
});
}
Cloud.prototype.update = function() {

View File

@ -114,6 +114,7 @@ h3.summary {
#footer {
text-align: center;
margin-top: 6pt;
font-size: 9.600000000000001pt;
}
#oldds {
margin: 0;