Changeset 367769
- Timestamp:
- 04/01/2011 03:09:11 AM (15 years ago)
- Location:
- galleria-galleria/trunk
- Files:
-
- 8 edited
-
galleria-galleria.php (modified) (2 diffs)
-
galleria-themes/classic/classic-loader.gif (modified) (1 prop) (previous)
-
galleria-themes/classic/classic-map.png (modified) (1 prop) (previous)
-
galleria-themes/classic/galleria.classic.css (modified) (2 diffs, 1 prop)
-
galleria-themes/classic/galleria.classic.js (modified) (9 diffs, 1 prop)
-
galleria-themes/classic/galleria.classic.min.js (modified) (2 diffs, 1 prop)
-
readme.txt (modified) (3 diffs)
-
screenshot-1.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
galleria-galleria/trunk/galleria-galleria.php
r367767 r367769 126 126 'label' => __( 'Dots' ) 127 127 ), 128 <<<<<<< HEAD129 =======130 128 /* 131 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d132 129 'fullscreen' => array( 133 130 'value' => 'fullscreen', 134 131 'label' => __( 'Fullscreen' ) 135 132 ) 136 <<<<<<< HEAD137 =======138 133 */ 139 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d140 134 ); 141 135 … … 369 363 return; 370 364 371 <<<<<<< HEAD372 wp_enqueue_script('photo-galleria', plugins_url( '/js/galleria-1.2.2.min.js', __FILE__ ), array('jquery'));373 wp_print_scripts('photo-galleria');374 =======375 365 wp_enqueue_script('galleria', plugins_url( '/js/galleria-1.2.2.min.js', __FILE__ ), array('jquery')); 376 366 wp_print_scripts('galleria'); 377 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d378 367 galleria_galleria_scripts_head(); 379 368 } -
galleria-galleria/trunk/galleria-themes/classic/classic-loader.gif
- Property svn:executable deleted
-
galleria-galleria/trunk/galleria-themes/classic/classic-map.png
- Property svn:executable deleted
-
galleria-galleria/trunk/galleria-themes/classic/galleria.classic.css
- Property svn:executable deleted
r367767 r367769 81 81 margin: 0; 82 82 color: #fff; 83 <<<<<<< HEAD84 =======85 83 margin-bottom: 7px; 86 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d87 84 } 88 85 .galleria-info-description { … … 91 88 color: #bbb; 92 89 } 93 <<<<<<< HEAD94 .galleria-info-title+.galleria-info-description {95 margin-top: 7px;96 }97 =======98 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d99 90 .galleria-info-close { 100 91 width: 9px; -
galleria-galleria/trunk/galleria-themes/classic/galleria.classic.js
- Property svn:executable deleted
r367767 r367769 1 <<<<<<< HEAD2 /*3 * Galleria Classic Theme v. 1.5 2010-10-284 * http://galleria.aino.se5 *6 * Copyright (c) 2010, Aino7 * Licensed under the MIT license.8 */9 =======10 1 /** 11 2 * @preserve Galleria Classic Theme 2011-02-14 … … 17 8 18 9 /*global jQuery, Galleria */ 19 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d20 10 21 11 (function($) { … … 24 14 name: 'classic', 25 15 author: 'Galleria', 26 <<<<<<< HEAD27 version: '1.5',28 css: 'galleria.classic.css',29 defaults: {30 transition: 'slide',31 thumb_crop: 'height',32 33 // set this to false if you want to show the caption all the time:34 _toggle_info: true35 =======36 16 css: 'galleria.classic.css', 37 17 defaults: { … … 41 21 // set this to false if you want to show the caption all the time: 42 22 _toggleInfo: true 43 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d44 23 }, 45 24 init: function(options) { … … 52 31 53 32 // cache some stuff 54 <<<<<<< HEAD55 var toggle = this.$('image-nav-left,image-nav-right,counter'),56 info = this.$('info-link,info-close,info-text'),57 click = Galleria.TOUCH ? 'touchstart' : 'click';58 59 // show loader & counter with opacity60 this.$('loader,counter').show().css('opacity',.4)61 62 // some stuff for non-touch browsers63 if (! Galleria.TOUCH ) {64 65 // fade thumbnails66 this.$('thumbnails').children().hover(function() {67 $(this).not('.active').children().stop().fadeTo(100, 1);68 }, function() {69 $(this).not('.active').children().stop().fadeTo(400, .6);70 });71 72 =======73 33 var info = this.$('info-link,info-close,info-text'), 74 34 touch = Galleria.TOUCH, … … 80 40 // some stuff for non-touch browsers 81 41 if (! touch ) { 82 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d83 42 this.addIdleState( this.get('image-nav-left'), { left:-50 }); 84 43 this.addIdleState( this.get('image-nav-right'), { right:-50 }); … … 87 46 88 47 // toggle info 89 <<<<<<< HEAD90 if ( options._toggle_info ) {91 info.bind( click, function() {92 info.toggle();93 });94 }95 96 // bind some stuff97 this.bind(Galleria.THUMBNAIL, function(e) {98 $(e.thumbTarget).parent(':not(.active)').children().css('opacity',.6)99 });100 101 this.bind(Galleria.LOADSTART, function(e) {102 if (!e.cached) {103 this.$('loader').show().fadeTo(200, .4);104 =======105 48 if ( options._toggleInfo === true ) { 106 49 info.bind( click, function() { … … 132 75 if (!e.cached) { 133 76 this.$('loader').show().fadeTo(200, 0.4); 134 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d135 77 } 136 78 137 79 this.$('info').toggle( this.hasInfo() ); 138 80 139 <<<<<<< HEAD140 $(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity',.6);141 });142 143 this.bind(Galleria.LOADFINISH, function(e) {144 =======145 81 $(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity', 0.6); 146 82 }); 147 83 148 84 this.bind('loadfinish', function(e) { 149 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d150 85 this.$('loader').fadeOut(200); 151 86 }); … … 153 88 }); 154 89 155 <<<<<<< HEAD156 })(jQuery);157 =======158 90 }(jQuery)); 159 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d -
galleria-galleria/trunk/galleria-themes/classic/galleria.classic.min.js
-
Property
svn:executable
set to
*
r367767 r367769 1 1 /* 2 <<<<<<< HEAD3 * Galleria Classic Theme v. 1.5 2010-10-284 * http://galleria.aino.se5 *6 * Copyright (c) 2010, Aino7 * Licensed under the MIT license.8 */9 10 (function(a){Galleria.addTheme({name:"classic",author:"Galleria",version:"1.5",css:"galleria.classic.css",defaults:{transition:"slide",thumb_crop:"height",_toggle_info:true},init:function(d){this.addElement("info-link","info-close");this.append({info:["info-link","info-close"]});this.$("image-nav-left,image-nav-right,counter");var c=this.$("info-link,info-close,info-text"),e=Galleria.TOUCH?"touchstart":"click";this.$("loader,counter").show().css("opacity",0.4);if(!Galleria.TOUCH){this.$("thumbnails").children().hover(function(){a(this).not(".active").children().stop().fadeTo(100,11 1)},function(){a(this).not(".active").children().stop().fadeTo(400,0.6)});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})}d._toggle_info&&c.bind(e,function(){c.toggle()});this.bind(Galleria.THUMBNAIL,function(b){a(b.thumbTarget).parent(":not(.active)").children().css("opacity",0.6)});this.bind(Galleria.LOADSTART,function(b){b.cached||this.$("loader").show().fadeTo(200,0.4);this.$("info").toggle(this.hasInfo());12 a(b.thumbTarget).css("opacity",1).parent().siblings().children().css("opacity",0.6)});this.bind(Galleria.LOADFINISH,function(){this.$("loader").fadeOut(200)})}})})(jQuery);13 =======14 2 Galleria Classic Theme 2011-02-14 15 3 http://galleria.aino.se … … 21 9 {right:-50});this.addIdleState(this.get("counter"),{opacity:0})}if(e._toggleInfo===true)c.bind(f,function(){c.toggle()});else{c.show();this.$("info-link, info-close").hide()}this.bind("thumbnail",function(a){if(!d){b(a.thumbTarget).css("opacity",0.6).parent().hover(function(){b(this).not(".active").children().stop().fadeTo(100,1)},function(){b(this).not(".active").children().stop().fadeTo(400,0.6)});a.index===e.show&&b(a.thumbTarget).css("opacity",1)}});this.bind("loadstart",function(a){a.cached|| 22 10 this.$("loader").show().fadeTo(200,0.4);this.$("info").toggle(this.hasInfo());b(a.thumbTarget).css("opacity",1).parent().siblings().children().css("opacity",0.6)});this.bind("loadfinish",function(){this.$("loader").fadeOut(200)})}})})(jQuery); 23 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d -
Property
svn:executable
set to
-
galleria-galleria/trunk/readme.txt
r367767 r367769 5 5 Requires at least: 3.0 6 6 Tested up to: 3.1 7 <<<<<<< HEAD8 Stable tag: 0.1a9 =======10 7 Stable tag: 0.1 11 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d12 8 13 9 Transform standard WordPress galleries into galleria slideshows. … … 15 11 == Description == 16 12 17 <<<<<<< HEAD18 Galleria Galleria is a fork of [Photo Galleria](http://wordpress.org/extend/plugins/photo-galleria/) that is designed to minimize resources and selectively load javascript. I love how the Photo Galleria plugin was integrated into the Wordpress gallery system but I could not stand seeing so many resources load on every page when only one might contain a gallery. Galleria Galleria will only load javascript on pages that actually have a gallery. Beyond that, we will see what other improvements I can make to this plugin. I'm open for suggestions!19 20 21 == Installation ==22 23 1. Upload the entire `photo-galleria` folder to the `/wp-content/plugins/` directory24 1. Activate the plugin through the 'Plugins' menu in WordPress25 1. All existing galleries inserted using the [gallery] shortcode will now use Galleria Galleria.26 27 == Screenshots ==28 29 == Frequently Asked Questions ==30 31 =======32 13 Galleria Galleria is a fork of [Photo Galleria](http://wordpress.org/extend/plugins/photo-galleria/) that is designed to minimize resources and selectively load javascript. This plugin will only load javascript on pages that actually have a gallery. Galleria Galleria also keeps standard gallery styling if javascript is not enabled. Beyond that, this plugin is built using the [Galleria javascript library](http://galleria.aino.se/) that allows for advanced theming and customization. 33 14 … … 50 31 This plugin uses the standard [gallery] shortcode to create slideshows. It also adds support for a per gallery height attribute in the format [gallery height=500] to create a gallery with a height of 500px. 51 32 52 >>>>>>> 35c5c655cc18e3740580345c3e138092eb06e20d53 33 == Changelog == 54 34
Note: See TracChangeset
for help on using the changeset viewer.