Commit Graph

25 Commits

Author SHA1 Message Date
shadlaws
2e94edab53 #2053 - Change all .bind() to .on() for jQuery future-proofing.
- on/off are preferred to bind/unbind, live/die, and delegate/undelegate in jQuery 1.7+
- they're likely on the road toward deprecation, so let's replace them now.
2013-03-11 17:16:20 +01:00
shadlaws
ef2ca6edb5 #2018 follow-on and #2023 - Fixed issues with thumb hover effects.
- cleaned up resize after hover: more efficient, totally browser-compatible (IE7-10, FF, Chrome tested!).
- cleaned up resize on hover: more efficient, fixed bug with neighbors that are bigger but only by a little.
- fixed bugs when moving off item with expanded context menu and then quickly back: oversized hover, flicker.
- cleaned up formatting, removed unneeded code, and added comments.
2013-02-28 17:10:48 +01:00
shadlaws
09fbe4c344 #2018 - Make ui.init.js thumbnail hover effect more robust.
- changed thumbnail hover effect to store its original height on mouseenter, then return to it on mouseleave.
- removed previous routine which depended on the height of its siblings and was incompatible with some IE versions.
2013-02-25 17:13:10 +01:00
Bharat Mediratta
0494244e80 Super first pass:
- jQuery 1.90
- jQuery UI 1.10
- Superfish 1.5.1 (minus all plugins)
- jQuery Form 3.26.0-2013.01.28

Deleted all other jQuery plugins for now.

- Reworked autocomplete to use the latest jQuery code.
- Deleted references to $.browser.msie, no longer supported
- Basic CSS support for autocomplete - lots more work needed there
2013-02-03 18:55:23 -05:00
Chad Kieffer
8549ba30ca Stop IE 9 album grid craziness. Thanks floridave. Fixes #1430. 2011-05-16 22:37:09 -06:00
Bharat Mediratta
304dd9cb51 After replacing thumbnails, resize all .g-item boxes down to just a
bit larger than the image and then do equal_heights() on them.  This
tightens the grid back up again when appropriate after a rotation.
2010-09-10 23:13:47 -07:00
Bharat Mediratta
6e62d604a4 Resize the .g-item to contain the rotated image, and make all
.g-item's the same height and realign the photo vertically, both on
the .g-item and the hover placeholder.  Fixes ticket #1354.
2010-09-09 21:58:16 -07:00
Bharat Mediratta
6211ed69d7 Vertically realign thumbnails after rotation so that they stay
centered.  Partial fix for #1354.
2010-09-09 21:25:23 -07:00
Bharat Mediratta
1783c04692 Remove the title attribute for menus using JS since we're showing that
text anyway.  This may be turn into an accessibility issue, but it's
pretty annoying to have a tooltip show up with the text in it.
2010-06-20 11:15:53 -07:00
Bharat Mediratta
1240878df0 Fix-ups for d98b85f7d3
- Pass the CSS selector of the active image in as an arg to site_menu
  so that quick operations know what they're operating on.
- Change the ids from g-{photo,movie}-id to the generic g-item-id
- Initialize ajax handlers for site menu on the photo and movie page
- Drop the movie context menu, it's now in the site menu
2010-05-14 16:55:15 -07:00
Chad Kieffer
7b08be1139 Initialize context-menu hover using g-photo/g-movie, not the image or movie object. Closes ticket #808 2010-02-15 13:24:28 -07:00
Chad Kieffer
4204d554b8 On search results, if g-item's onhover height is less than it's siblings set height, set the hover item's height equal to its siblings. 2010-02-14 17:27:08 -07:00
Bharat Mediratta
25f936e1ed Show context menus for movie items. Fix for ticket #960. 2009-12-31 18:13:42 -08:00
Chad Kieffer
07268d5c52 Key off of g-photo, rather than g-item, when fitting resized photos inside their parent. 2009-11-08 18:07:58 -07:00
Chad Kieffer
c9ccc24618 Moved the short_form init function to gallery.common and made it jQuery plugin. Dropped gallery.form.js. Applied short forms to server_add and tag admin pages. Added tag.css to admin views. Added .g-wide {}. 2009-10-18 10:32:08 -06:00
Chad Kieffer
eb3e36f132 Apply g-dialog-link class directly to login link markup, not via jQuery. 2009-10-16 00:56:37 -06:00
Chad Kieffer
568017d8cc Deal with IE flicker during Superfish menu init solely in ui.init.js with .hide() and .show(). Since the menus in the header are the only SF menus, use those selectors for initialization. 2009-10-16 00:54:20 -06:00
Chad Kieffer
c876ec1f50 Apply g-short-form directly to short forms rather than via JS. Comment updates in ui.init.js. 2009-10-16 00:00:52 -06:00
Chad Kieffer
3e6ba7acc3 Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features. 2009-10-04 00:27:22 -06:00
Chad Kieffer
e1e8904e4a Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog. 2009-09-30 22:49:36 -06:00
Chad Kieffer
72672bda39 Replaced gButtonLink with g-button. 2009-09-30 08:04:49 -06:00
Chad Kieffer
6cd8679dec Set .gItem height dynamically based on the tallest item in the grid. Addresses ticket #757 2009-09-27 22:49:46 -06:00
Chad Kieffer
8060a8a659 Removed unused toggleClass() 2009-09-26 18:34:04 -06:00
Chad Kieffer
d1792ab3e0 Clean up hover effect, move some CSS out of ui.init.js to screen.css. Fix context_menu, it wasn't closing. Fix context_menu in IE7 by putting a bg color on the menu 2009-09-26 15:44:34 -06:00
Tim Almdal
65051a4bf7 Rename the default themes to wind and admin_wind. Change xss_data.txt file to reflect this move. Not completely moved yet, but the git st is rather large so lets commit this now as a base for the cleanup. 2009-09-23 15:06:17 -07:00