X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=18b89c87df6d528556ee3e653235b2ca424dfe7b;hb=041ad76b646377ac5d09f244fa0f524547b1a942;hp=041b5521d806dd6f25b951f5b09fdf0745225668;hpb=fe1eb978328b62ccd0052a376b87b6b867dc531a;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 041b552..18b89c8 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++; @@ -700,7 +700,7 @@ function onunload_cb () { if (res == true) { the_end = true; act_shutdown(); - for (i = 0 ; i < 1000000 ; i++) + while (1) u++; } else { @@ -716,3 +716,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+"