From bb20546dc2e5b97d52d2b9bc129131642eeb7a62 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 12:58:31 +0100 Subject: [PATCH 1/9] Vertical theme added --- src/themes/vertical/classic-loader.gif | Bin 0 -> 1849 bytes src/themes/vertical/galleria.vertical.css | 216 ++++++++++++++++++++++ src/themes/vertical/galleria.vertical.js | 97 ++++++++++ src/themes/vertical/vertical-map.png | Bin 0 -> 796 bytes src/themes/vertical/vertical.html | 98 ++++++++++ 5 files changed, 411 insertions(+) create mode 100644 src/themes/vertical/classic-loader.gif create mode 100644 src/themes/vertical/galleria.vertical.css create mode 100644 src/themes/vertical/galleria.vertical.js create mode 100644 src/themes/vertical/vertical-map.png create mode 100644 src/themes/vertical/vertical.html diff --git a/src/themes/vertical/classic-loader.gif b/src/themes/vertical/classic-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..27df81f46d9fe7398b9daf3d0f5fc97337d93750 GIT binary patch literal 1849 zcma*odr(tX9tZHtz31lM+(&YVNJFGd2tkvOnD7cwta}qc5LgzdLd#=Gz_5lw4HSfJ z5y=A~$WvKdT&=pxQWR|gA7dXNMrNejaaU%Y-KlM7v_m^eZ42#oR-Nv;2~(K-(LeV5 zasD_n=bX=cf9E$Redi9t77Iim@-M_co;`ae5D4n)>mwo}u3o+BcDsEmBO@bs@7~SN z&*wO9adEM{y!`3Yr*m_2gM))BoBrP^^1qUlI;*ALx<}e*tKTcNR9Tv;_gVIAw!K=p z4~cvN5XyH{nkC~hc7+u%N^#HugZ42oEP(=_AKxXOEf3NyKX+TXPhO;lW@FgY6t4@HoWKwfv%vY zs5YDhz`Oa{XYNBUhg9|igKV@+hT)W*iZ{6m9RLElqqI4j$Cl`iywUvnal^@^;-pmy z8c1pKQ$A*V6p%`$$;jTxPPc0&u1-Dn-09lf*^qX$6$uenUGkcj43I~BCGv8RG?a&C zh}2Tm{O3BcW`td;*-QgjNXf8)xk>LC}>S z^Y0HdBI4A8%k~T8+*{`PT*aWCblpFFQnIvL`=gXk(keA@D*>j6(U!`pf7PZvq%ywJ zfADB0oi)(aS!!(2>rd-fa{+;r>Xj0S{kh1Rlg|&R<6Dw zL#u5x|Dw%P*%EccGpHXp8np_*0|705z`JT6z$qhL%aU0Ybtsv!=Udqqz$J;*IBvlv3!nS7QpQx7~5)LJvvS z{?MRW7fKNM8!LE_PnZdzQmJ4FjCk!}S!N&T*j`p5AT|loYm&$=`I?3Z)T}i0iUw7w z4@(uZs%gcKro>`VtT<>=`sbp_zwfl{jpU^tJ7;YYzdrdWQ`cd=rl0Y014 z-j&pv$+l>@;MO0$vWpptUqayN2-d{svj-3^1~dbPL50K%F%%JdRKriRB%;;IH47PN zSxH8DVqx^nO~w;hXOFyd?{2sHk5~R907pG(C5md-iL)D%6Q$kvV4^71GaJ^bdk}Fk z-f20n(})hQ@4KuC7tB9@W=1>!dTzMv83`c}FW|#y)`k(7P)ON}^JUF^vQGZccdk>Tm?@9W|9B z&hq!0!l!Zd#PvJDVblGmCq4?DzO`;)Ucna;b5rBbO94&tqN(i|!IC)5P;n|i2+>ZI zC$y<(z81%~!l4*BhV5U|P=T5T|EpQarn>l?{600A32Tf0W`Pr^idCz!$(4g8?rJg??6?SnrIi`9>|V<_Y$Q>-CB lXPcVF+Tga>T|!vOL#f|afc|5f*xFa*6zA6@`#++U@joVy6(Rrt literal 0 HcmV?d00001 diff --git a/src/themes/vertical/galleria.vertical.css b/src/themes/vertical/galleria.vertical.css new file mode 100644 index 00000000..c81969c4 --- /dev/null +++ b/src/themes/vertical/galleria.vertical.css @@ -0,0 +1,216 @@ +/* Galleria Classic Theme 2012-08-07 | https://raw.github.com/aino/galleria/master/LICENSE | (c) Aino */ + +#galleria-loader{height:1px!important} + +.galleria-container { + position: relative; + overflow: hidden; + background: #000; +} +.galleria-container img { + -moz-user-select: none; + -webkit-user-select: none; + -o-user-select: none; +} +.galleria-stage { + position: absolute; + top: 10px; + bottom: 10px; + left: 80px; + right: 10px; + overflow:hidden; +} +.galleria-thumbnails-container { + width: 60px; + left: 10px; + position: absolute; + top: 10px; + bottom: 10px; + z-index: 2; +} +.galleria-carousel .galleria-thumbnails-list { + margin-top: 30px; + margin-bottom: 30px; +} +.galleria-thumbnails .galleria-image { + height: 40px; + width: 60px; + background: #000; + margin: 0 0 5px 0; + border: 1px solid #000; + float: left; + cursor: pointer; +} +.galleria-counter { + position: absolute; + bottom: 10px; + right: 10px; + text-align: left; + color: #fff; + font: normal 11px/1 arial,sans-serif; + z-index: 1; +} +.galleria-loader { + background: #000; + width: 20px; + height: 20px; + position: absolute; + top: 10px; + right: 10px; + z-index: 2; + display: none; + background: url(classic-loader.gif) no-repeat 2px 2px; +} +.galleria-info { + width: 50%; + top: 15px; + left: 85px; + z-index: 2; + position: absolute; +} +.galleria-info-text { + background-color: #000; + padding: 12px; + display: none; + /* IE7 */ zoom:1; +} +.galleria-info-title { + font: bold 12px/1.1 arial,sans-serif; + margin: 0; + color: #fff; + margin-bottom: 7px; +} +.galleria-info-description { + font: italic 12px/1.4 georgia,serif; + margin: 0; + color: #bbb; +} +.galleria-info-close { + width: 9px; + height: 9px; + position: absolute; + top: 5px; + right: 5px; + background-position: -753px -11px; + opacity: .5; + filter: alpha(opacity=50); + cursor: pointer; + display: none; +} +.notouch .galleria-info-close:hover{ + opacity:1; + filter: alpha(opacity=100); +} +.touch .galleria-info-close:active{ + opacity:1; + filter: alpha(opacity=100); +} +.galleria-info-link { + background-position: -669px -5px; + opacity: .7; + filter: alpha(opacity=70); + position: absolute; + width: 20px; + height: 20px; + cursor: pointer; + background-color: #000; +} +.notouch .galleria-info-link:hover { + opacity: 1; + filter: alpha(opacity=100); +} +.touch .galleria-info-link:active { + opacity: 1; + filter: alpha(opacity=100); +} +.galleria-image-nav { + position: absolute; + top: 50%; + margin-top: -62px; + width: 100%; + height: 62px; + left: 0; +} +.galleria-image-nav-left, +.galleria-image-nav-right { + opacity: .3; + filter: alpha(opacity=30); + cursor: pointer; + width: 62px; + height: 124px; + position: absolute; + left: 10px; + z-index: 2; + background-position: 0 46px; +} +.galleria-image-nav-right { + left: auto; + right: 10px; + background-position: -254px 46px; + z-index: 2; +} +.notouch .galleria-image-nav-left:hover, +.notouch .galleria-image-nav-right:hover { + opacity: 1; + filter: alpha(opacity=100); +} +.touch .galleria-image-nav-left:active, +.touch .galleria-image-nav-right:active { + opacity: 1; + filter: alpha(opacity=100); +} +.galleria-thumb-nav-left, +.galleria-thumb-nav-right { + cursor: pointer; + display: none; + background-position: -480px 0; + position: absolute; + top: 0; + height: 23px; + width: 60px; + z-index: 3; + opacity: .8; + filter: alpha(opacity=80); +} +.galleria-thumb-nav-right { + background-position: -559px -7px; + border-right: none; + bottom: 0; + top: auto; +} +.galleria-thumbnails-container .disabled { + opacity: .2; + filter: alpha(opacity=20); + cursor: default; +} +.notouch .galleria-thumb-nav-left:hover, +.notouch .galleria-thumb-nav-right:hover { + opacity: 1; + filter: alpha(opacity=100); + background-color: #111; +} +.touch .galleria-thumb-nav-left:active, +.touch .galleria-thumb-nav-right:active { + opacity: 1; + filter: alpha(opacity=100); + background-color: #111; +} +.notouch .galleria-thumbnails-container .disabled:hover { + opacity: .2; + filter: alpha(opacity=20); + background-color: transparent; +} + +.galleria-carousel .galleria-thumb-nav-left, +.galleria-carousel .galleria-thumb-nav-right { + display: block; +} +.galleria-thumb-nav-left, +.galleria-thumb-nav-right, +.galleria-info-link, +.galleria-info-close, +.galleria-image-nav-left, +.galleria-image-nav-right { + background-image: url(vertical-map.png); + background-repeat: no-repeat; +} diff --git a/src/themes/vertical/galleria.vertical.js b/src/themes/vertical/galleria.vertical.js new file mode 100644 index 00000000..8828a8db --- /dev/null +++ b/src/themes/vertical/galleria.vertical.js @@ -0,0 +1,97 @@ +/** + * Galleria Vertical Theme 2013-02-24 + * based on Classic + * http://galleria.io + * + * Licensed under the MIT license + * https://raw.github.com/aino/galleria/master/LICENSE + * + */ + +(function($) { + +/*global jQuery, Galleria */ + +Galleria.addTheme({ + name: 'vertical', + author: 'Galleria', + css: 'galleria.vertical.css', + defaults: { + transition: 'slide', + thumbCrop: 'width', + vertical: true, + + // set this to false if you want to show the caption all the time: + _toggleInfo: true + }, + init: function(options) { + + Galleria.requires(1.28, 'This version of Classic theme requires Galleria 1.2.8 or later'); + + // add some elements + this.addElement('info-link','info-close'); + this.append({ + 'info' : ['info-link','info-close'] + }); + + // cache some stuff + var info = this.$('info-link,info-close,info-text'), + touch = Galleria.TOUCH, + click = touch ? 'touchstart' : 'click'; + + // show loader & counter with opacity + this.$('loader,counter').show().css('opacity', 0.4); + + // some stuff for non-touch browsers + if (! touch ) { + this.addIdleState( this.get('image-nav-left'), { left:-50 }); + this.addIdleState( this.get('image-nav-right'), { right:-50 }); + this.addIdleState( this.get('counter'), { opacity:0 }); + } + + // toggle info + if ( options._toggleInfo === true ) { + info.bind( click, function() { + info.toggle(); + }); + } else { + info.show(); + this.$('info-link, info-close').hide(); + } + + // bind some stuff + this.bind('thumbnail', function(e) { + + if (! touch ) { + // fade thumbnails + $(e.thumbTarget).css('opacity', 0.6).parent().hover(function() { + $(this).not('.active').children().stop().fadeTo(100, 1); + }, function() { + $(this).not('.active').children().stop().fadeTo(400, 0.6); + }); + + if ( e.index === this.getIndex() ) { + $(e.thumbTarget).css('opacity',1); + } + } else { + $(e.thumbTarget).css('opacity', this.getIndex() ? 1 : 0.6); + } + }); + + this.bind('loadstart', function(e) { + if (!e.cached) { + this.$('loader').show().fadeTo(200, 0.4); + } + + this.$('info').toggle( this.hasInfo() ); + + $(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity', 0.6); + }); + + this.bind('loadfinish', function(e) { + this.$('loader').fadeOut(200); + }); + } +}); + +}(jQuery)); diff --git a/src/themes/vertical/vertical-map.png b/src/themes/vertical/vertical-map.png new file mode 100644 index 0000000000000000000000000000000000000000..118416c2b52f7fd1f5e1cea642a2965ffcbf078e GIT binary patch literal 796 zcmeAS@N?(olHy`uVBq!ia0y~yVEzGQ%X6>+$>5?i10cm%9OUlAui(P=vF|ieuWMHsZ zA$z64kBNby-J~IpiJ`$&_QGnuj0d8FfTZtsk_xFb<2TB~fUoMv^x{lNUbcYo*21a<)-hZ_(y*=r_TIz zJFDmSZ>pn*P z+iPCbxJzc+WE+W}2N;h3b)J;l$q?I9)A?o6*L@~Y{l9SkBzOe*TlqA^&EEhyD|dn>6R@{GIcE{hRrI5>sm86Xs*K47KIo(~=*=tK6J& zYV*umpHHd3xWAq{vES!Ym{-F@eu?i4I*SgQPwG)+OnAavb$SOo1B0@>!8>3Co?u6% zda57GF);Mh0Am)U21GSD_WY6UWU&2qzON7z|NVcQJsG%P%y$N<1cC;~U(5yjS=ldI R9zO`;d%F6$taD0e0sz;!Q + + + + Galleria Vertical Theme + + + + + + + + + + +
+

Galleria Vertical Theme

+

Demonstrating a basic gallery example.

+ + + + + +

Made by Galleria.

+
+ + + + From 83cb40157aed4ed84aa2aff217a6820ec9623c29 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 20:18:25 +0100 Subject: [PATCH 2/9] changed option vertical:true to carousel:'vertical' --- src/themes/vertical/galleria.vertical.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/themes/vertical/galleria.vertical.js b/src/themes/vertical/galleria.vertical.js index 8828a8db..06b5b7c3 100644 --- a/src/themes/vertical/galleria.vertical.js +++ b/src/themes/vertical/galleria.vertical.js @@ -19,14 +19,14 @@ Galleria.addTheme({ defaults: { transition: 'slide', thumbCrop: 'width', - vertical: true, + carousel: 'vertical', // set this to false if you want to show the caption all the time: _toggleInfo: true }, init: function(options) { - Galleria.requires(1.28, 'This version of Classic theme requires Galleria 1.2.8 or later'); + Galleria.requires(1.3, 'This version of Classic theme requires Galleria 1.3 or later'); // add some elements this.addElement('info-link','info-close'); From 800f2aad5ee3ad8a7ac22222a6a536cb67b74c67 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 20:22:44 +0100 Subject: [PATCH 3/9] Vertical carousel added --- src/galleria.js | 57 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 19 deletions(-) diff --git a/src/galleria.js b/src/galleria.js index 6d2e3a84..93e335ee 100644 --- a/src/galleria.js +++ b/src/galleria.js @@ -1152,8 +1152,8 @@ Galleria = window.Galleria = function() { next: self.$('thumb-nav-right'), prev: self.$('thumb-nav-left'), - // cache the width - width: 0, + // cache the size (width or height, depends on vertical option) + size: 0, // track the current position current: 0, @@ -1169,30 +1169,33 @@ Galleria = window.Galleria = function() { update: function() { var w = 0, h = 0, + wh = 0, hooks = [0]; + vertical = ( self._options.carousel === "vertical" ); $.each( self._thumbnails, function( i, thumb ) { if ( thumb.ready ) { - w += thumb.outerWidth || $( thumb.container ).outerWidth( true ); - hooks[ i+1 ] = w; + wh += vertical ? ( thumb.outerHeight || $( thumb.container ).outerHeight( true ) ) : ( thumb.outerWidth || $( thumb.container ).outerWidth( true ) ); + hooks[ i+1 ] = wh; h = Math.max( h, thumb.outerHeight || $( thumb.container).outerHeight( true ) ); + w = Math.max( w, thumb.outerWidth || $( thumb.container).outerWidth( true ) ); } }); self.$( 'thumbnails' ).css({ - width: w, - height: h + width: vertical ? w : wh, + height: vertical ? wh : h }); - carousel.max = w; + carousel.max = wh; carousel.hooks = hooks; - carousel.width = self.$( 'thumbnails-list' ).width(); + carousel.size = vertical ? self.$( 'thumbnails-list' ).height() : self.$( 'thumbnails-list' ).width(); carousel.setClasses(); - self.$( 'thumbnails-container' ).toggleClass( 'galleria-carousel', w > carousel.width ); + self.$( 'thumbnails-container' ).toggleClass( 'galleria-carousel', wh > carousel.size ); // one extra calculation - carousel.width = self.$( 'thumbnails-list' ).width(); + carousel.size = vertical ? self.$( 'thumbnails-list' ).height() : self.$( 'thumbnails-list' ).width(); // todo: fix so the carousel moves to the left }, @@ -1207,7 +1210,7 @@ Galleria = window.Galleria = function() { if ( self._options.carouselSteps === 'auto' ) { for ( i = carousel.current; i < carousel.hooks.length; i++ ) { - if ( carousel.hooks[i] - carousel.hooks[ carousel.current ] > carousel.width ) { + if ( carousel.hooks[i] - carousel.hooks[ carousel.current ] > carousel.size ) { carousel.set(i - 2); break; } @@ -1224,7 +1227,7 @@ Galleria = window.Galleria = function() { if ( self._options.carouselSteps === 'auto' ) { for ( i = carousel.current; i >= 0; i-- ) { - if ( carousel.hooks[ carousel.current ] - carousel.hooks[i] > carousel.width ) { + if ( carousel.hooks[ carousel.current ] - carousel.hooks[i] > carousel.size ) { carousel.set( i + 2 ); break; } else if ( i === 0 ) { @@ -1241,7 +1244,7 @@ Galleria = window.Galleria = function() { // calculate and set positions set: function( i ) { i = Math.max( i, 0 ); - while ( carousel.hooks[i - 1] + carousel.width >= carousel.max && i >= 0 ) { + while ( carousel.hooks[i - 1] + carousel.size >= carousel.max && i >= 0 ) { i--; } carousel.current = i; @@ -1265,7 +1268,7 @@ Galleria = window.Galleria = function() { // calculate last position var last = carousel.current; while( carousel.hooks[last] - carousel.hooks[ carousel.current ] < - carousel.width && last <= carousel.hooks.length ) { + carousel.size && last <= carousel.hooks.length ) { last ++; } @@ -1280,7 +1283,7 @@ Galleria = window.Galleria = function() { // helper for setting disabled classes setClasses: function() { carousel.prev.toggleClass( 'disabled', !carousel.current ); - carousel.next.toggleClass( 'disabled', carousel.hooks[ carousel.current ] + carousel.width >= carousel.max ); + carousel.next.toggleClass( 'disabled', carousel.hooks[ carousel.current ] + carousel.size >= carousel.max ); }, // the animation method @@ -1292,9 +1295,12 @@ Galleria = window.Galleria = function() { return; } - Utils.animate(self.get( 'thumbnails' ), { - left: num - },{ + Utils.animate(self.get( 'thumbnails' ), (self._options.carousel === "vertical" ) ? { + top: num + } : + { + left: num + },{ duration: self._options.carouselSpeed, easing: self._options.easing, queue: false @@ -2660,7 +2666,12 @@ Galleria.prototype = { // add a notouch class on the container to prevent unwanted :hovers on touch devices this.$( 'container' ).addClass( Galleria.TOUCH ? 'touch' : 'notouch' ); - + + // add a vertical class on the container if option carousel: "vertical" + if ( options.carousel ) { + this.$( 'container' ).addClass( (options.carousel === "vertical") ? 'vertical' : 'horizontal' ); + } + // add images to the controls if ( !this._options.swipe ) { $.each( new Array(2), function( i ) { @@ -2765,6 +2776,14 @@ Galleria.prototype = { overflow: 'hidden', position: 'relative' }); + + if (options.carousel === "vertical") { + this.$( 'thumbnails-list' ).css({ + position: 'absolute', + top: 0, + bottom: 0 + }); + } // bind image navigation arrows this.$( 'image-nav-right, image-nav-left' ).bind( 'click', function(e) { From 7d5cf50bd71fd777b8ab917db89b0ef33522ae76 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 20:29:50 +0100 Subject: [PATCH 4/9] minor formating clean up --- src/galleria.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/galleria.js b/src/galleria.js index 93e335ee..77bd8d09 100644 --- a/src/galleria.js +++ b/src/galleria.js @@ -1296,11 +1296,11 @@ Galleria = window.Galleria = function() { } Utils.animate(self.get( 'thumbnails' ), (self._options.carousel === "vertical" ) ? { - top: num - } : - { - left: num - },{ + top: num + } : + { + left: num + },{ duration: self._options.carouselSpeed, easing: self._options.easing, queue: false From 7c98e7fd501540ebf0140ba67bc5b1c76189daf0 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 21:01:08 +0100 Subject: [PATCH 5/9] updated docs - vertical carousel --- docs/options/carousel.rst | 11 ++++++----- docs/themes/classic.rst | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/options/carousel.rst b/docs/options/carousel.rst index bd5b5537..a55b8172 100644 --- a/docs/options/carousel.rst +++ b/docs/options/carousel.rst @@ -2,11 +2,12 @@ carousel ======== - | type: **Boolean** + | type: **Boolean** or **String** | default: **true** -Galleria comes with a built-in horizontal carousel. This options is for activating / deactivating the carousel feature. -Setting this to ``true``, the carousel will be automatically applied if the total som of thumbnails width exceeds the thumbnail container. -This will be re-calculaed on resize. +Galleria comes with a default horizontal carousel. This options is for switching to vertical, or deactivating the carousel feature. +Setting this to ``true``, the horizontal carousel will be automatically applied if the total som of thumbnails width exceeds the thumbnail container. +Setting to ``'vertical'`` adds similar functionality, but will create vertical carousel. +This will be re-calculated on resize. -If you set this to ``false``, you will prevent Galleria from adding the carousel. \ No newline at end of file +If you set this to ``false``, you will prevent Galleria from adding the carousel. diff --git a/docs/themes/classic.rst b/docs/themes/classic.rst index edde2a15..1024a917 100644 --- a/docs/themes/classic.rst +++ b/docs/themes/classic.rst @@ -1,7 +1,7 @@ .. highlight:: javascript ******* -Classic +Vertical ******* The free open sourced theme that comes bundled with the Galleria core. @@ -24,4 +24,4 @@ Theme-specific options { // Set this to false if you want the caption to show always _toggleInfo: true - } \ No newline at end of file + } From 4c06e57ce2ad316e3ea978b96428348147191459 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 21:11:11 +0100 Subject: [PATCH 6/9] Update docs/themes/classic.rst --- docs/themes/classic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/themes/classic.rst b/docs/themes/classic.rst index 1024a917..e8858ea9 100644 --- a/docs/themes/classic.rst +++ b/docs/themes/classic.rst @@ -1,7 +1,7 @@ .. highlight:: javascript ******* -Vertical +Classic ******* The free open sourced theme that comes bundled with the Galleria core. From d67419c87ec8eb540ac708c96dc83fcb388b8f54 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 21:14:32 +0100 Subject: [PATCH 7/9] vertical theme docs --- docs/themes/vertical.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/themes/vertical.rst diff --git a/docs/themes/vertical.rst b/docs/themes/vertical.rst new file mode 100644 index 00000000..a79dc4bc --- /dev/null +++ b/docs/themes/vertical.rst @@ -0,0 +1,27 @@ +.. highlight:: javascript + +******* +Vertical +******* + +Classic theme with vertical carousel. + +Defaults +-------- + +:: + + { + transition: "slide", + thumbCrop: "width" + } + +Theme-specific options +---------------------- + +:: + + { + // Set this to false if you want the caption to show always + _toggleInfo: true + } From f5b911e6c717a4c41d53c78ef9b4821b9b112ad6 Mon Sep 17 00:00:00 2001 From: sammik Date: Sun, 24 Feb 2013 21:31:05 +0100 Subject: [PATCH 8/9] 1.3 --- src/themes/vertical/vertical.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes/vertical/vertical.html b/src/themes/vertical/vertical.html index 9eebd825..a50285bd 100644 --- a/src/themes/vertical/vertical.html +++ b/src/themes/vertical/vertical.html @@ -23,7 +23,7 @@ - + From 6c56010d1d4697fb4c05b300656dabba6b1d0d43 Mon Sep 17 00:00:00 2001 From: sammik Date: Tue, 26 Feb 2013 12:30:23 +0100 Subject: [PATCH 9/9] typo --- docs/themes/using_themes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/themes/using_themes.rst b/docs/themes/using_themes.rst index 2b029deb..2b2510b9 100644 --- a/docs/themes/using_themes.rst +++ b/docs/themes/using_themes.rst @@ -74,7 +74,7 @@ then load the new theme and run Galleria again:: Galleria.unloadTheme(); // load a new theme - Galleria.loadTheme('thems/fullscreen/galleria.fullscreen.min.js'); + Galleria.loadTheme('themes/fullscreen/galleria.fullscreen.min.js'); // run Galleria again with the new theme Galleria.run('#galleria');