[ List Archives Home ] [ Thread index for 2008 ] [ Date index for 2008 ] [ Author index for 2008 ]


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thanks, Bob!

Actually, I didn't have to look very far to find an example of what I described -- my good friends and neighbors at Minuteman are using the unscoped permalink trick to add a "see other copies" option to their catalog. See this record for an example: http://library.minlib.net/record=b1591687&searchscope=6

I hadn't thought of Majax as the way to do this conditionally, but I look forward to someone figuring this out and putting the solution in the Clearinghouse!

Any thoughts on a semi-related consortium issue -- how to replace that awful "View additional copies or search for a specific volume/copy" button/searchbox with something much simpler, like a link that says "See all copies" like we had back in 2000.

(See my lengthy rant on this topic here:
http://innovativeusers.org/list/archives/2000/msg04634.html)

Elizabeth

Bob Duncan wrote:
On Thu, 3 Jul 2008 07:50:27 -0400 (EDT)
"Elizabeth Thomsen" <et at noblenet dot org> wrote:
. . So we're glad to see the scopes added to the bib record number,

Good thing, because I'll always think of this as the Elizabeth Thomsen Enhancement. ;o)

What we'd really like is a link that says something like "See additional
copies" and that only appears when there actually are other copies." But
if we can't do that, we'd like to put the unscoped permalink on the bib
record as a link, labeled "See all copies."

The former may be possible with some Javascript created by someone more clever than I (and/or possibly using Annette Bailey's Majax code), but the latter is pretty simple. Just create a Javascript file that contains code along the lines of the following, and call it using the INSERTTAG_INHEAD wwwoption.

function print_permalink()
{
var PermaLink = document.getElementById("recordnum");
if (PermaLink != null) {
var str = PermaLink.toString();
var PermaLink = str.replace(/~S.+/,"~S50");
document.write ('<div class="permalink">');
document.write ('<a href="'+PermaLink+'">See all copies</a>');
document.write ('</div>');
}
else {}
}

Then pop the following in where you want to see the link:

<script type="text/javascript" language="JavaScript">
print_permalink();
</script>

Keeping in mind that the disadvantage to record links is that you lose the context of the search results.


Bob Duncan

~!~!~!~!~!~!~!~!~!~!~!~!~
Robert E. Duncan
Systems Librarian
David Bishop Skillman Library
Lafayette College
Easton, PA 18042
duncanr at lafayette dot edu
http://www.library.lafayette.edu/
--
This message was distributed through the Innovative Users Group INNOPAC list
Public replies: INNOPAC at innopacusers dot org
Update your subscription options: http://innopacusers.org/mailman/listinfo/innopac

--
Elizabeth Thomsen, Member Services Manager
NOBLE: North of Boston Library Exchange
26 Cherry Hill Drive
Danvers MA 01923
Blog: http://www.noblenet.org/ethomsen/
E-mail: et at noblenet dot org