dcsimg
BHL announces Call for Support. Learn more.
Report an error
Close Dialog

Text Sources


Page text in BHL originates from one of the following sources:
Uncorrected OCR Machine-generated text. May include inconsistencies with the content of the original page.
Error-corrected OCR Machine-generated, machine-corrected text. Better quality than Uncorrected OCR, but may still include inconsistencies with the content of the original page.
Manual Transcription Human-created and reviewed text. For issues concerning manual transcription text, please contact the original holding institution.
  • Pages
  • Table of Contents
Scientific Names on this Page

Indexed by Global Names
Collection Title
George Golding Kennedy correspondence. Senders A-Z
By
Kennedy, George G. (George Golding), 1841-1918

Bacon, Alice Elizabeth, 1857-1937
Bailey, L. H. (Liberty Hyde), 1858-1954
Bailey, William Whitman, 1843-1914
Baker, Harvey Humphrey, 1869-1915
Barnes, Charles Reid, 1858-1910
Bishop, James N. (James Nathaniel), 1851-1906
Brainerd, Ezra, 1844-1924
Braithwaite, Robert, 1824-1917
Briggs, George K.
Britton, Elizabeth G. (Elizabeth Gertrude), 1858-1934
Britton, Nathaniel Lord, 1859-1934
Brusati, Luigi,
Churchill, Joseph Richmond, 1845-1933
Collins, Frank S. (Frank Shipley), 1848-1920
Collins, J. Franklin (James Franklin), 1863-1940
Crocker, George G. (George Glover), 1843-1913
Cummings, Prentiss,
Cutter, Marshall Munroe,
Deane, Walter, 1848-1930
Farlow, W. G. (William Gilson), 1844-1919
Faxon, Charles Edward, 1846-1918
Faxon, Edwin, 1823-1898
Faxon, Walter, 1848-1920
Fernald, Merritt Lyndon, 1873-1950
Floyd, Frederick Gillan, 1869-1941
Gibbs, W. B.,
Goodale, George L. (George Lincoln), 1839-1923
Greenough, Charles P. (Charles Pelham), 1844-1924
Grout, A. J. (Abel Joel), 1867-1947
Hancock, John, 1737-1793
Heller, Amos Arthur, 1867-1944
Hodges, Almon Danforth, 1801-1878
Holzinger, J. M. (John Michael), 1853-1929
Hooker, Joseph Dalton, 1817-1911
Huntington, John Warren,
Ingraham, Rhoby,
Jesup, Henry G. (Henry Griswold), 1826-1903
Jones, L. R. (Lewis Ralph), 1864-1945
Kidder, Nathaniel Thayer, 1860-1938
Lorenz, Annie, 1879-1927
Lorenz, William Albert,
Macoun, James Melville, 1862-1920
Macoun, John, 1831-1920
Morong, Thomas,
Rand, Edward L. (Edward Lothrop), 1859-1924
Richardson, W. L. (William Lambert), 1842-1932
Robertson, J. Ross (John Ross), 1841-1918
Robinson, Benjamin Lincoln, 1864-1935
Ruskin, John, 1819-1900
Sargent, Charles Sprague, 1841-1927
Thaxter, Roland, 1858-1932
Tilden, Josephine E. (Josephine Elizabeth)
Tilton, George Henry, 1845-
Trelease, William, 1857-1945
True, Rodney H. (Rodney Howard), 1866-1940
Whorf, Edward Henry,
Williams, Blanche E. Wheeler,
Williams, Emile Francis, 1858-1929
Harvard University.
Quincy's Market (Boston, Mass.),
Year
1872-1917
Holding Institution
Sponsor
IMLS
Copy-specific Information
Consists of letters written to George Kennedy from correspondents with surnames starting with G, mostly regarding botany but also some regarding personal matters. The letters are arranged alphabetically by sender with the exception of correspondents with four or more letters, whose letters can be found at the end of each file. These correspondents are: Charles T. Gallagher, William Francis Ganong, Samuel Trevor Garman, F.L. George, Francis G. Goodale, H.H. Goodell, Asa Gray, Robert M. Green, Edward L. Greene, Winfield W. Green, J.M. Greenman, Edward W. Grew, Delia I. Griffin, Howard R. Guild, H.H. Langton, Malcolm W. Wallace, Gertrude L. Amory, W.B. Gibbs, George Lincoln Goodale, Charles Pelham Greenough, and Abel Joel Grout.
Copyright & Usage
Copyright Status:
Public domain. The BHL considers that this work is no longer under copyright protection.


Search Inside This Book:
Results For:
Click/Shift+Click pages to select for download
Cancel Generate Review No Pages Added

If you are generating a PDF of a journal article or book chapter, please feel free to enter the title and author information. The information you enter here will be stored in the downloaded file to assist you in managing your downloaded PDFs locally.

Thank you for your request. Please wait for an email containing a link to download the PDF.

For your reference, the confirmation number for this request is .

Join Our Mailing List

Sign up to receive the latest BHL news, content highlights, and promotions.

Subscribe

Help Support BHL

