summaryrefslogtreecommitdiff
path: root/modules/gallery/js
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-07-11 00:40:57 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-07-11 00:40:57 -0600
commite0e450d90fe67ac199d82d2b8e902cff5c8b6c7d (patch)
treea9d093c3382097a52421da276934791b6d37df1f /modules/gallery/js
parentfe6320ef4c976df037c259c85bab26c508659ba9 (diff)
Position gItem and gPhoto relative, then position quick and thumb menus as absolute within them. Moved css from quick.js to quick.css.
Diffstat (limited to 'modules/gallery/js')
-rw-r--r--modules/gallery/js/quick.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js
index 4ebdac47..32e34ef3 100644
--- a/modules/gallery/js/quick.js
+++ b/modules/gallery/js/quick.js
@@ -13,16 +13,7 @@ var show_quick = function() {
var quick = $(this).find(".gQuick");
$("#gQuickPane").remove();
cont.append("<div id=\"gQuickPane\"></div>");
- var img = cont.find(".gThumbnail,.gResize");
- var pos = cont.position();
- $("#gQuickPane").css({
- "position": "absolute",
- "top": pos.top,
- "left": pos.left,
- "text-align": "center",
- "width": cont.innerWidth() + 1,
- "height": "auto"
- }).hide();
+ $("#gQuickPane").hide();
cont.hover(function() {}, hide_quick);
$.get(
quick.attr("href"),