aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-23 22:17:23 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-23 22:17:23 +0000
commita2c5023bed6a515270d23efeb097b613bb978ffb (patch)
treede3642ee9c5a40194772589fd83902ce36599151 /views/default/js
parent6dece54ca3973b9d6f69ef53ea358723ba74684b (diff)
downloadelgg-a2c5023bed6a515270d23efeb097b613bb978ffb.tar.gz
elgg-a2c5023bed6a515270d23efeb097b613bb978ffb.tar.bz2
improved the css of the popups for tagging
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/tagging.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php
index 11f195783..bd6890502 100644
--- a/views/default/js/tagging.php
+++ b/views/default/js/tagging.php
@@ -189,7 +189,8 @@
function showTagMenu(oObject, oCoordenates)
{
- offsetX = -100;
+ offsetX = 6;
+ offsetY = 10;
imgOffset = $('#tidypics_image').offset();
@@ -197,8 +198,8 @@
if (oCoordenates.width != 0 && oCoordenates.height != 0) {
coordinates = oCoordenates;
- _top = imgOffset.top + oCoordenates.y2;
- _left = imgOffset.left + oCoordenates.x2 + offsetX;
+ _top = imgOffset.top + oCoordenates.y2 + offsetY;
+ _left = imgOffset.left + oCoordenates.x1 + offsetX;
$('#tidypics_tag_menu').show().css({
"top": _top + "px",