From 337c78fa21982d5b19682eb451f8593933274f4c Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 18 Feb 2007 10:30:38 +0000 Subject: [PATCH] aggiunta gestione flash --- web/index.php | 24 +++++++++++++++++++++--- web/table.php | 4 ++++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/web/index.php b/web/index.php index 171f2aa..090f960 100644 --- a/web/index.php +++ b/web/index.php @@ -140,7 +140,9 @@ briscola chiamata in salsa ajax

sponsored by:

'.$altout_carousel.'


supported by:

-


+

+
+


%s '; @@ -156,12 +158,21 @@ supported by:

+ @@ -210,6 +221,7 @@ Digita il tuo nickname per accedere ai tavoli della briscola.

+ @@ -220,6 +232,7 @@ Digita il tuo nickname per accedere ai tavoli della briscola.

var subst = ""; var gst = new globst(); + var g_withflash = false; var g_imgct= 0; var g_imgtot = g_preload_img_arr.length; var myfrom = "index_php"; @@ -237,7 +250,12 @@ else { sess = ""; window.onunload = onunload_cb; - + g_withflash = DetectFlashVer(6,0,0); + if (g_withflash == false) { + $("proflash").innerHTML = 'Audio con Flash.
'; + } + else + $("proflashext").innerHTML = ""; setTimeout(xhr_rd_poll, 0, sess); // alert("ARR LENGTH "+g_preload_img_arr.length); setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); @@ -249,7 +267,7 @@ else {

'); + printf($brisk_header_form, '




'); ?>
diff --git a/web/table.php b/web/table.php index 54efa7d..2448002 100644 --- a/web/table.php +++ b/web/table.php @@ -31,6 +31,7 @@ + @@ -41,6 +42,7 @@ var subst = "none"; var table_pos = ""; var myfrom = "table_php"; + var g_withflash = false; var asta_ptr; var area_ptr; @@ -61,6 +63,7 @@ var g_imgct= 0; var g_imgtot = g_preload_img_arr.length; window.onload = function() { + g_withflash = DetectFlashVer(6,0,0); remark_off(); table_init(); xhr_rd = createXMLHttpRequest(); @@ -205,6 +208,7 @@ Hai vinto l'asta.
Scegli il seme:
+


-- 2.17.1