Changeset 30764


Ignore:
Timestamp:
08/26/16 17:16:37 (4 years ago)
Author:
davidb
Message:

Tidy up on where to place the 'expand contents' tables for paged-image docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/document_scripts.js

    r30748 r30764  
    628628function addExpandContractButtons()
    629629{
    630     var tableOfContents = $("#rightSidebar  div.tableOfContentsContainer");
    631     var table = "<tr><td><table style=\"width:100%; text-align:center;\"><tr><td><a href=\"javascript:expandOrCollapseAll(true);\">Expand document</a></td><td><a href=\"javascript:expandOrCollapseAll(false);\">Collapse document</a></td></tr></table></td></tr>" ;
     630    var tableOfContents = $("#tableOfContents");
     631    var table = "<table style=\"width:100%; text-align:center;\"><tr><td><a href=\"javascript:expandOrCollapseAll(true);\">Expand document</a></td><td><a href=\"javascript:expandOrCollapseAll(false);\">Collapse document</a></td></tr></table>" ;
     632   
    632633   tableOfContents.prepend(table);
    633634
Note: See TracChangeset for help on using the changeset viewer.