- 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.
- Create browser-specific style sheets. Clone
individual text-specific stylesheet into two versions e.g.,
casshort_ns.css and casshort_ie.css.
- Edit MS IE version of the stylesheet:
- Add style:
table { margin-left: 15px;
margin-right: 15px}
- Edit Netscape version of the stylesheet:
- Add style:
table { padding-right: 15px;
padding-left: 15px}
- 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}
- Change all x-small & xx-small fonts to 14px
- 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.
- 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"-->
- 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"-->
- Navbar.
- Paste [newfilename]_nav.html into "cassshort_navbar.html" & rename
to "[newfilename]_navbar.html"
- Adjust [newfilename_navbar.html" layout & div
names to correspond to current work.
- 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>
- 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
- 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>
- Character entities. Do global search and replace
for character entities as follows: Make sure to replace
as Source, not as Text!
– => –
— => —
‘ => ‘
’ => ’
“ => “
” => ”
… => …
† => †
[breve] => ˘
See detailed character set spec: http://www.columbia.edu/cu/libraries/inside/projects/vrr/documentation/characters.html
- Insert Images
- Table of Contents (& Figures)
- Change Tables of Contents & Tables of Figures
to replace layers with tables
- Add Javascript to links to URLs to reset page #s,
e.g.,
onClick="parent.menu.currentPage=6;">
- Document edits.
- Remove 'hr' codes from the top of each document file;
- remove 'br's preceding the first page number in a
doc;
- remove framing table widths to allow for resizing
text window.
|