Position of cart details popup needs to be specified numerically since jquery can't seem to accurately calculate the dimensions of the cart button.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2008-06-18 10:56:56 -05:00 committed by Joshua Ferraro
parent 4128725f69
commit be1ab41d2f

4
koha-tmpl/opac-tmpl/prog/en/js/basket.js Executable file → Normal file
View file

@ -410,8 +410,8 @@ function vShelfAdd() {
function showCart(){
var position = $("#cartmenulink").offset({border: true,margin:false});
var top = position.top + $("#cartmenulink").outerHeight();
var left = position.left;
var top = position.top + 16; // $("#cartmenulink").outerHeight();
var left = position.left - 105;
$("#cartDetails").css("position","absolute").css("top",top);
$("#cartDetails").css("position","absolute").css("left",left);
$("#cartDetails").fadeIn("fast",function(){