BHL relies on donations to provide free PDF downloads and other services. Help keep BHL free and open!

Donate

There was an issue with the request. Please try again and if the problem persists, please send us feedback.

For your reference, the confirmation number for this request is .

Optional
Example: Charles Darwin, Carl Linnaeus
Example: Birds, Classification, Mammals
Annotation Not Available
'; ocrPopUp.document.write(html); } }) ); } var textSource = "Uncorrected OCR"; switch (pages[index].TextSource) { case "Text Import": textSource = "Manual Transcription"; break; case "Purposeful Gaming": textSource = "Error-corrected OCR"; break; } header.append( $('
', { 'html': textSource + ' ' + '' + $('', { 'src': '/images/help.png', 'alt': 'Text source help', 'title': 'What Is This?', 'style': 'vertical-align: middle;margin-top: -5px; height:16px; width:16px; cursor:pointer;' }).get(0).outerHTML + "" }) .on("click", function () { showTextSourceHelp(); }) ); var text = $('
', { 'class': 'text' }) .html('' + $.trim(data.ocrText).replace(/\n/g, '
') + '




') .appendTo(newpageOCR); // Create BeautyTips if canvas exists & not IE (results in singlepage view scrolling to top). if(Modernizr.canvas) { // && !$.browser.msie) { $('.pop_ocr').bt({ padding: 10, spikeLength:10, spikeGirth:13, fill: '#266099', strokeWidth: 0, shrinkToFit: true, positions: ['most'], overlap: -1, cssStyles: { color: '#fff' }, hoverIntentOpts: { interval: 500, timeout: 0 }, showTip: function(box) { if(!isAnimating) { $(box).show(); } } }); } newpageOCR.removeClass('loading'); }, error: function (data) { newpageOCR.removeClass('loading'); isAnimating = false; } }); } function updatePageNames(index){ pageNames.text("Loading..."); pageNames.addClass('loading'); $.ajax({ type: 'get', url: '/pagesummary/', data: { 'op': 'GetPageNameList', 'pageID': pages[index].PageID }, success: function (data, textStatus, jqXHR) { if(data.length > 0) { pageNames.empty(); $.each(data, function (index, name) { var ubioLink = $('', { 'class': 'ubio-links' }).append( $('', { 'href': '/name/' + name.UrlName, 'text': name.ResolvedNameString })).appendTo(pageNames); ubioLink.append(""); }); } else { pageNames.empty(); pageNames.append($('', { 'text' : 'No Scientific Names found' })); } pageNames.removeClass('loading'); }, error: function (jqXHR, textStatus, errorThrown) { pageNames.empty(); pageNames.removeClass('loading'); isAnimating = false; } }); } // Check for Enter in Search Inside text box $("#sibSearchText").on("keypress", function (event) { var keycode = (event.keyCode ? event.keyCode : event.which); if (keycode == '13') $("#sibSearchBtn").click(); }); // Click binder for search button $("#sibSearchBtn").on("click", function () { var resultsBox = $(".sibResultsBox"); $("#sibTextEcho").html($("#sibSearchText").val()); resultsBox.html("Loading..."); $("#searchResults").show(); $.ajax({ type: 'get', url: '/search/pages', data: 'q=' + encodeURIComponent($("#sibSearchText").val()) + '&itemId=' + 153783, success: function (data, textStatus, jqXHR) { if (data.length > 0) { $("#sibNumResults").html("(" + data.length + ")"); resultsBox.empty(); $.each(data, function (index, hit) { // Build this for each hit //
// //
... hit text ...
//
... hit text ...
//
var resultBox = $("
", { "class": "sibResultBox" }); var resultPageDesc = $("
") .append($("", { "class": "sibResultPage", "href": "javascript:changePage(" + hit.Sequence + ")", "text": hit.PageDescription })); resultBox.append(resultPageDesc); $.each(hit.Highlights, function (index2, highlight) { resultBox.append($("
", { "class": "sibResultText" }).append("... " + highlight.Item2 + " ...")); }); resultBox.appendTo(resultsBox); }); } else { resultsBox.empty(); resultsBox.append($('', { 'text': 'No results found' })); } resultsBox.removeClass('loading'); }, error: function (jqXHR, textStatus, errorThrown) { resultsBox.empty(); resultsBox.append($('', { 'text': 'Error! Please try again.' })); isAnimating = false; } }); }); // Change binder for volumes dropdown $('#volumedd').on("change", "#ddlVolumes", function () { var ids = $(this).val().split("|"); if (ids[0] == 0) { // IsVirtual location.href = '/item/' + ids[1]; // BookID } else { location.href = "/page/" + ids[2]; // FirstSegmentID } }); // Create Modal Dialogs $('#download-dialog').jqm({ trigger: '.downloadbook' }); // TextSourceHelp dialog methods function showTextSourceHelp() { $("#textsourcehelp-dialog").show(); bindClickOutsideTSHelpTrigger(); } function hideTextSourceHelp(e) { var textSourceHelpPopup = $("#textsourcehelp-dialog"); if (!textSourceHelpPopup.is(e.target) // if the target of the click isn't the container... && (textSourceHelpPopup.has(e.target).length === 0) // ... nor a descendant of the container && (e.target != textSourceHelpPopup.get(0))) // nor the scrollbar { closeTextSourceHelp(); } } function closeTextSourceHelp() { $("#textsourcehelp-dialog").hide(); unbindClickOutsideTSHelpTrigger(); } function unbindClickOutsideTSHelpTrigger() { document.removeEventListener("mouseup", hideTextSourceHelp, false); } function bindClickOutsideTSHelpTrigger() { document.addEventListener("mouseup", hideTextSourceHelp, false); } // Click binder for textsource help close button $("#textsourcehelp-dialog .jqmClose").on("click", function () { closeTextSourceHelp(); }); // PDF Builder dialog methods function showPDFBuilderGenerate() { $("#generate-dialog").show(); bindClickOutsidePDFBuilderTrigger(); } function showPDFBuilderReview() { $("#review-dialog").show(); bindClickOutsidePDFBuilderTrigger(); } function hidePDFBuilder(e) { var pdfGeneratePopup = $("#generate-dialog"); var pdfReviewPopup = $("#review-dialog"); if (!pdfGeneratePopup.is(e.target) // if the target of the click isn't the container... && (!pdfReviewPopup.is(e.target)) && (pdfGeneratePopup.has(e.target).length === 0) // ... nor a descendant of the container && (pdfReviewPopup.has(e.target).length === 0) && (e.target != pdfGeneratePopup.get(0)) // nor the scrollbar && (e.target != pdfReviewPopup.get(0))) { closePDFBuilder(); } } function closePDFBuilder() { $("#generate-dialog").hide(); $("#review-dialog").hide(); resetGenerate(); unbindClickOutsidePDFBuilderTrigger(); } function unbindClickOutsidePDFBuilderTrigger() { document.removeEventListener("mouseup", hidePDFBuilder, false); } function bindClickOutsidePDFBuilderTrigger() { document.addEventListener("mouseup", hidePDFBuilder, false); } // Click binders for PDF BUilder close buttons $("#generate-dialog .jqmClose").on("click", function () { closePDFBuilder(); }); $("#review-dialog .jqmClose").on("click", function () { closePDFBuilder(); }); $(".buttondrop.download").on("click", function () { if ($(".downloadcontents").css("display") == "block") { $(".downloadcontents").slideUp("fast"); } else { $(".downloadcontents").slideDown("fast"); } $(document).on("mouseup", function (e){ $(".downloadcontents").slideUp("fast"); $(document).off("mouseup"); }); }); $(".selectpages").on("click", function(){ selectPagesToDownload(); }); $(".cancelpdf", pdfBar).on("click", function(){ cancelSelectPages(); }); // Click Binder for PDF Review button var pdfReview = $('.review', pdfBar).on("click", function() { if(pdfPages.length > 0) { changePdfMode((pdfMode) ? pdfMode : PdfModeType.Icon, true); showPDFBuilderReview(); $('#review-dialog .body').jScrollPane(); } }); // Click Binder for PDF Generate button var pdfGenerate = $('.generate', pdfBar).on("click", function() { if (pdfPages.length > 0) { showPDFBuilderGenerate(); } }); // Click Binder for PDF Generate button on Dialog $('#review-dialog .generate').on("click", function() { closePDFBuilder(); showPDFBuilderGenerate(); }); // Click Binder for PDF Review button on Dialog $('#generate-dialog .review').on("click", function() { closePDFBuilder(); changePdfMode((pdfMode) ? pdfMode : PdfModeType.List, true); showPDFBuilderReview(); $('#review-dialog .body').jScrollPane(); }); // Click Binder for list view on Review Dialog var pdfListLink = $('#review-dialog .list-view').on("click", function() { changePdfMode(PdfModeType.List); $('#review-dialog .body').data('jsp').reinitialise(); }); // Click Binder for icon view on Review Dialog var pdfIconLink = $('#review-dialog .icon-view').on("click", function() { changePdfMode(PdfModeType.Icon); $('#review-dialog .body').data('jsp').reinitialise(); }); // Binder for page dropdown list $("#leftpanetabs_content").on("change", "#lstPages", function () { br.jumpToIndex($('#lstPages').prop("selectedIndex")); }); // Binder for segment list used by iDevices $("#leftpanetabs_content").on("change", "#lbSegments", function () { var pageNum = $('#lbSegments').prop("value"); var pageIndex = br.getPageIndexWithPageNum(pageNum); if ('undefined' != typeof(pageIndex)) { var leafTop = 0; var h; br.jumpToIndex(pageIndex); $('#BRcontainer').prop('scrollTop', leafTop); return true; } // Page not found return false; }); // Binders for non-iDevice segment list $(document).on("click", "a.viewSegLinkTitle", function() { return selectSeg(this); }); function selectSeg(segLink) { var pageNum = $(segLink).attr("id"); var pageIndex = br.getPageIndexWithPageNum(pageNum); highlightSeg(segLink); if ('undefined' != typeof(pageIndex)) { var leafTop = 0; var h; br.jumpToIndex(pageIndex); $('#BRcontainer').prop('scrollTop', leafTop); return true; } // Page not found return false; } function highlightSeg(segLink) { $("#lstSegments ul li").css("background-color", "#FFFFFF"); $("#lstSegments ul li").css("color", "#444444"); $("#lstSegments ul li a").css("color", "#444444"); $("#lstSegments li .segListVolPage").css("color", "#000000"); $(segLink).parent().css("background-color","#0078D7"); $(segLink).parent().css("color","#FFFFFF"); $(segLink).css("color", "#FFFFFF"); $(segLink).parent().children(".segListVolPage").css("color","#BFBFBF"); $("#lbSegments").val($(segLink).attr("id")); } // Binder for "Show More" link $(document).on("click", ".showmore a", function() { var leftPanelHeight = $("#left-panel2").height(); var newHeight = leftPanelHeight; var showMore = ($(this).html() === "Show More"); if (showMore) { $(this).html("Show Less"); newHeight = leftPanelHeight * 0.75; $("#names-container-div").hide(); } else { $(this).html("Show More"); newHeight = leftPanelHeight / 4; $("#names-container-div").show(); }; $("#lstPages").height(newHeight); $("#lstPages").css("min-height", newHeight); $("#lstSegments").height(newHeight); $("#lstSegments ul").height(newHeight); }); // Function used to change the way pdfs are viewed (list/icon) on the Review Dialog function changePdfMode (mode, redraw) { if(pdfMode != mode || redraw) { pdfMode = mode; $('#review-dialog ul').empty(); $('.dicon').removeClass('active'); if(pdfMode == PdfModeType.List) { pdfListLink.addClass('active'); } else if(pdfMode == PdfModeType.Icon) { pdfIconLink.addClass('active'); } $.each(pdfPages, function(index, pdfPageIndex) { var pdfPage; var deletePage = $("", { 'class': 'delete', text: 'delete' }).on("click", function() { pdfPageCount = pdfPages.remove(index); $('#ptb' + pdfPageIndex).removeClass('selected'); lastPdfIndex = -1; changePdfMode(mode, true); updatePdfPageCounter(pdfPageCount); $(this).parents('li').fadeOut(200, function() { $(this).remove(); if($('#review-dialog li').length == 0) { $('#review-dialog').jqmHide(); } $('#review-dialog .body').data('jsp').reinitialise(); }); }); if(mode == PdfModeType.List) { var pageName = $('', { text : br.getPageName(pdfPageIndex) }); pdfPage = $('
  • ', { 'class' : 'listpage' }).append(pageName).append(deletePage); } else if(mode == PdfModeType.Icon) { var pageName = $('', { 'class' : 'ellipsis', text : br.getPageName(pdfPageIndex) }); var thumb = $('', { src: br.getPageURI(pdfPageIndex, 0, 100) }); var text = $('
    ', { 'class' : 'text' }).append(pageName).append(deletePage); pdfPage = $('
  • ', { 'class' : 'iconpage' }).append(thumb).append(text); } $('#review-dialog ul').append(pdfPage) }); $('.ellipsis').textOverflow(); } } var pdfGenerate = $('.generate', pdfBar); var pdfCounter = $('.counter', pdfBar); var pdfReviewCounter = $('#review-dialog #page-count'); // Validation for Generate PDF Dialog function validatePdfForm() { var isValid = true; $('#tbEmailErr').html(""); $('#tbTitleErr').html(""); if ($.trim($("#tbEmail").val()) == "") { $('#tbEmailErr').html("Please enter an email address."); isValid = false; } var title = $.trim($("#tbTitle").val()); var authors = $.trim($("#tbAuthors").val()); var subjects = $.trim($("#tbSubjects").val()); if (title.length == 0 && (authors.length > 1 || subjects.length > 1)) { $('#tbTitleErr').html("Please include a title."); isValid = false; } else if (title.length == 1) { $('#tbTitleErr').html("Please include a valid title."); isValid = false; } return (isValid); } // PDF Generation $('#generate-dialog .finish').on("click", function () { var finishButton = $(this); if(validatePdfForm() && !finishButton.hasClass('loading')) { finishButton .css('width', finishButton.width()) .addClass('loading'); var pageIds = []; $.each(pdfPages, function(index, value) { pageIds.push(pages[value].PageID); }); $.ajax({ type: 'post', url: '/generatepdf/', data: { 'itemId': 153783, 'pages': pageIds.toString(), 'email': $('#tbEmail').val(), 'title': $('#tbTitle').val(), 'authors': $('#tbAuthors').val(), 'subjects': $('#tbSubjects').val(), }, success: function (data) { if(data.isSuccess) { $('#pdfId').text(data.pdfId); $('#generate-dialog .intro').fadeOut(function() { $('#generate-dialog .success').fadeIn(); finishButton.removeClass('loading').removeAttr('style'); }); $('#generate-dialog .required, #generate-dialog .optional, #generate-dialog .finish').fadeOut(); $('#generate-dialog .required, #generate-dialog .optional, #generate-dialog .review').fadeOut(); // close off the PDF selection stuff. cancelPdfSelection = true; } else { $('#pdfIdFail').text(data.pdfId); $('#generate-dialog .required, #generate-dialog .optional, #generate-dialog .footer').fadeOut(); $('#generate-dialog .intro').fadeOut(function() { $('#generate-dialog .failure').fadeIn(); finishButton.removeClass('loading').removeAttr('style'); }); } }, error: function() { // just show the error page for now. location.pathname = '/error'; } }); } }); // Return the width of a given page. Here we assume all images are 1600 pixels wide br.getPageWidth = function (index) { if (pages && (index >= 0) && pages[index].Width) return pages[index].Width; return 1600; } // Return the height of a given page. Here we assume all images are 2400 pixels high br.getPageHeight = function (index) { if (pages && (index >= 0) && pages[index].Height) return pages[index].Height; return 2400; } br.imagesBaseURL = '/images/'; br.getPageURI = function (index, reduce, width) { var url = ""; if (pages != null) { var calculatedWidth = (width) ? width : Math.floor(br.getPageWidth(index) / reduce); if (pages[index].ExternalBaseUrl.includes("archive.org")) { url = pages[index].ExternalBaseUrl + '/download/' + pages[index].BarCode + '/page/n' + (pages[index].SequenceOrder - 1) + '_w' + calculatedWidth; } else { var fileSize = "full"; if (calculatedWidth < Math.floor(br.getPageWidth(index) / 16)) { fileSize = "thumb"; } else if (calculatedWidth < Math.floor(br.getPageWidth(index) / 8)) { fileSize = "small"; } else if (calculatedWidth < Math.floor(br.getPageWidth(index) / 4)) { fileSize = "medium"; } else if (calculatedWidth < Math.floor(br.getPageWidth(index) / 2)) { fileSize = "large"; } url = pages[index].ExternalBaseUrl + '/web/' + pages[index].BarCode + '/' + pages[index].BarCode + '_' + ('0000' + (index + 1)).slice(-4) + '_' + fileSize + '.webp'; } } return url; } // Return which side, left or right, that a given page should be displayed on br.getPageSide = function (index) { if ('rl' != this.pageProgression) { // If pageProgression is not set RTL we assume it is LTR if (0 == (index & 0x1)) { // Even-numbered page return 'R'; } else { // Odd-numbered page return 'L'; } } else { // RTL if (0 == (index & 0x1)) { return 'L'; } else { return 'R'; } } } // This function returns the left and right indices for the user-visible // spread that contains the given index. The return values may be // null if there is no facing page or the index is invalid. br.getSpreadIndices = function (pindex) { var spreadIndices = [null, null]; if ('rl' == this.pageProgression) { // Right to Left if (this.getPageSide(pindex) == 'R') { spreadIndices[1] = pindex; spreadIndices[0] = pindex + 1; } else { // Given index was LHS spreadIndices[0] = pindex; spreadIndices[1] = pindex - 1; } } else { // Left to right if (this.getPageSide(pindex) == 'L') { spreadIndices[0] = pindex; spreadIndices[1] = pindex + 1; } else { // Given index was RHS spreadIndices[1] = pindex; spreadIndices[0] = pindex - 1; } } return spreadIndices; } br.bhlPageID = function(index){ if (pages && (index >= 0) && pages[index].PageID) { return pages[index].PageID; } } //function to update page URL, Names and text br.updatePageDetailsUI = function (index) { var segListItem = $("#lstSegments li[id='" + pages[index].SegmentID + "']"); var segTitleLink = $("#articleTitleLink"); // Update the segment list var segTitle = $(segListItem).children("a.viewSegLinkTitle"); if (segTitle != null) { if (pages[index].SegmentID != null) { segTitleLink.html(pages[index].GenreName + ": " + segTitle.html()); segTitleLink.toggle(true); } else { segTitleLink.toggle(false); } segTitleLink.attr("href", "/part/" + pages[index].SegmentID); } highlightSeg(segTitle); // Set the arguments for the citation dialog if (segTitle != null && segTitle.length !== 0) { if (pages[index].SegmentID != null) cmArgs.segmentText = pages[index].GenreName; else cmArgs.segmentText = null; cmArgs.segmentId = pages[index].SegmentID; } else { cmArgs.segmentText = null; cmArgs.segmentId = null; } cmArgs.pageId = pages[index].PageID; // Update the Download Part and Download Citation menu items if (pages[index].SegmentID != null) { $(".selectpart").html("Download " + pages[index].GenreName); $(".selectpart").attr("href", "/partpdf/" + pages[index].SegmentID); $(".selectpart").attr("download", "part" + pages[index].SegmentID + ".pdf"); $(".selectpart").show(); $(".partcitelinklabel").html("CURRENT " + pages[index].GenreName.toUpperCase()); $(".partcitationlinks a.large-icon.ris").attr("href", "/handlers/risdownload.ashx?pid=" + pages[index].SegmentID); $(".partcitationlinks a.large-icon.ris").attr("download", "bhlpart" + pages[index].SegmentID + ".ris"); $(".partcitationlinks a.large-icon.bibtex").attr("href", "/handlers/bibtexdownload.ashx?pid=" + pages[index].SegmentID); $(".partcitationlinks a.large-icon.bibtex").attr("download", "bhlpart" + pages[index].SegmentID + ".bib"); $(".partcitationlinks").show(); } else { $(".selectpart").hide(); $(".partcitationlinks").hide(); } // Update the Altmetric badge $(".altmetric-embed").attr("data-uri", "https://www.biodiversitylibrary.org/item/" + "172898"); if (typeof _altmetric_embed_init === 'function') _altmetric_embed_init(); // Update page URL and names $("#currentpageURL").text("https://www.biodiversitylibrary.org/page/" + pages[index].PageID); $("#currentpageURL").attr("href", "https://www.biodiversitylibrary.org/page/" + pages[index].PageID + ""); var currentFlickrUrl = $("#currentFlickrURL"); var flickrBox = $("#flickrBox"); if (pages[index].FlickrUrl == "") { flickrBox.toggle(false); currentFlickrUrl.attr("href", "#"); } else { currentFlickrUrl.attr("href", pages[index].FlickrUrl); flickrBox.toggle(true); } var showOCRButton = $('#showOCRButton'); if (showOCRButton.attr("title") == "Hide Text") { updateOCR(index); // Update text if it is visible } updatePageNames(index); $("#pagename").text(br.getPageName(br.currentIndex())); if (typeof renderAnnotations == "function") renderAnnotations(index+1); } // For a given "accessible page index" return the page number in the book. // // For example, index 5 might correspond to "Page 1" if there is front matter such // as a title page and table of contents. br.getPageNum = function (index) { return index + 1; } br.getPageIndexWithPageNum = function (pageNum) { if (pages) { for (var i=0; i= 0) && pages[index].WebDisplay) { return pages[index].WebDisplay; } } // Function used by book reader to create the pagetoolbox br.getPageToolbox = function (index) { var pageToolbox = $("
    ", { 'class': 'pagetoolbox', 'id': 'ptb' + index }).on(pageToolBoxEvent, function (event, shiftKey) { /* var origBG = '#404040' var origActiveBG = '#455667'; var activeBG = '#ffa200'; */ var pdfPageCount; var startIndex; var endIndex; if ((event.shiftKey || shiftKey) && lastPdfIndex !== -1) { // Select multiple pages if (index < lastPdfIndex) { startIndex = index; endIndex = lastPdfIndex - 1; } else { startIndex = lastPdfIndex + 1; endIndex = index; } for (x = startIndex; x <= endIndex; x++) { pdfPageIndex = $.inArray(x, pdfPages); // Select/Deselect a single page if(pdfPageIndex < 0) { pdfPageCount = pdfPages.push(x); $('#ptb' + x).addClass('selected').css('display', 'block');; if(!pdfBar.hasClass('active')) { pdfBar.removeClass('disabled').addClass('active').fadeTo(200, 1); } } } lastPdfIndex = index; } else { pdfPageIndex = $.inArray(index, pdfPages); // Select/Deselect a single page if(pdfPageIndex < 0) { pdfPageCount = pdfPages.push(index); pageToolbox.addClass('selected').css('display', 'block'); if(!pdfBar.hasClass('active')) { pdfBar.removeClass('disabled').addClass('active').fadeTo(200, 1); } lastPdfIndex = index; } else { pdfPageCount = pdfPages.remove(pdfPageIndex); pageToolbox.removeClass('selected'); lastPdfIndex = -1; } } // Re-sort pdfs pdfPages.sort(function (a, b){ return (a-b); }); updatePdfPageCounter(pdfPageCount); // Prevent event propagating to dragscrollable event.stopPropagation(); }); var isAnimating = false; var pdfPageIndex = $.inArray(index, pdfPages); // Page has already been added to pdfPages if(pdfPageIndex >= 0) { pageToolbox.addClass('selected').css('display', 'block'); } // Hard coded dimensions due to inability to ensure correct dimensions pageToolbox.data('info', { index: index, origWidth: 230, origHeight: 70 }); return pageToolbox; } function updatePdfPageCounter(pdfPageCount) { var origBG = '#404040' var origActiveBG = '#455667'; var activeBG = '#ffa200'; pdfCounter.stop(true, true).animate({ backgroundColor : activeBG }, 100, 'easeOutQuad', function() { if(pdfPageCount <= 0) { pdfCounter.text('No Pages Added'); pdfBar.removeClass('active').addClass('disabled'); } else if(pdfPageCount == 1) { pdfCounter.text(pdfPageCount + ' Page Added'); pdfReviewCounter.text(pdfPageCount + ' Page'); } else { pdfCounter.text(pdfPageCount + ' Pages Added'); pdfReviewCounter.text(pdfPageCount + ' Pages'); } }).animate({ backgroundColor : (pdfPageCount <= 0) ? origBG : origActiveBG }, 400, 'easeOutQuad'); } // Create BeautyTips if canvas exists & not IE (results in singlepage view scrolling to top) if(Modernizr.canvas) { // && !$.browser.msie) { $('.dicon, .jqmClose').bt({ padding: 10, spikeLength: 10, spikeGirth: 13, fill: '#266099', strokeWidth: 0, shrinkToFit: true, positions: ['most'], overlap: -1, cssStyles: { color: '#fff' }, hoverIntentOpts: { interval: 500, timeout: 0 } }); } br.numLeafs = 261; br.bookTitle = ''; br.imagesBaseURL = '/images/'; br.titleLeaf = 234; BookReader.prototype.addPageToolBox = function (index, page) { var pageToolbox = this.getPageToolbox(index); pageToolbox.appendTo(page); } BookReader.prototype.add2upPageToolBox = function (index, page) { return; } BookReader.prototype.scrollDown = function() { br.next(); } BookReader.prototype.scrollUp = function() { br.prev(); } // Bookviewer crashes ie6, dont even attempt to load it if (!$('html').is('.ie6')) { br.init(); var BRtoolbar = $("#BRtoolbar").detach(); BRtoolbar.appendTo("#BRtoolbarwrapper"); $('.BRtoolbar-container').append(""); var PDFtoolbar = $("#toolbar-top").detach(); PDFtoolbar.prependTo("#BRtoolbar"); $('#BRtoolbar').prepend(""); var AnnotationBox = $("#AnnotationBox").detach(); AnnotationBox.appendTo("#right-panel-content"); if (!true) $("#showSearchButton").hide(); // Print page var printPageButton = $('.page_print'); printPageButton.on("click", function () { var printImg = $('', { src: br.getPageURI(br.currentIndex()) }); printImg.css({ 'width': '100%', 'height': '100%', 'object-fit': 'contain' }); printImg.on("load", function () { printWindow.print(); printWindow.close(); }); var printWindow = window.open('', "PrintWindow", "width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes"); $(printWindow.document.body).append(printImg); printWindow.document.close(); printWindow.focus(); }); // Toggle left hand container for Pages var showPagesButton = $('#showPagesButton'); showPagesButton.on("click", function () { $("#left-panel2").toggle("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); if (showPagesButton.attr("title") == "Show Pages") { showPagesButton.attr("title", "Hide Pages"); showPagesButton.text("Hide Pages"); showPagesButton.toggleClass("book_leftmost", true).toggleClass("book_rightmost", false); } else { showPagesButton.attr("title", "Show Pages"); showPagesButton.text("Show Pages"); showPagesButton.toggleClass("book_leftmost", false).toggleClass("book_rightmost", true); } }); // Toggle right hand container for text var showOCRButton = $('#showOCRButton'); showOCRButton.on("click", function () { newpageOCR.text(""); if (showOCRButton.attr("title") == "Show Text") { updateOCR(br.currentIndex()); $("#right-panel2").show("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); $("#pageOCR-panel").show(); showOCRButton.attr("title", "Hide Text"); showOCRButton.html("Hide
    Text"); showOCRButton.addClass("displayed"); } else { $("#right-panel2").hide("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); showOCRButton.attr("title", "Show Text"); showOCRButton.html("Show
    Text"); showOCRButton.removeClass("displayed"); } resetInfoBox(); resetAnnotationsBox(); resetSearchBox(); }); // Toggle right hand container for info var showInfoButton = $('#showInfoButton'); showInfoButton.on("click", function () { if (showInfoButton.attr("title") == "Show Info") { $("#right-panel2").show("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); $("#pageInfo-panel").show(); showInfoButton.attr("title", "Hide Info"); showInfoButton.html("Hide
    Info"); showInfoButton.addClass("displayed"); } else { $("#right-panel2").hide("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); showInfoButton.attr("title", "Show Info"); showInfoButton.html("Show
    Info"); showInfoButton.removeClass("displayed"); } resetPageOCRBox(); resetAnnotationsBox(); resetSearchBox(); }); // Toggle right hand container for Search var showSearchButton = $('#showSearchButton'); showSearchButton.on("click", function () { if (showSearchButton.attr("title") == "Search Inside") { $("#right-panel2").show("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); $("#pageSearch-panel").show(); $("#sibSearchText").focus(); showSearchButton.attr("title", "Hide Search"); showSearchButton.html("Hide Search"); showSearchButton.addClass("displayed"); } else { $("#right-panel2").hide("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); showSearchButton.attr("title", "Search Inside"); showSearchButton.html("Search Inside"); showSearchButton.removeClass("displayed"); } resetPageOCRBox(); resetInfoBox(); resetAnnotationsBox(); }); // Toggle right hand container for Annotations var showAnnotationsButton = $("#showAnnotationsButton"); showAnnotationsButton.on("click", function () { if (showAnnotationsButton.attr("title") == "Show Annotations") { $("#right-panel2").show("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); $("#AnnotationBox").show(); showAnnotationsButton.attr("title", "Hide Annotations"); showAnnotationsButton.html("Hide
    Annotations"); showAnnotationsButton.addClass("displayed"); } else { $("#right-panel2").hide("fast", function () { if (br.mode == 3) { br.resizePageView(); } br.centerPageView(); }); showAnnotationsButton.attr("title", "Show Annotations"); showAnnotationsButton.html("Show
    Annotations"); showAnnotationsButton.removeClass("displayed"); } resetPageOCRBox(); resetInfoBox(); resetSearchBox(); }); if ("false" === "false") { showAnnotationsButton.hide(); } else { showAnnotationsButton.trigger('click'); window.setTimeout("br.centerPageView()", 500); } updateUIHeights(); } $("#BRcontainer").on('scroll', this, function (e) { if (self.mode != self.constMode2up) { e.data.loadLeafs(); } $('.pagetoolbox').each(function () { if (actionMode == actionModeType.Select) { $(this).show(); } }) }); }); $(window).on('resize', this, function (e) { updateUIHeights(); }); function updateUIHeights() { var leftPanelHeight = $("#left-panel2").height(); var pagesPanel = $("#lstPages").outerHeight(); var namesPanel = $("#names-panel").outerHeight(); var topTotalHeight = 0; $("#left-panel2 .left-panel-boxes:first-child").children().each(function(){ topTotalHeight = topTotalHeight + $(this).outerHeight(); }); topTotalHeight = topTotalHeight-pagesPanel; var bottomTotalHeight = 0; $("#left-panel2 .left-panel-boxes:last-child").children().each(function(){ bottomTotalHeight = bottomTotalHeight + $(this).outerHeight(); }); bottomTotalHeight = bottomTotalHeight-namesPanel; var lphh = (leftPanelHeight)/4; if (leftPanelHeight < 720) { topTotalHeight = 0; bottomTotalHeight = 0; } if (topTotalHeight >= bottomTotalHeight) { finalHeight = topTotalHeight; } else { finalHeight = bottomTotalHeight; } finalHeight += lphh; $("#names-panel").height(leftPanelHeight/3); var isiPad = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)/i) != null; if (!isiPad) { var newHeight = leftPanelHeight/4; var showMore = ($(".showmore a").html() === "Show Less"); // current state of list boxes if (showMore) { var newHeight = leftPanelHeight * 0.75; } $("#lstPages").height(newHeight); $("#lstPages").css("min-height", newHeight); $("#lstSegments").height(newHeight); $("#lstSegments ul").height(newHeight); } $("div.text span").height(leftPanelHeight-($("#BRtoolbarwrapper").height()+$("div.header").height())); } function resetAnnotationsBox() { $("#AnnotationBox").hide(); $("#showAnnotationsButton").attr("title", "Show Annotations"); $("#showAnnotationsButton").html("Show
    Annotations"); $("#showAnnotationsButton").removeClass("displayed"); } function resetSearchBox() { $("#pageSearch-panel").hide(); $("#showSearchButton").attr("title", "Search Inside"); $("#showSearchButton").html("Search
    Inside"); $("#showSearchButton").removeClass("displayed"); } function resetInfoBox() { $("#pageInfo-panel").hide(); $("#showInfoButton").attr("title", "Show Info"); $("#showInfoButton").html("Show
    Info"); $("#showInfoButton").removeClass("displayed"); } function resetPageOCRBox() { $("#pageOCR-panel").hide(); $("#showOCRButton").attr("title", "Show Text"); $("#showOCRButton").html("Show
    Text"); $("#showOCRButton").removeClass("displayed"); } function resetPDFDialog() { $("#tbEmail").val(""); $("#tbTitle").val(""); $("#tbAuthors").val(""); $("#tbSubjects").val(""); } function showTitleSelector() { titleSelector.style.display = 'inline'; document.addEventListener("mouseup", hideTitleSelector, false); } function hideTitleSelector(e) { var titleSelectorPopup = $(".titleSelector"); if (!titleSelectorPopup.is(e.target) // if the target of the click isn't the container... && (titleSelectorPopup.has(e.target).length === 0) // ... nor a descendant of the container && (e.target != titleSelectorPopup.get(0))) // nor the scrollbar { closeTitleSelector(); } } function closeTitleSelector() { var titleSelectorPopup = document.getElementsByClassName('brTitleSelectPopup')[0]; titleSelectorPopup.style.display = 'none'; document.removeEventListener("mouseup", hideTitleSelector, false); } $(document).ready(function(){ // Called when we click on the tab itself $('#pagestab').on("click", function() { if ($('#pagestab').hasClass('active')) return false; $('#pagestabcontent').show(); $('#segmentstabcontent').hide(); $('#pagestab').toggleClass("active"); $('#segmentstab').toggleClass("active"); // Do nothing when tab is clicked return false; }); // Called when we click on the tab itself $('#segmentstab').on("click", function() { if ($('#segmentstab').hasClass('active')) return false; $('#pagestabcontent').hide(); $('#segmentstabcontent').show(); $('#pagestab').toggleClass("active"); $('#segmentstab').toggleClass("active"); // Do nothing when tab is clicked return false; }); var segmentCount = 145; if (segmentCount == 0) { $('#segmentstab').hide(); } }); //]]>
    OSZAR »