Merge branch 'master' of git.c3d2.de:c3d2-web
This commit is contained in:
commit
d775ca0c4a
|
@ -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() {
|
||||
|
|
|
@ -114,6 +114,7 @@ h3.summary {
|
|||
#footer {
|
||||
text-align: center;
|
||||
margin-top: 6pt;
|
||||
font-size: 9.600000000000001pt;
|
||||
}
|
||||
#oldds {
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user