Lines 209-215
function addSelRecords(valSel) { // function for adding a selection of biblios t
Link Here
|
209 |
function showCartUpdate(msg){ |
209 |
function showCartUpdate(msg){ |
210 |
// set body of popup window |
210 |
// set body of popup window |
211 |
$("#cartDetails").html(msg); |
211 |
$("#cartDetails").html(msg); |
212 |
$("#cartmenuitem").html(MSG_IN_YOUR_CART + " " + basketCount()); |
|
|
213 |
showCart(); |
212 |
showCart(); |
214 |
setTimeout("hideCart()",2000); |
213 |
setTimeout("hideCart()",2000); |
215 |
} |
214 |
} |
Lines 507-514
function updateAllLinks(target){
Link Here
|
507 |
} |
506 |
} |
508 |
|
507 |
|
509 |
$("#cartDetails").ready(function(){ |
508 |
$("#cartDetails").ready(function(){ |
510 |
$("#cartDetails,#cartmenuitem,#cartmenulink").on("click",function(){ hideCart(); }); |
509 |
$("#cartDetails,#cartmenulink").on("click",function(){ hideCart(); }); |
511 |
$("#cartmenuitem").click(function(e){ |
510 |
$("#cartmenulink").click(function(e){ |
512 |
e.preventDefault(); |
511 |
e.preventDefault(); |
513 |
openBasket(); |
512 |
openBasket(); |
514 |
$("li").closest().removeClass("open"); |
513 |
$("li").closest().removeClass("open"); |
515 |
- |
|
|