summaryrefslogtreecommitdiff
path: root/themes/wind/js/ui.init.js
AgeCommit message (Collapse)Author
2013-03-11#2053 - Change all .bind() to .on() for jQuery future-proofing.shadlaws
- 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-02-28#2018 follow-on and #2023 - Fixed issues with thumb hover effects.shadlaws
- 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-25#2018 - Make ui.init.js thumbnail hover effect more robust.shadlaws
- 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-03Super first pass:Bharat Mediratta
- 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
2011-05-16Stop IE 9 album grid craziness. Thanks floridave. Fixes #1430.Chad Kieffer
2010-09-10After replacing thumbnails, resize all .g-item boxes down to just aBharat Mediratta
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-09Resize the .g-item to contain the rotated image, and make allBharat Mediratta
.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-09Vertically realign thumbnails after rotation so that they stayBharat Mediratta
centered. Partial fix for #1354.
2010-06-20Remove the title attribute for menus using JS since we're showing thatBharat Mediratta
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-05-14Fix-ups for d98b85f7d3142676e6b4f407a18ed81564823f88Bharat Mediratta
- 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-02-15Initialize context-menu hover using g-photo/g-movie, not the image or movie ↵Chad Kieffer
object. Closes ticket #808
2010-02-14On search results, if g-item's onhover height is less than it's siblings set ↵Chad Kieffer
height, set the hover item's height equal to its siblings.
2009-12-31Show context menus for movie items. Fix for ticket #960.Bharat Mediratta
2009-11-08Key off of g-photo, rather than g-item, when fitting resized photos inside ↵Chad Kieffer
their parent.
2009-10-18Moved the short_form init function to gallery.common and made it jQuery ↵Chad Kieffer
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-16Apply g-dialog-link class directly to login link markup, not via jQuery.Chad Kieffer
2009-10-16Deal with IE flicker during Superfish menu init solely in ui.init.js with ↵Chad Kieffer
.hide() and .show(). Since the menus in the header are the only SF menus, use those selectors for initialization.
2009-10-16Apply g-short-form directly to short forms rather than via JS. Comment ↵Chad Kieffer
updates in ui.init.js.
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-09-30Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's ↵Chad Kieffer
and classes in the login/reset password dialog.
2009-09-30Replaced gButtonLink with g-button.Chad Kieffer
2009-09-27Set .gItem height dynamically based on the tallest item in the grid. ↵Chad Kieffer
Addresses ticket #757
2009-09-26Removed unused toggleClass()Chad Kieffer
2009-09-26Clean up hover effect, move some CSS out of ui.init.js to screen.css. Fix ↵Chad Kieffer
context_menu, it wasn't closing. Fix context_menu in IE7 by putting a bg color on the menu
2009-09-23Rename the default themes to wind and admin_wind. Change xss_data.txt file ↵Tim Almdal
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.