if($defined(w))
w.onResize();
}.bind(this));
- this.qjsui.top.addClass("tabbar");
+ this.qjsui.top.addClass("outertabbar");
this.qjsui.bottom.addClass("input");
this.qjsui.right.addClass("nicklist");
this.qjsui.topic.addClass("topic");
this.qjsui.middle.addClass("lines");
- this.tabs = this.qjsui.top;
+ this.outerTabs = this.qjsui.top;
+ this.__createDropdown();
+
+ this.tabs = new Element("div");
+ this.tabs.addClass("tabbar");
+ this.outerTabs.appendChild(this.tabs);
this.origtopic = this.topic = this.qjsui.topic;
this.origlines = this.lines = this.qjsui.middle;
this.orignicklist = this.nicklist = this.qjsui.right;
event.stop();
}.bind(this));
- this.__createDropdown();
-
this.createInput();
this.reflow();
},
dropdownMenu.addClass("dropdownmenu");
var surface = new Element("div");
surface.addClass("surface");
-
dropdownMenu.hide = function(noRemove) {
dropdownMenu.setStyle("display", "none");
dropdownMenu.visible = false;
dropdownMenu.appendChild(e);
}.bind(this));
- var dropdown = new Element("img");
+ var dropdown = new Element("div");
dropdown.addClass("dropdown-tab");
- dropdown.setStyle("display", "inline-block");
- dropdown.set("html", "<img src=images/favicon.png>");
- this.tabs.appendChild(dropdown);
-
+ dropdown.appendChild(new Element("img", {src: "images/favicon.png", title: "menu", alt: "menu"}));
+ this.outerTabs.appendChild(dropdown);
dropdownMenu.show = function(x){
new Event(x).stop();
var top = x.client.y;
*/
/* -1 == border */
- top = this.tabs.getSize().y - 1;
+ var top = this.tabs.getSize().y - 1;
- dropdownMenu.setStyle("left", left);
+ dropdownMenu.setStyle("left", 0);
dropdownMenu.setStyle("top", top);
dropdownMenu.setStyle("display", "inline-block");
dropdownMenu.visible = true;
this.topic.setStyle("display", display);
},
showInput: function(state) {
+ this.bottom.isVisible = state;
this.bottom.setStyle("display", state?"block":"none");
}
});
this.close();
- parentObject.inputbox.focus();
+ //parentObject.inputbox.focus();
}.bind(this);
tabclose.addEvent("click", close);
font-family: Consolas, "Lucida Console", Verdana, monospace, sans-serif, "sans serif";
}
-.qwebirc-qui .tabbar {
- border-bottom: 1px solid #c3cee0;
- background: #e2ecf9;
- font-size: 0.8em;
- color: #000000;
-}
-
.qwebirc-qui .tab-invisible {
display: none;
}
font-size: 0.7em;
}
-.qwebirc-qui .tabbar {
+.qwebirc-qui .outertabbar {
border-bottom: 1px solid #c3cee0;
- padding: 4px;
background: #e2ecf9;
+}
+
+.qwebirc-qui .tabbar {
+ padding: 4px;
font-size: 0.8em;
color: #000000;
}
text-decoration: underline;
}
-.qwebirc-qui .tabbar .dropdown-tab {
- color: red;
+.qwebirc-qui .outertabbar .dropdown-tab {
cursor: pointer;
cursor: hand;
+ float: left;
+ padding: 4px;
}
.qwebirc-qui div.dropdownmenu {