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