CC-3174 : showbuilder

making the library a separate scrollable from playlist
This commit is contained in:
Naomi Aro 2012-03-05 18:14:10 +01:00
parent b8ca0ef740
commit a832a40c75
8 changed files with 69 additions and 13 deletions

View file

@ -1 +1,16 @@
$(document).ready(AIRTIME.library.libraryInit);
$(document).ready(function() {
var viewport = AIRTIME.utilities.findViewportDimensions(),
lib = $("#library_content"),
pl = $("#side_playlist"),
widgetHeight = viewport.height - 185,
width = Math.floor(viewport.width - 110);
lib.height(widgetHeight)
.width(Math.floor(width * 0.55));
pl.height(widgetHeight)
.width(Math.floor(width * 0.45));
AIRTIME.library.libraryInit();
});