Elaine, et. al.,<div><br></div><div>If you want to just remove the Cart, you can set the system preference "opacbookbag" in the OPAC tab to "Don't allow."</div><div><br></div><div>Regards,</div><div>
Jared<br><br><div class="gmail_quote">2010/11/25 Church, Beverly <span dir="ltr"><<a href="mailto:bchurch@liblime.com">bchurch@liblime.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font size="2"><font face="verdana,sans-serif">Hi Elaine,<br><br></font></font><font size="2"><font face="verdana,sans-serif">Here's a script I found which lets you</font></font><font size="2"><font face="verdana,sans-serif"> use the system preference "opacuserjs" to rename the cart function. This script below changes "Cart" to "Book Bag" but you can use choose any other label:<br>
<br>$("a.addtocart").text('Add to Book Bag');<br><br>// redefining messages to use "book bag"<br>MSG_BASKET_EMPTY = _("Your book bag is currently empty");<br>MSG_RECORD_IN_BASKET = _("This item is already in your book bag");<br>
MSG_RECORD_ADDED = _("This item has been added to your book bag");<br>MSG_NRECORDS_ADDED = _(" item(s) added to your book bag");<br>MSG_NRECORDS_IN_BASKET = _("already in your book bag");<br>
MSG_NO_RECORD_ADDED = _("No item was added to your book bag");<br>MSG_CONFIRM_DEL_BASKET = _("Are you sure you want to empty your book bag?");<br><br> $(".container > h1:contains('Your Cart')").html("Your Book Bag");<br>
$("span.addto").click( function(){<br> $("select#addto > option:contains('Cart')").html("Book Bag");<br> });<br><br>top_button_convert = function() {<br> basketcount = $("#basketcount").html();<br>
$("#cartmenulink").html(<br>'<i></i><span><i></i><span></span><img src="/opac-tmpl/prog/images/cart.gif" width="14" height="14" alt="" border="0" /> Book Bag<span id="basketcount">' + basketcount + '</span></span>'<br>
);<br>};<br> top_button_convert(); // run once <br> $("a.addtocart").click( function(){<br> top_button_convert(); // run on given clicks<br> });<br> <br><br>You need to enter the above script between the following beginning and opening lines:<br>
<br></font></font><span style="font-family:verdana,sans-serif">$(document).ready(function(){</span><br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif"><br style="font-family:verdana,sans-serif">
<span style="font-family:verdana,sans-serif">});</span><br clear="all"><br><br style="font-family:verdana,sans-serif"><span style="font-family:verdana,sans-serif">There may be a way to use Jquery to hide the actual Cart button but I don't have any scripts that do this. </span><br style="font-family:verdana,sans-serif">
<br style="font-family:verdana,sans-serif"><span style="font-family:verdana,sans-serif">Bev</span><br><br>* * * * <br>Beverly Church <br>LibLime Project Manager<br><br>phone: 1-888-564-2457 ext. 717 <br> 1-301-654-8088 ext. 292<br>
email: <a href="mailto:bchurch@liblime.com" target="_blank">bchurch@liblime.com</a><br>skype: beverlychurch</blockquote></div><br>-- <br>Jared Camins-Esakov<div>Freelance bibliographer, C & P Bibliography Services, LLC</div>
<div>(phone) +1 (917) 727-3445</div><div>(e-mail) <a href="mailto:jcamins@cpbibliography.com" target="_blank">jcamins@cpbibliography.com</a></div><div>(web) <a href="http://www.cpbibliography.com/" target="_blank">http://www.cpbibliography.com/</a></div>
<br>
</div>