Design/graphics

Search dialog

Results

TermsDescription
TitleMain title of the entry corresponding to the document where the result item was found.
SubtitleTitle of the section of the document containing the search terms.
LinkLink to the main source document
ExtractSome lines of text from the section found. When the user expands the extract with the plus icon on the left, the whole section is shown.
HostThe site hosting the original document
Additional linksLinks to different representations of the section or references to related documents. The set of links shown varies with the type of the hit.


XHMTL structure

Every search hit item has the following XHTML structure (NOTE! INCOMPLETE!):

<li class="drugle-li-result">
  <img src=PATH_TO_ICON_IMAGE/>
  <a href="PATH_TO_SEARCH_HIT" class="res-tit"><b>TITLE</b></a>
  <br/>
  <div class="res-tit2">ASPECT</div>
  <a onclick="javascript:search_text('n05ch01')" id="atc-n05ch01-3" href="#">Nervous system. Hypnotics and sedatives</a>
  <div>
    ATC_STUFF
  </div>
  <button .../> FOR EXPANDING/COLLAPSING ASPECT/SECTION (SEE DIVS BELOW!)
  <div>
    COLLAPSED ASPECT/SECTION -- THIS SECTION IS BY DEFAULT VISIBLE
  </div>
  <div> 
    EXPANDED ASPECT/SECTION -- THIS SECTION IS BY DEFAULT HIDDEN
  </div>
  <span class="site-link">
    LINKS TO ORIGINAL SITE AND DOCUMENT ETC.
  </span>
</li>

Attachments