bottoni immagini a input button
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 16 Jan 2007 19:50:13 +0000 (19:50 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 16 Jan 2007 19:50:13 +0000 (19:50 +0000)
web/brisk.css
web/table.php

index 19260e5..a3aa759 100644 (file)
@@ -239,6 +239,13 @@ img.seed3 {
     padding: 2px;
 }
 
+div.table_commands {
+    display: inline;
+    position: absolute;
+    right: 15px;
+    bottom: 15px;
+}
+
 .remark0 { 
   position:     absolute; 
   width:  200px;
@@ -509,5 +516,23 @@ img.callerimg {
        left: 133px;
        top: 10px;
        }
+
+
+input.button {
+  border: 1px solid gray;  
+  color: black;
+  background-color: RGB(240,240,240);
+  vertical-align: middle;
+  text-decoration:none;
+  font-size: 100%;
+  cursor: pointer;
+  height: 20px ! important;
+  max-height: 20px ! important;
+  min-height: 20px ! important;
+  margin: 1px;
+  display: inline;
 }
 
+input.button:hover {
+  background-color: white;
+}
index 0241d79..9e16cb0 100644 (file)
@@ -68,15 +68,11 @@ window.onload = function() {
   window.onunload = onunload_cb;  
 
   setTimeout(xhr_rd_poll, 0, sess); 
-  setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); 
+  //  setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); 
 }
 </SCRIPT>
 <div id="bg" class="area">
 
-<img id="tableinfo" src="img/reload.png" class="tablereload" onclick = 'act_reload();'>
-<img id="tableinfo" src="img/info.png" class="tableinfo" onclick = 'act_tableinfo();'>
-<img id="tableout" src="img/out.png" class="tableout" onclick = 'safelogout();'>
-
 <div id="remark" class="remark0"></div>
 <img id="card0" src="img/00.png" class="card">
 <img id="card1" src="img/01.png" class="card">
@@ -196,6 +192,12 @@ Hai vinto l'asta.<br> Scegli il seme:
 <div id="callerinfo" class="callerinfo">Info</div>
 <img id="callerimg" src="img/noimg.png" class="callerimg">
 </div>
+<div class="table_commands">
+<input type="button" class="button" name="xinfo"  value="Info." onclick="act_tableinfo();">
+<input type="button" class="button" name="xreload"  value="Reload." onclick="act_reload();">
+<input type="button" class="button" name="xout"  value="Out." onclick="safelogout();">
+</div>
+
 </div>