Difference between revisions of "Team:Tuebingen/Notebook"

Line 19: Line 19:
 
for (var i=0;i<4;i++) {
 
for (var i=0;i<4;i++) {
 
var week = document.createElement('div');
 
var week = document.createElement('div');
week.style.cssText = 'width:21vw;height:3pvw;cursor:pointer;';
+
week.style.cssText = 'width:21vw;height:3vw;cursor:pointer;';
 
week.onmouseover = function() {this.style.backgroundColor = 'rgba(0,0,0,0.2)';};
 
week.onmouseover = function() {this.style.backgroundColor = 'rgba(0,0,0,0.2)';};
 
week.onmouseout = function() {this.style.backgroundColor = 'transparent';};
 
week.onmouseout = function() {this.style.backgroundColor = 'transparent';};

Revision as of 01:45, 18 September 2015

<
>