19 lines
442 B
JavaScript
19 lines
442 B
JavaScript
|
$(function(){
|
||
|
beathaven.init();
|
||
|
$(window).resize(beathaven.adjustSizes)
|
||
|
})
|
||
|
var beathaven = {
|
||
|
|
||
|
init: function () {
|
||
|
this.drawInterface();
|
||
|
this.adjustSizes();
|
||
|
},
|
||
|
drawInterface: function() {
|
||
|
},
|
||
|
adjustSizes: function() {
|
||
|
$('#data-container').height($(window).height() - $('#header-container').height());
|
||
|
$('#player-container').height($(window).height());
|
||
|
$('#playlist').height($(window).height() - $('#player').height());
|
||
|
|
||
|
}
|
||
|
}
|