Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mreidsma
Created October 28, 2013 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mreidsma/7198563 to your computer and use it in GitHub Desktop.
Save mreidsma/7198563 to your computer and use it in GitHub Desktop.
Quick alert for ASRS items in the catalog.
$(document).ready(function() {
if(($(".bibItemsEntry").find("a.top-row-buttons").length > 0) && ($(".bibItemsEntry").find("a.top-row-buttons").find('img').attr("alt") == "ARS Request")) {
$("table#bib_items").prepend('<tr><td colspan="3"><div style="display: block;line-height: 1.25em;margin: 1em 0;padding: 1em 2.5%;background: #ffff7f;border: 1px solid #cc6;text-align: left;color: #444;width:94%;font-size:.8125em;">The automated storage and retrieval system is down. Please call the library at 616-331-3500 if you need this item.</div></td></tr>');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment