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