From 4128725f69aff138192569bff476b14d3c94da25 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 Jun 2008 10:56:41 -0500 Subject: [PATCH] Continuing work on Cart popup Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 6 +++--- koha-tmpl/opac-tmpl/prog/en/js/basket.js | 4 ++-- koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index dc2997ebcb..c9e799039c 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -673,7 +673,7 @@ em { padding-bottom: .6em; } -#basket { +#basketcount { display : inline; } @@ -1528,7 +1528,7 @@ span.starMT { padding : 3px 3px 0 3px; } -#cartmenulink span#basket { +#cartmenulink span#basketcount { background-image : none; float : none; display : inline; @@ -1541,7 +1541,7 @@ span.starMT { top : auto; } -#cartmenulink span#basket span { +#cartmenulink span#basketcount span { background-image : none; background-color : #E6FCB7; color : #000; diff --git a/koha-tmpl/opac-tmpl/prog/en/js/basket.js b/koha-tmpl/opac-tmpl/prog/en/js/basket.js index a2eb4b4d48..cabf4da7fe 100755 --- a/koha-tmpl/opac-tmpl/prog/en/js/basket.js +++ b/koha-tmpl/opac-tmpl/prog/en/js/basket.js @@ -410,8 +410,8 @@ function vShelfAdd() { function showCart(){ var position = $("#cartmenulink").offset({border: true,margin:false}); - var top = position.top + 16; // $("#cartmenulink").outerHeight(); - var left = position.left - 105; + var top = position.top + $("#cartmenulink").outerHeight(); + var left = position.left; $("#cartDetails").css("position","absolute").css("top",top); $("#cartDetails").css("position","absolute").css("left",left); $("#cartDetails").fadeIn("fast",function(){ diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl index 5ecd962525..023ac1d7ce 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tmpl @@ -1,5 +1,5 @@ -Koha Online Catalog › +Koha Online Catalog -- 2.39.5