1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/themes/pear4gallery3/js/pear.js

702 lines
27 KiB
JavaScript
Raw Normal View History

Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
/*jslint browser: true, regexp: true, sub: false, vars: false, white: false, nomen: false, sloppy: true, undef: false, plusplus: true */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
/*global jQuery, $, Event, refresh, escape, unescape, slideshowImages, ImageFlow, focusImage, swatchImg */
var savedHeight = savedWidth = 0;
var pear = {defaultView: "grid",
detailView: false,
sitePath: "/",
defaultBg: "black",
slideshowTimeout: 5000,
currentImg: 0,
hovering: false,
mosaicEffect: "" };
2011-05-24 11:28:35 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function thumbPadding() {
var size, width, margin;
/* Padding on thumbs to make them flow nicer */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
size = Math.ceil((pear.currentView === 'mosaic') ? $('#imgSlider').slider('value') / 2 : $('#imgSlider').slider('value')) + 10;
width = $('#gridContainer').width() - $.getScrollbarWidth() - 8;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
margin = width / Math.floor(width / size) - size;
$('.gallery-thumb').css({'margin-left': Math.ceil(margin / 2) + 'px', 'margin-right': Math.floor(margin / 2) + 'px'});
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
}
function toggleReflex(hide) {
if (hide) {
// $$('.Fer').each(function(s) { cvi_reflex.remove(s); });
$('mosaicGridContainer').select('img[class="Fer"]').each(function (s, index) { Event.observe(s, 'click', function () { if (pear.currentView === 'mosaic') { swatchImg(index); } else { focusImage(index); } }); });
} else {
// $$('.Fer').each(function(s) { cvi_reflex.add(s, {height: 20, distance: 0 }); });
$('mosaicGridContainer').select('canvas[class="Fer"]').each(function (s, index) { Event.observe(s, 'click', function () { if (pear.currentView === 'mosaic') { swatchImg(index); } else { focusImage(index); } }); });
}
}
function scaleIt(v, sliding) {
// Remap the 0-1 scale to fit the desired range
//v=.26+(v*(1.0-.26));
var size = (pear.currentView === 'mosaic') ? v / 2 : v;
toggleReflex(true);
$(".p-photo").each(function (i) {
$(this).attr({height: size + 'px', width: size + 'px'});
$(this).css({height: size + 'px', width: size + 'px'});
});
$(".g-photo").css({width: size + 'px'});
if (!pear.currentView === 'mosaic' && !sliding) {
toggleReflex(false);
}
thumbPadding();
$('#gridContainer').trigger('scroll');
}
2011-05-24 11:28:35 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
function thumbLoad(index) {
//Load non skimming thumbs
$('.g-thumbnail').each( function() { $(this).attr('src', thumbImages[$(this).attr('id')]); });
//Load skimming thumbs
$('.skimm_div').each( function() { $(this).append(thumbImages[$(this).attr('id')]); });
//Re-initiate all fancyness.
if (pear.currentView === 'mosaic') { $('p.giTitle,div.giInfo').hide(); } else { $('p.giTitle,div.giInfo').show(); }
scaleIt($('#imgSlider').slider('value'));
$('.g-item:not(.g-hover-item)').each(function (index) { $(this).unbind('click'); if ($(this).is('.g-photo')) { $(this).click(function () { if (pear.currentView === 'mosaic') { swatchImg(index); } else { focusImage(index); } }); }});
// Apply jQuery UI icon and hover styles to context menus
if ($(".g-context-menu").length) {
$(".g-context-menu li").addClass("ui-state-default");
$(".g-context-menu a").addClass("g-button ui-icon-left");
$(".g-context-menu a:not(:has(span.ui-icon))").prepend("<span class=\"ui-icon\"></span>");
$(".g-context-menu a span").each(function() {
/*jslint regexp: false*/
var iconClass = $(this).parent().attr("class").match(/ui-icon-.[^\s]+/).toString();
/*jslint regexp: true*/
$(this).addClass(iconClass);
});
$("ul.g-context-menu > li a span").addClass("ui-icon-carat-1-s");
}
// Initialize thumbnail hover effect
$(".g-item").hover(
function() {
$(this).addClass("hovering");
if($(this).hasClass("g-album")) {
$(this).data('thumb_src' ,$(this).children('img.g-thumbnail').attr('src'));
}
if(pear.currentView === 'mosaic') { return; }
// Insert a placeholder to hold the item's position in the grid
var placeHolder = $(this).clone().attr("id", "g-place-holder");
$(this).after($(placeHolder));
// Style and position the hover item
$(this).addClass("g-hover-item");
// Initialize the contextual menu
$(this).gallery_context_menu();
// Set the hover item's height
$(this).height("auto");
},
function() {
var sib_height;
$(this).removeClass("hovering");
if($(this).hasClass("g-album")) {
$(this).children('img.g-thumbnail').attr('src', $(this).data('thumb_src'));
}
if (pear.currentView === 'mosaic') { return; }
// Remove the placeholder and hover class from the item
$(this).removeClass("g-hover-item");
$("#g-place-holder").remove();
}
);
// Initialize button hover effect
$.fn.gallery_hover_init();
thumbPadding();
if(pear.viewMode != 'carousel') {
pear.pearCarousel = null;
$("#pearImageFlow").empty();
}
//Pre fetch images
//if ( typeof prefetch === 'undefined') { prefetch = 0; }
//for ( ; prefetch < slideshowImages.length; prefetch=prefetch+1 ) { $('<img />').attr('src', slideshowImages[prefetch][0]); }
}
function loadMore() {
if ( navigation.next !== '') {
var url = navigation.next;
navigation.next = '';
$.get(url,{ ajax: '1'},function (data) {
$('#gridContainer').append(data);
thumbLoad();
});
return true;
}
else { return false; }
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function setCookie(c_name, value, expiredays) {
var exdate = new Date();
exdate.setDate(exdate.getDate() + expiredays);
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
document.cookie = c_name + "=" +
escape(value) + ((expiredays === null) ? "" : ";expires=" + exdate.toGMTString()) +
"; path=" + pear.sitePath;
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function getCookie(c_name) {
if (document.cookie.length > 0) {
var c_start, c_end;
c_start = document.cookie.indexOf(c_name + "=");
if (c_start !== -1) {
c_start = c_start + c_name.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end === -1) {
c_end = document.cookie.length;
}
return unescape(document.cookie.substring(c_start, c_end));
}
}
return "";
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function mosaicResize() {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if ($('#gridContainer').length === 0) {
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
return; //no element found
}
var myWidth = 0, myHeight = 0;
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
var iRatio = 0, iWidth = 0, iHeight = 0;
var siteTop;
if (typeof slideshowImages[pear.currentImg] !== 'undefined') {
iWidth = parseFloat(slideshowImages[pear.currentImg][2].replace(/,/gi, "."));
iHeight = parseFloat(slideshowImages[pear.currentImg][3].replace(/,/gi, "."));
iRatio = iWidth / iHeight;
if (isNaN(iRatio)) { iRatio = 1.3333; }
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
if (typeof (window.innerWidth) === 'number') {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
if ($('#imageflow').length !== 0) {
$('#imageflow').css({'height': (myHeight - 53) + 'px', 'width': (((myWidth * 0.5) < (myHeight - 53)) ? myWidth : ((myHeight - 65) * 2)) + 'px'});
}
if (iRatio > (myWidth / (myHeight - 165))) {
$('#img_detail').css({'height': myWidth / iRatio + "px", 'width': myWidth + "px"});
} else {
$('#img_detail').css({'height': myHeight - 165 + "px", 'width': (myHeight - 165) * iRatio + "px"});
}
if (iHeight < (myHeight - 165) && iWidth < myWidth) {
$('#img_detail').css({'height': iHeight + "px", 'width': iWidth + "px"});
}
myWidth = myWidth - 7;
myHeight = myHeight - $('#g-site-status').outerHeight(true) - $('#paginator').outerHeight(true);
myHeight -= 138;
$('#g-header').css('top', $('#gsNavBar').outerHeight(true) + $('#g-site-status').outerHeight(true) - 4);
if ($('#g-movie').length) {
myHeight += 18;
}
/*Sidebar*/
if ($('#sidebarContainer').is(':visible')) { myWidth = myWidth - $('#sidebarContainer').width(); }
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (pear.currentView === 'mosaic') {
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
//Resize the image..
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
myWidth = $('#mosaicDetail').width()-20;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
if (iRatio > (myWidth / myHeight)) {
$('#mosaicImg').attr({height: myWidth / iRatio, width: myWidth});
} else {
$('#mosaicImg').attr({height: myHeight, width: myHeight * iRatio});
}
if (iHeight < myHeight && iWidth < myWidth) {
$('#mosaicImg').attr({height: iHeight, width: iWidth});
}
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
/* Fix for firefox that don't support dimensions on empty img tags */
$('#mosaicImg').css('display', 'inline-block');
/* Vertical center of image in mosaicView */
siteTop = $('#mosaicTable').height() / 2 - ($("#imageTitle").attr("savedH") + $("#mosaicImg").height()) / 2;
siteTop = siteTop < 0 ? 0 : siteTop;
$('#mosaicDetailContainer').css('top', siteTop);
/* Vertical center of content in carousel */
siteTop = $('#mosaicTable').height() / 2 - $('#pearImageFlow').height() / 2;
siteTop = siteTop < 0 ? 0 : siteTop;
$('#pearImageFlow').css('top', siteTop);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
thumbPadding();
if ($('#conf_imageflow').length) {
refresh();
}
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$(window).resize(function () {
if (window.innerHeight === savedHeight && window.innerWidth === savedWidth) { return; }
savedHeight = window.innerHeight;
savedWidth = window.innerWidth;
mosaicResize();
});
function updateHash() {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
window.location.hash = getAlbumHash(pear.currentImg);
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function swatchSkin(intSkin) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if ( pear.currentBg !== pear.defaultBg ) { setCookie('swatchSkin', intSkin, 1); }
$('#black,#dkgrey,#ltgrey,#white').removeClass().addClass("swatch");
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
switch (intSkin) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
//black
case 'black':
case 0:
$('div.gallery-thumb-round').css('backgroundPosition', "0px 0px");
$('body,html,#pearFlow').css('backgroundColor', "#000");
$('p.giTitle').css("color", "#a3a3a3");
$("#black").addClass("black sel black-with-sel-with-swatch");
pear.currentBg = "black";
break;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
// dkgrey
case 'dkgrey':
case 1:
$('div.gallery-thumb-round').css('backgroundPosition', "-200px 0px");
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('body,html,#pearFlow').css('backgroundColor', "#262626");
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('p.giTitle').css("color", "#a9a9a9");
$("#dkgrey").addClass("dkgrey sel dkgrey-with-sel-with-swatch");
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentBg = "dkgrey";
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
break;
// ltgrey
case 'ltgrey':
case 2:
$('div.gallery-thumb-round').css('backgroundPosition', "-400px 0px");
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('body,html,#pearFlow').css('backgroundColor', "#d9d9d9");
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('p.giTitle').css("color", "#333333");
$("#ltgrey").addClass("ltgrey sel ltgrey-with-sel-with-swatch");
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentBg = "ltgrey";
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
break;
// white
case 'white':
case 3:
$('div.gallery-thumb-round').css('backgroundPosition', "-600px 0px");
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('html,body,#pearFlow').css('backgroundColor', "#ffffff");
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('p.giTitle').css("color", "#444444");
$("#white").addClass("white sel white-with-sel-with-swatch");
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentBg = "white";
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
break;
default:
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
// Black is default
if ( typeof pear.defaultBg === "undefined" ) { pear.defaultBg = "black"; }
swatchSkin(pear.defaultBg);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
updateHash();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
//Set a updating timer so users can't update before the image has appeard..
function swatchImg(imageId) {
if (imageId < 0 || imageId >= slideshowImages.length) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if ( navigation.next !== '') {
$.get(navigation.next,{ ajax: '1'},function (data) {
$('#gridContainer').append(data);
thumbLoad();
swatchImg(imageId);
});
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
return;
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if ( typeof slideshowImages[imageId] === 'undefined' ) {
imageId += 1;
if ( imageId >= slideshowImages.length ) { swatchImg(0); } else { swatchImg(imageId); }
return;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentImg = imageId;
if (pear.currentView === 'mosaic') {
$('#imageTitle').each(function (i) {$(this).html("<h2></h2>"); $(this).attr("savedH", $(this).height()); });
if ( pear.mosaicEffect === "" ) {
$('#mosaicDetailContainer').hide(0, function () {
$('#imageTitle').html("<h2>" + slideshowImages[imageId][4] + "</h2>");
$('#mosaicImg').attr('src', slideshowImages[imageId][0]);
mosaicResize();
$('#mosaicDetailContainer').show();
});
}
else {
var options = {};
if ( pear.mosaicEffect === "scale" ) { options = { percent: 0 }; }
$('#mosaicDetailContainer').hide(pear.mosaicEffect, options, "fast", function () {
$('#imageTitle').html("<h2>" + slideshowImages[imageId][4] + "</h2>");
$('#mosaicImg').attr('src', slideshowImages[imageId][0]);
mosaicResize();
$('#mosaicDetailContainer').show(pear.mosaicEffect, options, "slow");
});
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
/* Set controls for hover view. */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#mosaicHover').hide();
$('#prev').toggleClass('disabled', (pear.currentImg === 0));
$('#next').toggleClass('disabled', (pear.currentImg === slideshowImages.length - 1));
$('#img_detail').hide();
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
/* Update image and title in focus view */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#img_detail').attr('src', slideshowImages[pear.currentImg][0]);
$('.info_detail').attr('href', pear.sitePath + "pear/about/" + slideshowImages[pear.currentImg][1]);
$('.comments_detail').attr('href', pear.sitePath + "pear/show_comments/" + slideshowImages[pear.currentImg][1]);
$('#imageTitleLabel').html("<h2>" + slideshowImages[pear.currentImg][4] + "</h2>");
$('#download, #detail_download').toggleClass('hidden',
( slideshowImages[pear.currentImg][5] === '' ));
$(".controller").each( function () {
$(this).css('background-image',$(this).css('background-image')); });
$('#mosaicHover').show();
mosaicResize();
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
updateHash();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#img_detail').fadeIn();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function hideHoverView() {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (!pear.hovering) { $('#hoverView').fadeOut(); }
pear.hideHoverViewHandler = null;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
2011-05-24 11:28:35 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function showHoverView() {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (pear.hideHoverViewHandler !== null) { clearTimeout(pear.hideHoverViewHandler); }
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#hoverView').show();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.hideHoverViewHandler = setTimeout(hideHoverView, 3000);
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function focusImage(id, redirected) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (id < 0 || id >= slideshowImages.length) {
if ( navigation.next !== '') {
$.get(navigation.next,{ ajax: '1'},function (data) {
$('#mosaicGridContainer').append(data);
thumbLoad();
focusImage(id);
});
}
return;
}
pear.currentImg = id;
pear.detailView = true;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
swatchImg(id);
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#play_detail,#pause_detail').addClass('hidden');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#detailView').fadeIn('slow');
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
showHoverView();
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
//Image count.
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
//if (!redirected) { $.get(slideshowImages[pear.currentImg][6]); }
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function checkCookie() {
var co = getCookie('slider');
if (co !== null && co !== "") {
$('#imgSlider').slider("value", co);
}
co = getCookie('swatchSkin');
if (co !== null && co !== "") {
swatchSkin(co);
} else {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
swatchSkin(pear.defaultBg);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function getAlbumHash(img) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
var hash = "#";
if (img !== 0) {
hash += "img=" + img;
}
if ( pear.defaultView !== pear.currentView ) {
hash += "&viewMode=" + pear.currentView;
}
if ( pear.detailView ) {
hash += "&detailView";
}
if ( pear.defaultBg !== pear.currentBg ) {
hash += "&bgcolor=" + pear.currentBg;
}
return hash;
}
function slideShowUpdate() {
pear.slideShowId = pear.slideShowId + 1;
if (pear.slideShowId > slideshowImages.length) {
slideShowId = 0;
}
swatchImg(pear.slideShowId);
pear.slideShowHandler = setTimeout(slideShowUpdate, pear.slideshowTimeout);
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function togglePlayPause() {
//We are paused
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (pear.slideShowHandler === null) {
$('#play_detail').addClass('hidden');
$('#pause_detail').removeClass('hidden');
pear.slideShowHandler = setTimeout(slideShowUpdate, pear.slideshowTimeout);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
} else { //We are playing
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#pause_detail').addClass('hidden');
$('#play_detail').removeClass('hidden');
clearTimeout(pear.slideShowHandler);
pear.slideShowHandler = null;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function startSlideshow() {
slideShowMode = true;
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#play_detail').addClass('hidden');
$('#pause_detail').removeClass('hidden');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#detailView').fadeIn('slow');
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
showHoverView();
pear.slideShowId = pear.currentImg;
swatchImg(pear.slideShowId);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
togglePlayPause();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function switchMode(mode) {
$('#mosaic,#grid,#carousel').removeClass("sel sel-with-viewSwitcher");
$('#' + mode).addClass("sel sel-with-viewSwitcher");
updateHash();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
function switchToGrid() {
pear.currentView = "grid";
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
toggleReflex(true);
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#pearFlow').hide();
if (!$('#gridContainer').length) { return; }
scaleIt($('#imgSlider').slider('value'));
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#mosaicDetail').hide();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#gridContainer').css('width', "100%");
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('p.giTitle,div.giInfo').each(function (s) { $(this).show(); });
switchMode('grid');
mosaicResize();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
function switchToMosaic() {
pear.currentView = "mosaic";
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
toggleReflex(false);
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#pearFlow').hide();
if (!$('#gridContainer').length) { return; }
scaleIt($('#imgSlider').slider('value'));
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#mosaicDetail').show();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#gridContainer').css('width', "35%");
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('p.giTitle,div.giInfo').each(function (s) { $(this).hide(); });
switchMode('mosaic');
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
swatchImg(pear.currentImg);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
mosaicResize();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
function startImageFlow() {
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
var i, img;
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentView = 'carousel';
$('#pearFlow').show();
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (!pear.pearCarousel) {
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
for (i = 0; i < slideshowImages.length; i++) {
//var img = '<div class="item"><img class="content" src="' + slideshowImages[i][0] + '"/><div class="caption">' + $('#mosaicGridContainer img').eq(i).attr('alt') + '"</div></div>';
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if ( typeof slideshowImages[i] === 'undefined' ) { continue; }
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
img = '<img src="' + slideshowImages[i][0] + '" longdesc="' + i + '" width="' + slideshowImages[i][2] + '" height="' + slideshowImages[i][3] + '" alt="' + slideshowImages[i][4] + '" style="display: none;">';
// console.log(img);
$('#pearImageFlow').append(img);
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.pearCarousel = new ImageFlow();
pear.pearCarousel.init({ImageFlowID: 'pearImageFlow',
aspectRatio: 2.4, imagesHeight: 0.6,
opacity: true, reflections: false,
startID: pear.currentImg + 1,
onClick: function () { focusImage($(this).attr('longdesc')); },
startAnimation: true, xStep: 200, imageFocusM: 1.0,
imageFocusMax: 4, opacityArray: [10, 9, 6, 2],
percentLandscape: 200, percentOther: 100,
captions: false, slider: false});
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
switchMode('carousel');
mosaicResize();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function hideDetailView() {
$('#detailView').hide();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.slideShowMode = pear.detailView = false;
if (pear.slideShowHandler !== null) { clearTimeout(pear.slideShowHandler); }
pear.slideShowHandler = null;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
updateHash();
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function setKeys() {
/* Fixes the back button issue */
/* window.onunload = function()
2011-05-24 11:28:35 +00:00
{
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
document = null;
}
*/
$(document).keydown(function (e) {
var charCode = e.keyCode || e.which;
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if ($( document.activeElement ).is("input:text,input:password,textarea")) { return; }
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
switch (charCode) {
case 32: /* Space */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (pear.slideShowMode) { togglePlayPause(); }
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
break;
case 39: /* Right arrow key */
case 78: /* N */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
swatchImg(pear.currentImg + 1);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
// if($('imageflow')) handle(-1);
break;
case 80: /* P */
case 37: /* Left arrow key */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
swatchImg(pear.currentImg - 1);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
// if($('imageflow')) handle(1);
break;
case 27: /* Esc-key */
hideDetailView();
break;
}
});
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
function pearInit(options) {
pear = $.extend({}, pear, options, { currentView: '', currentImg: 0, slideShowId: 0, slideShowHandler: null, hideHoverViewHandler: null });
pear.currentView = pear.defaultView;
var h, co;
co = getCookie('swatchSkin');
if (co === null || co === "") { pear.currentBg = co; }
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
/* Parse hash */
h = $.parseQuery(window.location.hash.substring(1));
if (h.img !== undefined) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentImg = parseInt(h.img, 10);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
if (h.bgcolor !== undefined) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentBg = h.bgcolor;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
if (h.viewMode !== undefined) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
if (h.viewMode === 'detail') {
pear.currentView = pear.defaultView;
focusImage(pear.currentImg, h.redirected);
}
pear.currentView = h.viewMode;
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
/* end parse hash */
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
swatchSkin(pear.currentBg);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
if (navigator.appVersion.search(/MSIE [0-7]/i) !== -1) {
$('.track').each(function (s) {$(this).css('top', '-16px'); }); //Fix for IE's poor page rendering.
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
/* 58.5 225 32.5 125 */
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#imgSlider').slider({ min: 75, max: 250, step: 2, value: 125,
slide: function (event, ui) { scaleIt(ui.value); },
change: function (event, ui) { scaleIt(ui.value); setCookie('slider', ui.value, '1'); } });
//Set event for Thumb Click.
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('.g-item').each(function (index) { $(this).click(function () { if (pear.currentView === 'mosaic') { swatchImg(index); } else { focusImage(index); } }); });
$('#mosaicDetailContainer').click(function () { focusImage(pear.currentImg); });
$('#prev').click(function () { swatchImg(pear.currentImg - 1); });
$('#next').click(function () { swatchImg(pear.currentImg + 1); });
$('#img_detail').click(function () { hideDetailView(); });
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
if (typeof slideshowImages !== 'undefined' && !slideshowImages.length) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
pear.currentView = pear.defaultView = 'grid';
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
setKeys();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
thumbLoad();
$('#gridContainer').endlessScroll({ fireOnce: true, bottomPixels: 200, callback: function(p) { loadMore(); } });
$('#gridContainer').trigger('scroll');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#mosaicDetailContainer').hover(function () {
$(this).addClass("g-photo hovering");
$(this).prepend($('.g-item:not(.g-hover-item)>ul').slice(pear.currentImg, pear.currentImg+1).clone().attr("id", "imgMenu").removeAttr("context_menu_initialized"));
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$(this).gallery_context_menu();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$.fn.gallery_hover_init();},
function () {
$(this).removeClass("g-photo hovering");
$('#imgMenu').remove();});
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
if (slideshowImages.length !== 0) {
$(".viewSwitcher").hover( function() { $(this).addClass("hover-with-viewSwitcher"); }, function() { $(this).removeClass("hover-with-viewSwitcher"); });
$("#grid").click(function () { switchToGrid(true); });
$("#mosaic").click(function () { switchToMosaic(true); });
$("#carousel").click(function () { startImageFlow(true); });
$('#slideshow').click(function () { startSlideshow(); });
} else {
$("#grid, #mosaic, #carousel, #slideshow").addClass("disabled");
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
/* Go to detailView */
if (h.detailView !== undefined) {
focusImage(pear.currentImg);
}
2011-05-24 11:28:35 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
switch (pear.currentView) {
case 'carousel':
startImageFlow();
break;
case 'mosaic':
switchToMosaic();
break;
default:
switchToGrid();
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
checkCookie();
$('#mosaicTable').css('top', 45 +$('#g-action-status').outerHeight(true));
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#loading').hide();
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
}
function sidebarInit(mode) {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#toggleSidebar').hide().off('click');
$('#sidebarContainer').show().off('hover');
$('#sidebar').css('border-left-width', '1px');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
switch (mode) {
case 'toggle':
$('#sidebarContainer').width(5);
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#sidebar').css('border-left-width', '5px');
$('#mosaicTable').css('right', '5px');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
$('#sidebarContainer').hover(function () {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#sidebar').css('border-left-width', '1px');
$('#sidebarContainer').stop(true,true).animate( { width: '221' }, 500);
//$('#sidebar').show('slide', { direction: 'right'}, 1000);
$('#mosaicTable').stop(true,true).animate( { right: '221'}, 500, function () { mosaicResize(); }); },
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
function () {
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#sidebar').css('border-left-width', '5px');
$('#sidebarContainer').stop(true,true).animate( { width: '5' }, 500);
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
//$('#sidebar').hide('slide', { direction: 'right'}, 1000);
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#mosaicTable').stop(true,true).animate( { right: '5' }, 500, function () { mosaicResize(); });
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
});
break;
case 'static':
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#sidebarContainer').width(221);
$('#mosaicTable').css('right', '221px');
mosaicResize();
break;
case 'button':
$('#toggleSidebar').show();
$('#toggleSidebar').off().click(function (){
$(this).toggleClass("ui-icon-plusthick ui-icon-minusthick");
if ( $(this).is('.ui-icon-plusthick')) {
$('#sidebarContainer').width(1);
$('#mosaicTable').css('right', '1px');
setCookie('sidebarState', 'hidden', 1);
} else {
$('#sidebarContainer').width(221);
$('#mosaicTable').css('right', '221px');
setCookie('sidebarState', 'shown', 1);
}
mosaicResize();
});
var state = getCookie('sidebarState');
if( getCookie('sidebarState') === 'hidden' && $('#toggleSidebar').is('.ui-icon-plusthick')) {
$('#toggleSidebar').trigger('click');
}
$('#toggleSidebar').trigger('click');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
break;
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
//case 'hidden':
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
default:
$('#sidebarContainer').hide();
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
$('#mosaicTable').css('right', '0');
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
break;
}
2011-05-24 11:28:35 +00:00
}
Squashed '3.0/themes/pear4gallery3/' changes from b24d37b..11c3c2a 11c3c2a version 3.0 063ad6f move of context menu to top of thumb 0188d22 closes #4, now the form-dialog is just loaded once 508366d annoying " 4047609 fixes #8, support for slideshow duration 5ed2ff0 updated options page b65bc7b fixes #7, image animation d6d5319 Removed temporary sidebarToggle 9499b7b Attempt to fix #3, support for a sidebar 13b0419 fixes #5, issues with hovering thumbnails e0fcc41 Fix for broken slideshow, fixes #6 0bdd3c6 Fix for slideShowImages when album is empty. ca62330 Fix for broken dialogs f0d9e34 Copy of gallery.dialog.js from G3.0.0 e4a18f3 Updated jqury version. 7be51a8 Added support for breadcrumbs and sidebar (enable via theme options) fad0fe4 Hash update 9d3b519 Fix for detail hash Imgage preload a2cfa32 Fix for IE Support for using 'esc' to hide detailView 41a9863 fix so only Grid mode is supported if album does not contain any images 92c70a1 themeing the exif data 22386c3 Combined viewMode.png and removed some depricated files. dc10f0a New icons. cad0376 Fix for height of thumbs. 5c21b24 updated paginator with support for hash 6a13dab Updated theme b305613 fix for pageheight, with paginator ae87410 lNavBar fix 751bd86 New ui-theme 9a937a1 first attempt for item-option-overlay d024eba Fix for setTimeout. e167b2d JSLint take 2, reoder function reorder 82e0f38 Reindent and JSLint take 1. git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 11c3c2ac87bc21b5daf5384e32d77492c5d6779a
2012-01-10 14:07:23 +00:00
Squashed '3.0/themes/pear4gallery3/' changes from 993b36a..02f212c 02f212c Version 3.4 fab3234 fire pearInit when page have loaded not on DOM-ready 62ba165 makes sure the album thumb is restored when the user is not skimmig 102ac19 fix for #22, integration of the facebook comment module (acctually replaces the normal comments module) 2180ed9 Closes #24 by limiting the number of thumbnails in skimming albums Support for custom logo in footer (max size of 40x40 px) 734b8c9 closes #1, finally came up with a solution to set view mode per album 3d13a7d varius skin fixes 167be6c fix for stupid error. 02db5af creates download dialog when pressing the download icon cb41c1f version 3.2.1 64e4e07 more IE fixes.. 15b66cd fix for IE rednering, defaultView (grid) and thumbpadding. bcc9bfd version 3.2 e6b68c4 fix for disapearing icons d436453 fix when dialog fills entire window 2d1ecb2 cookies are saved at site path 8d654a9 cookie set sidebar state 4c030ce style fix for sidebar 1c3e517 New approach for the sidebar f9493ce fixes non cetered portrait images c67a209 fix for overlay carousel d7e1b5c fix for error dialog when submitting comments 0cbc3f6 fix for strange bug in chrome that did not show .conroller in mosaic view.. bbdc1f0 fix for image advance even in textarea f5e53b1 fix for image too low when using certan kinds of effects in mosaic view fd28875 bug fixes.. 76daf45 form update.. 729d7ce theming dialogs a653761 merge of pear.css and icons/pear.css hide dl icon in mosaic view when there is no link version up to 3.1b c355b22 New dialogs for comments and photo info, closes #14 232863c minor ajax and ui fixes 089744b updated buttons c679391 updated ui-theme 523c7f8 support for option-menu even on detailImage d2f2264 broken checkin.. 8b0fb96 Rewrite of album.html.php, fixes #10 32c492b fix for the slider track ae32371 fix for centering the pear logo b9d9eb7 fix when view_full is not supported c9a4389 fixes bug with download link in hoverview ff3b3c7 fix for broken carousel and thumb click 28bd9cb fixes problem when the transition is set to 'none' 32023c4 total rewrite of pear.js, 658019f first revision of search.html (for diff purporse) a99addd Fix for mixed content pages. b882159 fixes #15, support for dynamic page view. 70391a7 stupid spelling error b8afa13 fix for endless scroll 7355f99 fix when slideShowImages is undefined a093d57 invoke scaleIt when switching mode 5e33eb1 code clean up, and wait untill the image is loaded before it's shown 1b68ae0 fix for image is stretched and then replaced in detail view a9e22b2 support to hide album count of children via option 4c341a7 fixes #13, Click on image act as "Back to Album" in detailView ddd9a1e Support for dynamic pagesize, closes #12 git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 02f212c2ccd6608e6564e1377f49dd780d4e4ba1
2012-03-13 14:31:02 +00:00
(function($){
$.gallery_replace_image = function(data, img_selector) {
$(img_selector).attr({src: data.src});
// Update geometrics in slideshowImages[INDEX].
// Reload the focused image.
$(img_selector).trigger("gallery.change");
};
})(jQuery);