diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-05-16 00:56:57 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-05-16 00:56:57 +0000 |
commit | 9cd4be689005f6eec063222b7c6ec7ec0e027a22 (patch) | |
tree | bc058666c883ac5885ad47d4e23cdd533ea102ad /views/default/js | |
parent | 3f30c9270e6c279a10025afc67417875eb7b4bab (diff) | |
download | elgg-9cd4be689005f6eec063222b7c6ec7ec0e027a22.tar.gz elgg-9cd4be689005f6eec063222b7c6ec7ec0e027a22.tar.bz2 |
another IE javascript change for position elements
Diffstat (limited to 'views/default/js')
-rw-r--r-- | views/default/js/tidypics.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/js/tidypics.php b/views/default/js/tidypics.php index ec2c5dd98..31ccc57af 100644 --- a/views/default/js/tidypics.php +++ b/views/default/js/tidypics.php @@ -189,12 +189,12 @@ 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;
+ _left = imgOffset.left + oCoordenates.x2 + offsetX;
$('#tag_menu').show().css({
- "top": top + "px",
- "left": left + "px"
+ "top": _top + "px",
+ "left": _left + "px"
});
$(".input-filter").focus();
@@ -214,12 +214,12 @@ imgOffset = $('#tidypics_image').offset();
imgWidth = $('#tidypics_image').width();
- top = imgOffset.top + offsetY;
- left = imgOffset.left;
+ _top = imgOffset.top + offsetY;
+ _left = imgOffset.left;
$('#tagging_instructions').show().css({
- "top": top + "px",
- "left": left + "px"
+ "top": _top + "px",
+ "left": _left + "px"
});
}
|