Columbia
Escutcheon Columbia University Libraries Digital Program
Manual Edits Needed for VRR Tiles from PDC

          Path: Digital Library Projects  : VRR : Documentation, rev. 03/09/03
  1. Base Text-specific stylesheet edits.

    Add the following lines to each text-specific stylesheet provided by PDC:

    a {color:#2C5277; text-decoration: underline;}
    a:visited {color:#2C5277}
    a:active {text-decoration: underline}
    a:hover {color:#2C5277; text-decoration:underline;}


    Also, edit all 'em' spacing over 2em to 2em exactly.

  2. Create browser-specific style sheets.  Clone individual text-specific stylesheet into two versions e.g., casshort_ns.css and casshort_ie.css.

  3. Edit MS IE version of the stylesheet:

    1. Add style:

      table { margin-left: 15px; margin-right: 15px}


  4. Edit Netscape version of the stylesheet:

    1. Add style:

      table { padding-right: 15px; padding-left: 15px}

    2. Change all H1 styles to bold, e.g., change

      h1.contents {text-align: center; margin-bottom: 0em; font-size: 14pt; font-weight: normal}

      to:

      h1.contents {text-align: center; margin-bottom: 0em; font-size: 14pt; font-weight: bold}

    3. Change all x-small & xx-small fonts to 14px

  5. Javascript browser sniffer.  Copy & rename ssi file for javascript browser sniffer, e.g., "casshort_style.html".

    Change references in file to current's text stylesheets, e.g., humeenq_ie.css, humeenq_ns.css.

  6. Insert Stylesheet SSI.  Replace stylesheet statement globally in all related text files with SSI, e.g., change

    <link rel="stylesheet" type="text/css" href="hillprot.css">
    to:
    <!--#include file="hillprot_style.html"-->

  7. Header/Footer/Sidebar.   Clone header/footer/sidebar/js/cite and index files from previous texts.  Update text and file links as appropriate

    e.g.,
    • index.html
    • nextpage.js
    • casshort_navbar.html
    • casshort_menu.html
    • casshort_title.html
    • casshort_cite.html


     Make sure each file includes the following insert general VRR browser sniffer/stylesheet SSI:

    <!--#include virtual="/sec/cu/lweb/eresources/ebooks/vrr_style.html"-->

  8. Navbar.  
    1. Paste [newfilename]_nav.html into "cassshort_navbar.html" & rename to "[newfilename]_navbar.html"
    2. Adjust [newfilename_navbar.html" layout & div names to correspond to current work.
    3. Insert javascript command in each href to reset nextpage.js page number when navigating from index, e.g.:

      <a href="aristpol_02.html" target="content" class="menu10"
        onClick="parent.menu.currentPage=2;"
      >[Title Page]</a></td>



  9. Next/Previous Script.  Copy nextpage.js to the etext's directory; edit it to reflect the highest number file present in the text being configured

    e.g., change the 16 in " if( page < 0 | page > 16 ) " to highest filename #


    Similarly, in the title_menu.html file, change the js references in b3 and b4 to reflect the highest file number,

    e.g., <span name=b3> <a href="javascript:if(currentPage<15) incFrame()"

    change the 15 to whatever.

    ALSO: Change the default page number to the title page's file number, e.g.,

    var currentPage = 2;

    if (typeof currentPage == 'undefined') { page = 2; }

    Where the title page is [filename]_02.html

  10. Change the table of contents page from layers to html tables; insert javascript command to reset page number when link is followed, e.g.

    <a href="humeenq_05.html#p1"
       target="content"
       onClick="parent.menu.currentPage=05;">1</a>


  11. Character entities. Do global search and replace for character entities as follows: Make sure to replace as Source, not as Text!

    &ndash; => &#150;
    &mdash; => &#151;

    &lsquo; => &#8216;
    &rsquo; => &#8217;

    &ldquo; => &#8220;
    &rdquo; => &#8221;

    &hellip; => &#8230;

    &dagger; => &#8224;

    [breve] => &#728;


    See detailed character set spec:  http://www.columbia.edu/cu/libraries/inside/projects/vrr/documentation/characters.html

  12. Insert Images

  13. Table of Contents (& Figures)
    1. Change Tables of Contents & Tables of Figures to replace layers with tables
    2. Add Javascript to links to URLs to reset page #s, e.g.,

      onClick="parent.menu.currentPage=6;">

  14. Document edits. 
    1. Remove 'hr' codes from the top of each document file;
    2. remove 'br's preceding the first page number in a doc;
    3. remove framing table widths to allow for resizing text window.


Columbia Libraries    Digital Program
Last revision: 03/09/03
© Columbia University