From 9cd4be689005f6eec063222b7c6ec7ec0e027a22 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 16 May 2009 00:56:57 +0000 Subject: another IE javascript change for position elements --- views/default/js/tidypics.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'views') 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" }); } -- cgit v1.2.3