X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=0b1275ed82726005bcc7b555e8060e816d7c9567;hb=15771956de22e6bc437f3ed2d4e503e3384ebd4f;hp=041b5521d806dd6f25b951f5b09fdf0745225668;hpb=c2b4873c120bbcc1a33b559025eac2493605bc22;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 041b552..0b1275e 100644 --- a/web/commons.js +++ b/web/commons.js @@ -90,7 +90,7 @@ function reset_images() function update_images() { - $("imgct").innerHTML = "Immagini caricate "+g_preload_imgsz_arr[g_imgct]+"%."; + // $("imgct").innerHTML = "Immagini caricate "+g_preload_imgsz_arr[g_imgct]+"%."; if (g_imgct < g_preload_img_arr.length) setTimeout(preload_images, 100, g_preload_img_arr, g_imgct); g_imgct++; @@ -244,7 +244,7 @@ function postact_logout() xhr_rd.abort(); } catch (e) {} - eraseCookie("sess"); + // eraseCookie("sess"); document.location.assign("index.php"); } @@ -457,6 +457,7 @@ function notify(st, ancestor, text, tout, butt) clo = document.createElement("input"); clo.type = "submit"; + clo.className = "button"; clo.value = butt; clo.obj = this; clo.onclick = this.input_hide; @@ -700,7 +701,7 @@ function onunload_cb () { if (res == true) { the_end = true; act_shutdown(); - for (i = 0 ; i < 1000000 ; i++) + while (1) u++; } else { @@ -716,3 +717,32 @@ function onunload_cb () { return(false); } + +function room_checkspace(emme,tables,inpe) +{ + nome = ""; + for (i = 0 ; i < emme ; i++) + nome += "m"; + nome += ""; + + alta = ""; + for (i = 0 ; i < 5 ; i++) + alta += nome+"
"; + + for (i = 0 ; i < tables ; i++) { + $("table"+i).innerHTML = alta; + $("table_act"+i).innerHTML = ""; + } + + stand = ""; + for (i = 0 ; i < inpe ; i++) { + stand += ""; + if ((i+1) % 4 == 0) { + stand += ""; + } + } + stand += ""; + $("standup").innerHTML = stand; + + $("esco").innerHTML = ""; +}
"+nome+"