mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
Make keyboard selection UI work across all browsers (FireFox, Chrome, IE, Safari)
This commit is contained in:
parent
29c510de28
commit
101ff9bb42
@ -71,6 +71,8 @@ body {
|
||||
#toolbar ul li ul {
|
||||
position: absolute;
|
||||
top:32;
|
||||
width: 130;
|
||||
height: 66;
|
||||
display: block;
|
||||
display: none;
|
||||
border-top: 1px solid black;
|
||||
@ -93,6 +95,7 @@ body {
|
||||
padding:0 3px 0 3px;
|
||||
text-decoration:none;
|
||||
line-height:32px;
|
||||
vertical-align: bottom; /* this is to fix the list gap in IE */
|
||||
}
|
||||
|
||||
#toolbar ul li ul li a:hover {
|
||||
|
||||
@ -513,6 +513,8 @@ AjaxViewer.prototype = {
|
||||
pullDownElement.hover(
|
||||
function(e) {
|
||||
var subMenu = pullDownElement.find("ul");
|
||||
var offset = subMenu.parent().offset();
|
||||
subMenu.css("left", offset.left);
|
||||
|
||||
$("li.current").removeClass("current");
|
||||
$("li:eq(" + ajaxViewer.currentKeyboard + ")", subMenu).addClass("current");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user