From 96b3b0c2196bea834cfc3e7d77283029782f87d7 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 30 Mar 2008 18:32:55 +0000 Subject: [PATCH] topbanner added --- web/commons.js | 6 +++--- web/index.php | 2 +- web/room.css | 27 +++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/web/commons.js b/web/commons.js index 1849705..189effc 100644 --- a/web/commons.js +++ b/web/commons.js @@ -109,15 +109,15 @@ function getStyle(x,IEstyleProp, MozStyleProp) // var card_pos = RANGE 0 <= x < cards_ea_n -function show_bigpict(obj, act) +function show_bigpict(obj, act, x, y) { var big; // alert("offsetTop: "+obj.offsetTop+" offsetLeft: "+obj.offsetLeft+"obj.id: "+obj.id); big = $(obj.id+"_big"); if (act == "over") { - big.style.left = obj.offsetLeft + 100+"px"; - big.style.top = obj.offsetTop + 10+"px"; + big.style.left = obj.offsetLeft + x+"px"; + big.style.top = obj.offsetTop + y+"px"; big.style.visibility = "visible"; } else { diff --git a/web/index.php b/web/index.php index 3ba6d91..a6f4082 100644 --- a/web/index.php +++ b/web/index.php @@ -224,7 +224,7 @@ google_color_url = "000000"; '.($with_topbanner ? '
- + Torneo di briscola
chiamata - Milano
17/05/2008
diff --git a/web/room.css b/web/room.css index c789467..63bdaa9 100644 --- a/web/room.css +++ b/web/room.css @@ -281,3 +281,30 @@ div.esco { line-height: 20px; text-decoration: none; } + +.topbanner { + position: relative; + align: center; + text-align:center; + background-color: #f8f8f8; + padding: 4px; + border: 1px solid #000000; +} + +.topbanner a:link { + color: black; + line-height: 16px; + text-decoration: none; +} + +.topbanner a:visited { + color: black; + line-height: 16px; + text-decoration: none; +} + +.topbanner a:hover { + color: RGB(255,174,0); + line-height: 16px; + text-decoration: none; +} -- 2.17.1