Changeset 977688
- Timestamp:
- 09/03/2014 08:53:43 AM (12 years ago)
- Location:
- el-gallery
- Files:
-
- 22 added
- 11 edited
-
tags/1.2.3 (added)
-
tags/1.2.3/css (added)
-
tags/1.2.3/css/el-gallery.css (added)
-
tags/1.2.3/css/el-gallery_admin.css (added)
-
tags/1.2.3/css/font-awesome.min.css (added)
-
tags/1.2.3/el-gallery-admin.php (added)
-
tags/1.2.3/el-gallery.php (added)
-
tags/1.2.3/fonts (added)
-
tags/1.2.3/fonts/FontAwesome.otf (added)
-
tags/1.2.3/fonts/fontawesome-webfont.eot (added)
-
tags/1.2.3/fonts/fontawesome-webfont.svg (added)
-
tags/1.2.3/fonts/fontawesome-webfont.ttf (added)
-
tags/1.2.3/fonts/fontawesome-webfont.woff (added)
-
tags/1.2.3/js (added)
-
tags/1.2.3/js/el-gallery.js (added)
-
tags/1.2.3/js/el-gallery_admin.js (added)
-
tags/1.2.3/languages (added)
-
tags/1.2.3/languages/el-gallery-fr_FR.mo (added)
-
tags/1.2.3/languages/el-gallery-fr_FR.pot (added)
-
tags/1.2.3/languages/el-gallery.mo (added)
-
tags/1.2.3/languages/el-gallery.pot (added)
-
tags/1.2.3/readme.txt (added)
-
trunk/css/el-gallery.css (modified) (2 diffs)
-
trunk/css/el-gallery_admin.css (modified) (1 diff)
-
trunk/el-gallery-admin.php (modified) (1 diff)
-
trunk/el-gallery.php (modified) (2 diffs)
-
trunk/js/el-gallery.js (modified) (6 diffs)
-
trunk/js/el-gallery_admin.js (modified) (1 diff)
-
trunk/languages/el-gallery-fr_FR.mo (modified) (previous)
-
trunk/languages/el-gallery-fr_FR.pot (modified) (3 diffs)
-
trunk/languages/el-gallery.mo (modified) (previous)
-
trunk/languages/el-gallery.pot (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
el-gallery/trunk/css/el-gallery.css
r975862 r977688 3 3 Plugin URI: http://ericlowry.fr/ 4 4 Description: An extremely simplistic gallery replacement plugin. 5 Version: 1.2. 25 Version: 1.2.3 6 6 Author: Eric Lowry 7 7 Author URI: http://ericlowry.fr/ … … 84 84 left: 50%; 85 85 font-size: 117px; 86 margin: -95px 0 0 -50px; 86 margin: -85px 0 0 -50px; 87 } 88 figure.el_gallery .el_gallery-slideshow_wrapper a.el_pause { 89 display: none; 90 position: absolute; 91 top: 50%; 92 left: 50%; 93 margin: -25px 0 0 -25px; 94 height: 50px; 95 width: 50px; 96 cursor: pointer; 97 opacity: .2; 98 filter: alpha(opacity=20); 99 color: rgba(0,0,0,.8); 100 font-size: 30px; 101 text-indent: 0; 102 text-align: center; 103 line-height: 50px; 104 text-shadow: 0px 0px 4px rgba(255,255,255,.5), 0px 0px 20px #FFF; 105 z-index: 7; 106 overflow: visible; 107 } 108 figure.el_gallery .el_gallery-slideshow_wrapper:hover a.el_pause { 109 display: block; 110 opacity: .6; 111 filter: alpha(opacity=60); 112 } 113 figure.el_gallery .el_gallery-slideshow_wrapper a.el_pause:hover, figure.el_gallery .el_gallery-slideshow_wrapper a.el_pause:focus { 114 opacity: 1; 115 filter: alpha(opacity=100); 116 } 117 figure.el_gallery .el_gallery-slideshow_wrapper a.el_pause:active { 118 transition: .2s; 119 opacity: .8; 120 filter: alpha(opacity=80); 87 121 } 88 122 figure.el_gallery .el_gallery-slideshow_wrapper img { -
el-gallery/trunk/css/el-gallery_admin.css
r975862 r977688 3 3 Plugin URI: http://ericlowry.fr/ 4 4 Description: An extremely simplistic gallery replacement plugin. 5 Version: 1.2. 25 Version: 1.2.3 6 6 Author: Eric Lowry 7 7 Author URI: http://ericlowry.fr/ -
el-gallery/trunk/el-gallery-admin.php
r975862 r977688 3 3 Plugin: EL-Gallery 4 4 Description: An extremely simplistic gallery replacement plugin. 5 Version: 1.2. 25 Version: 1.2.3 6 6 Author: Eric Lowry 7 7 Author URI: http://ericlowry.fr/ -
el-gallery/trunk/el-gallery.php
r975862 r977688 4 4 Plugin URI: http://wordpress.org/plugins/el-gallery/ 5 5 Description: An extremely simplistic gallery replacement plugin. 6 Version: 1.2. 26 Version: 1.2.3 7 7 Author: Eric Lowry 8 8 Author URI: http://ericlowry.fr/ … … 131 131 $loading_icon == "cog"; 132 132 } 133 $print_gallery .= '<div class="el_nav"><a href="#" class="el_nav-left"><span><i class="fa fa-caret-left"><div><</div></i></span></a><div class="el_loading"><i class="fa fa-'.$loading_icon.' fa-spin"><div>'.__('Loading...','el-gallery').'</div></i></div><a href="#" class="el_ nav-right"><span><i class="fa fa-caret-right"><div>></div></i></span></a></div>';133 $print_gallery .= '<div class="el_nav"><a href="#" class="el_nav-left"><span><i class="fa fa-caret-left"><div><</div></i></span></a><div class="el_loading"><i class="fa fa-'.$loading_icon.' fa-spin"><div>'.__('Loading...','el-gallery').'</div></i></div><a href="#" class="el_pause"><i class="fa fa-pause fa-fw"><div>'.__('Pause','el-gallery').'</div></i></a><a href="#" class="el_nav-right"><span><i class="fa fa-caret-right"><div>></div></i></span></a></div>'; 134 134 135 135 foreach ( $images as $image ) { -
el-gallery/trunk/js/el-gallery.js
r975862 r977688 2 2 Plugin Name: EL-Gallery 3 3 Description: An extremely simplistic gallery replacement plugin. 4 Version: 1.2. 24 Version: 1.2.3 5 5 Author: Eric Lowry 6 6 Author URI: http://ericlowry.fr/ … … 85 85 setTimeout(function(){ 86 86 $('.el_gallery-slideshow_wrapper .el_loading',curr_gallery).css('display','none'); 87 $('.el_pause',curr_gallery).attr('style',''); 87 88 $('.el_gallery-thumbnails_wrapper img',curr_gallery).css('height', 'auto'); 88 89 startloop(cntmax,cnt,false,duration,max_height,curr_gallery); … … 136 137 var left_gradient = 'linear-gradient(to left, ' + convertHex(nav_color,0) + ', #' + nav_color.replace('#','') + ')'; 137 138 var right_gradient = 'linear-gradient(to right, ' + convertHex(nav_color,0).replace('#','') + ', #' + nav_color.replace('#','') + ')'; 138 $('.el_nav-left',curr_gallery).css( 'background', left_gradient);139 $('.el_nav-right',curr_gallery).css( 'background', right_gradient);139 $('.el_nav-left',curr_gallery).css( 'background', left_gradient); 140 $('.el_nav-right',curr_gallery).css( 'background', right_gradient); 140 141 } 141 142 if (nav_light) { 142 143 if (nav_light == 'true') { 143 $('.el_nav-left span',curr_gallery).css('border-right', '40px solid #fff' );144 $('.el_nav-right span',curr_gallery).css('border-left', '40px solid #fff' );144 $('.el_nav-left span',curr_gallery).css('border-right', '40px solid #fff'); 145 $('.el_nav-right span',curr_gallery).css('border-left', '40px solid #fff'); 145 146 } 146 147 } … … 157 158 startloop(cntmax,cnt,false,duration,max_height,curr_gallery) 158 159 } 160 event.preventDefault(); 159 161 return false; 160 162 }); … … 171 173 startloop(cntmax,cnt,false,duration,max_height,curr_gallery) 172 174 } 175 event.preventDefault(); 173 176 return false; 174 177 }); 178 179 // We set up the Pause button 180 var paused = false; 181 if (nav_light) { 182 if (nav_light == 'true') { 183 $('.el_pause',curr_gallery).css({'color':'rgba(255,255,255,.8)', 'text-shadow':'0 0 4px rgba(0,0,0,.5), 0 0 20px #000'}); 184 } 185 } 186 $('.el_pause',curr_gallery).bind("mouseenter mouseleave", function(event) { 187 if(paused == true) { 188 $('i.fa',this).toggleClass("fa-pause fa-play"); 189 } else { 190 } 191 }); 192 $('.el_pause',curr_gallery).bind("click", function(event) { 193 if(paused == true) { 194 $(this).attr('style',''); 195 $('i.fa div',this).html('Pause'); 196 startloop(cntmax,cnt,true,duration,max_height,curr_gallery) 197 paused = false; 198 } else { 199 $(this).css('display','block'); 200 $('i.fa div',this).html('Play'); 201 clearInterval(loop_interval); 202 paused = true; 203 } 204 $('i.fa',this).toggleClass("fa-pause fa-play"); 205 event.preventDefault(); 206 return false; 207 }); 208 175 209 } 176 210 … … 240 274 241 275 242 // We preload the "loading" gif 243 function preload(arrayOfImages,duration,centered,nav,nav_color,nav_light,max_height,curr_gallery) { 244 $(arrayOfImages).each(function(index){ 245 $('<img />') 246 .attr('src', arrayOfImages[index]) 247 .load(function(){ 248 start_slideshow(duration,centered,nav,nav_color,nav_light,max_height,curr_gallery); 249 }); 250 }); 251 } 252 preload([ 253 'http://ericlowry.fr/en/wp-content/uploads/sites/3/2014/05/loadingGif.gif' 254 ],duration,centered,nav,nav_color,nav_light,max_height,curr_gallery); 276 // We start the slideshow 277 start_slideshow(duration,centered,nav,nav_color,nav_light,max_height,curr_gallery); 255 278 256 279 -
el-gallery/trunk/js/el-gallery_admin.js
r975862 r977688 2 2 Plugin Name: EL-Gallery 3 3 Description: An extremely simplistic gallery replacement plugin. 4 Version: 1.2. 24 Version: 1.2.3 5 5 Author: Eric Lowry 6 6 Author URI: http://ericlowry.fr/ -
el-gallery/trunk/languages/el-gallery-fr_FR.pot
r975862 r977688 5 5 "Project-Id-Version: el-gallery\n" 6 6 "Report-Msgid-Bugs-To: http://ericlowry.fr\n" 7 "POT-Creation-Date: 2014-0 8-30 20:29+0100\n"8 "PO-Revision-Date: 2014-0 8-30 20:29+0100\n"7 "POT-Creation-Date: 2014-09-02 15:05+0100\n" 8 "PO-Revision-Date: 2014-09-02 15:05+0100\n" 9 9 "Last-Translator: Eric Lowry <ericlowry14@gmail.com>\n" 10 10 "Language-Team: ERIC LOWRY <ERICLOWRY14@GMAIL.COM>\n" … … 14 14 "Content-Transfer-Encoding: 8bit\n" 15 15 "Plural-Forms: nplurals=2; plural=(n > 1);\n" 16 "X-Generator: Poedit 1.6. 5\n"16 "X-Generator: Poedit 1.6.9\n" 17 17 "X-Poedit-Basepath: .\n" 18 18 "X-Poedit-SourceCharset: UTF-8\n" … … 155 155 msgstr "Chargement..." 156 156 157 #: ../el-gallery.php:133 158 msgid "Pause" 159 msgstr "Pause" 160 157 161 #~ msgid "" 158 162 #~ "By activating this, clicking on images in your gallery will open them in " -
el-gallery/trunk/languages/el-gallery.pot
r975862 r977688 5 5 "Project-Id-Version: el-gallery\n" 6 6 "Report-Msgid-Bugs-To: http://ericlowry.fr\n" 7 "POT-Creation-Date: 2014-0 8-30 20:29+0100\n"8 "PO-Revision-Date: 2014-0 8-30 20:29+0100\n"7 "POT-Creation-Date: 2014-09-02 15:04+0100\n" 8 "PO-Revision-Date: 2014-09-02 15:04+0100\n" 9 9 "Last-Translator: Eric Lowry <ericlowry14@gmail.com>\n" 10 10 "Language-Team: ERIC LOWRY <ERICLOWRY14@GMAIL.COM>\n" … … 14 14 "Content-Transfer-Encoding: 8bit\n" 15 15 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 16 "X-Generator: Poedit 1.6. 5\n"16 "X-Generator: Poedit 1.6.8\n" 17 17 "X-Poedit-Basepath: .\n" 18 18 "X-Poedit-SourceCharset: UTF-8\n" … … 134 134 msgid "Loading..." 135 135 msgstr "" 136 137 #: ../el-gallery.php:133 138 msgid "Pause" 139 msgstr "" -
el-gallery/trunk/readme.txt
r975862 r977688 9 9 Requires at least: 3.5 10 10 Tested up to: 3.9.2 11 Stable tag: 1.2. 212 Version: 1.2. 211 Stable tag: 1.2.3 12 Version: 1.2.3 13 13 License: GPLv2 14 14 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 62 62 == Changelog == 63 63 64 = Version 1.2.3 = 65 * Added a play/pause button. 66 * Fixed the image link system. 67 64 68 = Version 1.2.2 = 65 69 * Fixed a major bug from previous version.
Note: See TracChangeset
for help on using the changeset viewer.