summaryrefslogtreecommitdiff
path: root/lib/gallery.common.js
AgeCommit message (Collapse)Author
2009-12-31Show context menus for movie items. Fix for ticket #960.Bharat Mediratta
2009-11-17Swap sides for rounded corners for short forms when RTL language is in use.Chad Kieffer
2009-11-08White-space cleanup.Chad Kieffer
2009-10-23Use jQuery fadeIn() for message display effect, it fades bg icon and color ↵Chad Kieffer
at the same time.
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-17Added comments, minor white-space fixes.Chad Kieffer
2009-10-04Renamed more CSS selectors from gName to g-name.Chad Kieffer
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-27Set .gItem height dynamically based on the tallest item in the grid. ↵Chad Kieffer
Addresses ticket #757
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-22Apply thumbnail hover effect to context menu's list items, which holds the ↵Chad Kieffer
menu open in ie6 and ie7 now. Items which appear above the meta data list underneath flicker, though. I'll fix later.
2009-09-21Don't try to initialize contextual menu unless it has itemsChad Kieffer
2009-08-28Convert tabs to spaces.Chad Kieffer
2009-08-23Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-23Cut down on jittering of the context menu on open on resize view.Chad Kieffer
2009-08-21Refactor the _auto_fit method in gallery.show_full_size to a common method ↵Tim Almdal
in gallery.common.js Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-20Modified the conversion of the margin-top and margin-bottom css values. TheTim Almdal
problem arises because $(selector).css("margin-top) does not return a string and therefore the replace function is undefined. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-11Move context menu to gallery.commonChad Kieffer
2009-08-11Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
2009-08-10Create the concept of an "ajax link" and use it for thumbnail rotationBharat Mediratta
and album covers in the context menu. Notes: - This requires context_menu() to have a CSS selector that refers to the <img> that we're operating on, otherwise we don't know how to find the thumbnail, etc. - Create Menu_Element_Ajax_Link which has an ajax_handler attribute that contains a snippet of JS that we're going to run when the ajax call returns. - Add $.gallery_replace_image in gallery.common.js - Add lib/gallery.ajax.js which can be used to ajaxify any link, and have ui.init.js in the themes call that on all .gAjaxLink elements.
2009-08-10Return .each() to work with more than an individual photo.Chad Kieffer
2009-08-10Add missing semicolons.Bharat Mediratta
2009-08-09Rename fit_image to fit_photo for consistency.Chad Kieffer
2009-08-09Move hover effect to a function.Chad Kieffer
2009-08-09Move the get photo filter out to it's own function for re-use. Docblock cleanup.Chad Kieffer
2009-08-09Explicitly use gValign class rather than first child.Chad Kieffer
2009-08-09Rename resizeImage gallery_fit_image to follow convention. Move the function ↵Chad Kieffer
to gallery.common.js.
2009-08-07Rename gallery.common.js functions to conform to our naming standardsBharat Mediratta
and have some basic namespacing: showMessage --> gallery_show_message vAlign --> gallery_valign showLoading --> gallery_show_loading Convert gallery.show_full_size.js to be a jQuery function and give it a namespace: show_full_size --> gallery_show_full_size
2009-08-07Remove boilerplate comment.Bharat Mediratta
2009-08-08Forgot this file on the gallery dialog commitTim Almdal
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-08Refactor the gallery dialog into a jQuery widgetTim Almdal
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-07-31Simplify getViewportSize function to use the jQuery height and width functionsTim Almdal
2009-07-30Move the getViewportSize method to gallery.common.jsTim Almdal
2009-06-08Keep status messages. Users click away and may miss them, especially with ↵Chad Kieffer
tasks which take longer to complete.
2009-05-26Split out re-used JavaScript for common functions (messages, valign), panel ↵Chad Kieffer
toggle, and forms to external files.