summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-08-30Added comments, formatted CSS, added status message styles.Chad Kieffer
2009-08-29Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-29Apply hover effect to dialog buttons.Chad Kieffer
2009-08-29Merge branch 'master' of git@github.com:gallery/gallery3jhilden
2009-08-29initial version of the the file with common CSS styles that should be reused ↵jhilden
if possible
2009-08-28Fixed issue where button classes and cancel link weren't being re-applied to ↵Chad Kieffer
forms when an open dialog is reloaded.
2009-08-28Button styles and event handlers weren't being applied in dialogs, fixes #669.Chad Kieffer
2009-08-28Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-28Convert tabs to spaces.Chad Kieffer
2009-08-27Allow clicking on the overlay to close the fullsize and remove some debug codeTim Almdal
2009-08-27Fix ticket #644Tim Almdal
1) remove close button 2) extend the grey overlay to the document size 3) allow any keypress to close the fullize image 4) click on the fullsize will close
2009-08-25Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
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-20Refactor the _auto_fit method in gallery.show_full_size to a common method ↵Tim Almdal
in gallery.common.js
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-19Modified 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.
2009-08-19Correct indentationTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-19Correct indentationTim Almdal
2009-08-19Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-18Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-13Use the jquery-ui library that contains a prerelease version of the ↵Tim Almdal
slectable component Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-12Use the jquery-ui library that contains a prerelease version of the ↵Tim Almdal
slectable component
2009-08-11Move context menu to gallery.commonChad Kieffer
2009-08-11Replace tabs w/ spaces.Chad 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-08Fix the problem where the login page and edit permission pages wereTim Almdal
supersized based on ly last commit.
2009-08-08Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-08remove a debug statement left over from previous commitTim Almdal
2009-08-08Create an new option 'immediate' and if set to true then don't try to set up ↵Tim Almdal
click events, but just show the dialog. Also remove the destroy method and put all the cleanup into the dialog close handler
2009-08-07Make the organize dialog open properly in IE8, Chrome and FF. For some ↵Tim Almdal
reason (probably a timing thing) the height of the contents was not being set correctly in FF. So we just hard code an estimate of the size of the Draw handle, and message areas.
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-08Change galleryPanel and galleryDialog widgets to gallery_panel and ↵Tim Almdal
gallery_dialog respectively Signed-off-by: Bharat Mediratta <bharat@menalto.com>
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-08-07Refactor the gallery.panel.js as a jQuery widget.Tim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-05Revert "Allow a theme to override the page refresh mechanism. Create a new"Tim Almdal
This reverts commit 1f014aae6c16bbda62d8f5937180f11ccb0eb1b1.
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-07-27Allow a theme to override the page refresh mechanism. Create a newTim Almdal
javascript lib (gallery.reload.js) which defines the functions gallery_reload() and gallery_location(new_location). They just do a window.location.reload() and window.location = new_location. This change breaks the assumption that all themes will handle page reloads the same and allows the theme to customize the page refresh.