From 7b08be11399ce3d5c8603902f463244559b71870 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 15 Feb 2010 13:24:28 -0700 Subject: Initialize context-menu hover using g-photo/g-movie, not the image or movie object. Closes ticket #808 --- themes/wind/js/ui.init.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'themes/wind') diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js index 64eb6bc3..6edf6be4 100644 --- a/themes/wind/js/ui.init.js +++ b/themes/wind/js/ui.init.js @@ -98,8 +98,7 @@ $(document).ready(function() { $("#g-photo,#g-movie").gallery_fit_photo(); // Initialize context menus - var resize = $("#g-photo,#g-movie").gallery_get_photo(); - $(resize).hover(function(){ + $("#g-photo,#g-movie").hover(function(){ $(this).gallery_context_menu(); }); -- cgit v1.2.3 From c1b13ddd9f8e692b4c525bffdf6bbe8718c008a8 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 15 Feb 2010 19:05:45 -0700 Subject: Apply zoom to g-photo and g-movie to hold height and properly position g-context-menu, closes #1018 --- themes/wind/css/fix-ie.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'themes/wind') diff --git a/themes/wind/css/fix-ie.css b/themes/wind/css/fix-ie.css index 4f0d0888..f7f08486 100644 --- a/themes/wind/css/fix-ie.css +++ b/themes/wind/css/fix-ie.css @@ -7,6 +7,16 @@ zoom: 1; } +#g-photo, +#g-movie { + zoom: 1; +} + +#g-photo .g-context-menu, +#g-movie .g-context-menu { + width: 240px; +} + input.submit { clear: none !important; display: inline !important; -- cgit v1.2.3