Commit b4a31691 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

update PopUpSelector

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55596 954022d7-b5bf-4e40-9824-e11837661b57
parent fb3ec5ad
...@@ -135,22 +135,22 @@ ...@@ -135,22 +135,22 @@
height: 11pt; height: 11pt;
} }
/*#apiPopUpSelector { #apiPopUpSelector {
z-index: 3000; /*z-index: 3000;
height: auto; height: auto;
background-color: #FFF; background-color: #FFF;
border: 1px solid Grey; border: 1px solid Grey;*/
position: absolute; position: absolute;
cursor: default;
font-size: 12px;
padding: 4px;
display: none; display: none;
/* cursor: default;
font-size: 12px;
padding: 4px;*/
} }
#apiPopUpList { #apiPopUpList {
margin: 0 10px 0 0; display: block;
padding: 0; max-height: 210px;
list-style: none; overflow: hidden;
}*/ }
#apiPopUpList li { #apiPopUpList li {
max-width: 500px; max-width: 500px;
/*text-overflow: ellipsis; /*text-overflow: ellipsis;
......
...@@ -42,8 +42,7 @@ ...@@ -42,8 +42,7 @@
this.selector = document.createElement("div"); this.selector = document.createElement("div");
this.selectorStyle = this.selector.style; this.selectorStyle = this.selector.style;
this.selector.id = "apiPopUpSelector"; this.selector.id = "apiPopUpSelector";
this.selector.className = "dropdown-menu"; // Необходимо для меню this.selector.innerHTML = '<div style="max-height:210px;" class="combobox"><ul id="apiPopUpList" class="dropdown-menu"></ul></div>';
this.selector.innerHTML = '<div style="max-height:210px;overflow-y:auto"><ul id="apiPopUpList"></ul></div>';
this.element.appendChild(this.selector); this.element.appendChild(this.selector);
this.selectorList = document.getElementById("apiPopUpList"); this.selectorList = document.getElementById("apiPopUpList");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment