Orb/Doxygen/src/search.js
changeset 4 468f4c8d3d5b
parent 0 42188c7ea2d9
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
   354          domPopupSearchResults.style.width          = width + 'px';
   354          domPopupSearchResults.style.width          = width + 'px';
   355        }
   355        }
   356        else
   356        else
   357        {
   357        {
   358          var domPopupSearchResults = this.DOMPopupSearchResults();
   358          var domPopupSearchResults = this.DOMPopupSearchResults();
   359          var left = getXPos(domSearchBox) + domSearchBox.offsetWidth;
   359          var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth;
   360          var top  = getYPos(domSearchBox) + domSearchBox.offsetHeight + 1;
   360          var top  = getYPos(domSearchBox) + 20;  // domSearchBox.offsetHeight + 1;
   361          domPopupSearchResultsWindow.style.display = 'block';
   361          domPopupSearchResultsWindow.style.display = 'block';
   362          left -= domPopupSearchResults.offsetWidth;
   362          left -= domPopupSearchResults.offsetWidth;
   363          domPopupSearchResultsWindow.style.top     = top  + 'px';
   363          domPopupSearchResultsWindow.style.top     = top  + 'px';
   364          domPopupSearchResultsWindow.style.left    = left + 'px';
   364          domPopupSearchResultsWindow.style.left    = left + 'px';
   365        }
   365        }