1
0
Fork 0
oldhaven/public/javascripts/layout.js

19 lines
510 B
JavaScript
Raw Normal View History

2011-06-14 16:05:12 +00:00
$(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());
2011-06-14 20:01:42 +00:00
$('#data-container').width($(window).width() - $('#player').width())
2011-06-14 16:05:12 +00:00
$('#player-container').height($(window).height());
$('#playlist').height($(window).height() - $('#player').height());
}
}