.
This commit is contained in:
parent
9b2af79e8c
commit
6702b0be7c
1 changed files with 3 additions and 5 deletions
|
|
@ -127,6 +127,9 @@ $(document).ready(function() {
|
||||||
$('.objstring').eq(idx).css('z-index', 1);
|
$('.objstring').eq(idx).css('z-index', 1);
|
||||||
//
|
//
|
||||||
screens[idx].activate();
|
screens[idx].activate();
|
||||||
|
//set background colors
|
||||||
|
$('body').css('background-color', screen_bgcolors[idx]);
|
||||||
|
//
|
||||||
} else {
|
} else {
|
||||||
screens[idx].sendToBack();
|
screens[idx].sendToBack();
|
||||||
$('.objstring').eq(idx).css('z-index', -1);
|
$('.objstring').eq(idx).css('z-index', -1);
|
||||||
|
|
@ -139,11 +142,6 @@ $(document).ready(function() {
|
||||||
if (curscreen == nscreen) {
|
if (curscreen == nscreen) {
|
||||||
anext._deactivate();
|
anext._deactivate();
|
||||||
}
|
}
|
||||||
//set background colors
|
|
||||||
$('body').css('background-color', screen_bgcolors[idx]);
|
|
||||||
console.log(screen_bgcolors);
|
|
||||||
console.log(idx);
|
|
||||||
console.log(screen_bgcolors[idx]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function nextScreen() {
|
function nextScreen() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue