summaryrefslogtreecommitdiff
path: root/themes/default/js/ui.init.js
AgeCommit message (Collapse)Author
2009-08-28Don't clone hover item, apply styles to the original container. Contextual ↵Chad Kieffer
menu rotates are now immediately visible. Fixes ticket 667.
2009-08-19Update docblocks and todosChad Kieffer
2009-08-11Move context menu to gallery.common, forgot to include in prior commitChad 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-09First stab at context menu for resize. It's quirky and needs work.Chad Kieffer
2009-08-09Keep image placement from shifting on hover, set gHoverItem height properly.Chad Kieffer
2009-08-09Rename resizeImage gallery_fit_image to follow convention. Move the function ↵Chad Kieffer
to gallery.common.js.
2009-08-08Fixed typo. Dialog links still broken. Now, wiht more speling!Chad Kieffer
2009-08-08Handle icon markup and styles in content menu before applying album grid ↵Chad Kieffer
hover affect. Dialog link's in context menu are broken currently
2009-08-08Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
2009-08-08Added basic context menu affects and styles. Simplified some of the action ↵Chad Kieffer
labels in the menu.
2009-08-07Remove stray js-breaking "#" symbol that I accidentally added in 63ddac5dBharat Mediratta
2009-08-07Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
Conflicts: themes/default/js/ui.init.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-08Change galleryPanel and galleryDialog widgets to gallery_panel and ↵Tim Almdal
gallery_dialog respectively 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-06Merge branch 'master' of git@github.com:bharat/gallery3 into bharat_branchBharat Mediratta
2009-08-06Cleanup the javascript for enabling dialog or panel links.Tim Almdal
1) We don't need to loop over the elements to bind the event handler. 2) Just include gallery.panel.js for all the admin pages. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-04White space fixes.Chad Kieffer
2009-08-03Combine the quick menu and the thumb menu into a single menu calledBharat Mediratta
the "context" menu. This new context menu is generated using the typical event processing system, like our other menus. The specialized quick CSS and JS is now gone, replaced by our generic menu handling code. It's all rolled together currently using the thumb_menu UI for easy packaging. All the CSS and JS is updated. NOTE: the non-dialog links (rotate, album_cover) have a broken UI because they return JSON which the quick.js code handled specially, but we don't handle properly now. I need to fix this.
2009-07-20Fire vAlign after gQuick ajax load is complete.Chad Kieffer
2009-07-19Fire .vAlign() when gItem's changed, ex. rotated. Fix for #304.Chad Kieffer
2009-07-12Minor style tweaks.Chad Kieffer
2009-07-11Get the thumbnail menu working.Bharat Mediratta
1) Stop changing the menu classes in JS, instead allow us to specify it in the Menu class itself and then set it to be gThumbMenu in Theme_View 2) Move the gThumbMenu init code to the bottom of the $(document).ready() block; something in there was interfering with it.
2009-07-12Second attempt at showing and hiding the thumb menu. Renamed gThumbMenu to ↵Chad Kieffer
gPhotoMenu for use on both album and photo pages, eventually.
2009-07-12First attempt at animating gThumbMenu. Doesn't work.Chad Kieffer
2009-07-11Styled thumb menu, still needs script to set up interraction.Chad Kieffer
2009-07-11Position gItem and gPhoto relative, then position quick and thumb menus as ↵Chad Kieffer
absolute within them. Moved css from quick.js to quick.css.
2009-06-05Localize the 'Add a comment' messageBharat Mediratta
2009-05-26Split out re-used JavaScript for common functions (messages, valign), panel ↵Chad Kieffer
toggle, and forms to external files.
2009-05-19Added the nice new icons for the view buttons. No need to have them in a ↵Chad Kieffer
jQuery UI button, they stand well on their own. Thx to Ben Dunkle!
2009-05-09Apply status message display effect to admin theme. Use double rather than ↵Chad Kieffer
single quotes in JS.
2009-05-09Highlight status messages on load, fade them out after a few seconds. Make ↵Chad Kieffer
success green brighter.
2009-02-23added additional comment link, if no comments have been made yet.Jakob Hilden
2009-02-15Hide the menu until we can superfish it so that we don't see theBharat Mediratta
unstyled list appear which causes the page layout to flicker.
2009-02-13Ticket #2. Tighten up search results UI.Chad Kieffer
2009-02-13Fixed short form button style.Chad Kieffer
2009-02-12Added a show comment form button. Add comment form is revealed when the ↵Chad Kieffer
button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
2009-02-12Fixed gViewMenu button issues. Fixed major admin_default theme issues, ↵Chad Kieffer
content now clears the menu. Added IE-specific stylesheet to admin theme.
2009-02-09Add hover state for buttons.Chad Kieffer
2009-02-09And the JS file that belongs with the previous commit.Chad Kieffer
2009-02-08Fix spelling typoBharat Mediratta
2009-02-06jQuery-based buttons! Form updates, short form updates. Need to fix add ↵Chad Kieffer
user/group buttons and search form on search results page.
2009-02-04added inplace edit to tag admin (form still needs to be set to rename using ↵Jakob Hilden
AJAX) removed unnecessary {element: dialogLinks[i]} from dialog and panelLink handling. now uses event.currentTarget
2009-01-16Comment and code format fixesChad Kieffer
2009-01-13Fixed vertical alignment of thumbs.Chad Kieffer
2009-01-12Updated vertical alignment of thumbnails.Chad Kieffer
2009-01-10Add missing semicolonBharat Mediratta
2009-01-04Started to wire up album and photo view menus. Need photo's parent album ↵Chad Kieffer
link added. Also need add the slideshow link to the menu.
2009-01-03Added a jump to comments button with a scroll to effect.Chad Kieffer