Replace the "View Additional Copies..." button with a Link in bib_display.html

This HTML/Javascript solution will replace the long (some might say ugly) "View additional copies..." button that appears on bib_display.html when a record has more than ten attached items.

  1. Wrap your <--{items}--> token in a span or div, and give the span/div an id. For example:
    <span class="bibItems" id="bibItems_main">
    <--{items}-->
    </span>
  2. Insert the following JavaScript code below the span/div you just created:
    You can customize the first 3 variables of the script; keep in mind that the id you created in Step 1 should match the value of elId in the script.

Before:

View Additional Copies button before fix

After:

See All Copies link after fix