瀏覽代碼

.tab:hover and tab_select logging

Nathaniel van Diepen 12 年之前
父節點
當前提交
a897623b3b
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 3 0
      www/css/style.css
  2. 1 0
      www/js/omnomirc.js

+ 3 - 0
www/css/style.css

@@ -158,4 +158,7 @@ html,body{
 }
 #tabs-list span.tab.clicked{
 	background-color: lightgrey;
+}
+#tabs-list span.tab:hover{
+	background-color: grey;
 }

+ 1 - 0
www/js/omnomirc.js

@@ -39,6 +39,7 @@
 			}
 		},
 		selectTab: function(id){
+			$o.event('tab_select',id);
 			if(id<tabs.length-1&&id>=0){
 				selectedTab=id;
 			}