Lightbox Gallery - Version 0.6

Version Description

  • If you set the class attribute into [gallery], galleries are handled separately. ex) [gallery class="gallery2"]
  • Support for the Highslide JS.
  • Support for the javascript loading in the footer.
  • Turkish (tr_TR) - Hakan Demiray
Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon wp plugin Lightbox Gallery
Version 0.6
Comparing to
See all releases

Code changes from version 0.5 to 0.6

graphics/close.png ADDED
Binary file
graphics/closeX.png ADDED
Binary file
graphics/controlbar-black-border.gif ADDED
Binary file
graphics/controlbar-text-buttons.png ADDED
Binary file
graphics/controlbar-white-small.gif ADDED
Binary file
graphics/controlbar-white.gif ADDED
Binary file
graphics/controlbar2.gif ADDED
Binary file
graphics/controlbar3.gif ADDED
Binary file
graphics/controlbar4-hover.gif ADDED
Binary file
graphics/controlbar4.gif ADDED
Binary file
graphics/fullexpand.gif ADDED
Binary file
graphics/geckodimmer.png ADDED
Binary file
graphics/icon.gif ADDED
Binary file
graphics/loader.gif ADDED
Binary file
graphics/loader.white.gif ADDED
Binary file
graphics/outlines/Outlines.psd ADDED
Binary file
graphics/outlines/beveled.png ADDED
Binary file
graphics/outlines/drop-shadow.png ADDED
Binary file
graphics/outlines/glossy-dark.png ADDED
Binary file
graphics/outlines/outer-glow.png ADDED
Binary file
graphics/outlines/rounded-black.png ADDED
Binary file
graphics/outlines/rounded-white.png ADDED
Binary file
graphics/resize.gif ADDED
Binary file
graphics/scrollarrows.png ADDED
Binary file
graphics/zoomin.cur ADDED
Binary file
graphics/zoomout.cur ADDED
Binary file
js/highslide.js ADDED
@@ -0,0 +1,1898 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******************************************************************************
2
+ Name: Highslide JS
3
+ Version: 4.1.8 (October 27 2009)
4
+ Config: default
5
+ Author: Torstein Hønsi
6
+ Support: http://highslide.com/support
7
+
8
+ Licence:
9
+ Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5
10
+ License (http://creativecommons.org/licenses/by-nc/2.5/).
11
+
12
+ You are free:
13
+ * to copy, distribute, display, and perform the work
14
+ * to make derivative works
15
+
16
+ Under the following conditions:
17
+ * Attribution. You must attribute the work in the manner specified by the
18
+ author or licensor.
19
+ * Noncommercial. You may not use this work for commercial purposes.
20
+
21
+ * For any reuse or distribution, you must make clear to others the license
22
+ terms of this work.
23
+ * Any of these conditions can be waived if you get permission from the
24
+ copyright holder.
25
+
26
+ Your fair use and other rights are in no way affected by the above.
27
+ ******************************************************************************/
28
+ if (!hs) { var hs = {
29
+ // Language strings
30
+ lang : {
31
+ cssDirection: 'ltr',
32
+ loadingText : 'Loading...',
33
+ loadingTitle : 'Click to cancel',
34
+ focusTitle : 'Click to bring to front',
35
+ fullExpandTitle : 'Expand to actual size (f)',
36
+ creditsText : 'Powered by <i>Highslide JS</i>',
37
+ creditsTitle : 'Go to the Highslide JS homepage',
38
+ restoreTitle : 'Click to close image, click and drag to move. Use arrow keys for next and previous.'
39
+ },
40
+ // See http://highslide.com/ref for examples of settings
41
+ graphicsDir : 'highslide/graphics/',
42
+ expandCursor : 'zoomin.cur', // null disables
43
+ restoreCursor : 'zoomout.cur', // null disables
44
+ expandDuration : 250, // milliseconds
45
+ restoreDuration : 250,
46
+ marginLeft : 15,
47
+ marginRight : 15,
48
+ marginTop : 15,
49
+ marginBottom : 15,
50
+ zIndexCounter : 1001, // adjust to other absolutely positioned elements
51
+ loadingOpacity : 0.75,
52
+ allowMultipleInstances: true,
53
+ numberOfImagesToPreload : 5,
54
+ outlineWhileAnimating : 2, // 0 = never, 1 = always, 2 = HTML only
55
+ outlineStartOffset : 3, // ends at 10
56
+ padToMinWidth : false, // pad the popup width to make room for wide caption
57
+ fullExpandPosition : 'bottom right',
58
+ fullExpandOpacity : 1,
59
+ showCredits : true, // you can set this to false if you want
60
+ creditsHref : 'http://highslide.com/',
61
+ creditsTarget : '_self',
62
+ enableKeyListener : true,
63
+ openerTagNames : ['a'], // Add more to allow slideshow indexing
64
+
65
+ dragByHeading: true,
66
+ minWidth: 200,
67
+ minHeight: 200,
68
+ allowSizeReduction: true, // allow the image to reduce to fit client size. If false, this overrides minWidth and minHeight
69
+ outlineType : 'drop-shadow', // set null to disable outlines
70
+ // END OF YOUR SETTINGS
71
+
72
+
73
+ // declare internal properties
74
+ preloadTheseImages : [],
75
+ continuePreloading: true,
76
+ expanders : [],
77
+ overrides : [
78
+ 'allowSizeReduction',
79
+ 'useBox',
80
+ 'outlineType',
81
+ 'outlineWhileAnimating',
82
+ 'captionId',
83
+ 'captionText',
84
+ 'captionEval',
85
+ 'captionOverlay',
86
+ 'headingId',
87
+ 'headingText',
88
+ 'headingEval',
89
+ 'headingOverlay',
90
+ 'creditsPosition',
91
+ 'dragByHeading',
92
+
93
+ 'width',
94
+ 'height',
95
+
96
+ 'wrapperClassName',
97
+ 'minWidth',
98
+ 'minHeight',
99
+ 'maxWidth',
100
+ 'maxHeight',
101
+ 'slideshowGroup',
102
+ 'easing',
103
+ 'easingClose',
104
+ 'fadeInOut',
105
+ 'src'
106
+ ],
107
+ overlays : [],
108
+ idCounter : 0,
109
+ oPos : {
110
+ x: ['leftpanel', 'left', 'center', 'right', 'rightpanel'],
111
+ y: ['above', 'top', 'middle', 'bottom', 'below']
112
+ },
113
+ mouse: {},
114
+ headingOverlay: {},
115
+ captionOverlay: {},
116
+ timers : [],
117
+
118
+ pendingOutlines : {},
119
+ clones : {},
120
+ onReady: [],
121
+ uaVersion: /Trident\/4\.0/.test(navigator.userAgent) ? 8 :
122
+ parseFloat((navigator.userAgent.toLowerCase().match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1]),
123
+ ie : (document.all && !window.opera),
124
+ safari : /Safari/.test(navigator.userAgent),
125
+ geckoMac : /Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),
126
+
127
+ $ : function (id) {
128
+ if (id) return document.getElementById(id);
129
+ },
130
+
131
+ push : function (arr, val) {
132
+ arr[arr.length] = val;
133
+ },
134
+
135
+ createElement : function (tag, attribs, styles, parent, nopad) {
136
+ var el = document.createElement(tag);
137
+ if (attribs) hs.extend(el, attribs);
138
+ if (nopad) hs.setStyles(el, {padding: 0, border: 'none', margin: 0});
139
+ if (styles) hs.setStyles(el, styles);
140
+ if (parent) parent.appendChild(el);
141
+ return el;
142
+ },
143
+
144
+ extend : function (el, attribs) {
145
+ for (var x in attribs) el[x] = attribs[x];
146
+ return el;
147
+ },
148
+
149
+ setStyles : function (el, styles) {
150
+ for (var x in styles) {
151
+ if (hs.ie && x == 'opacity') {
152
+ if (styles[x] > 0.99) el.style.removeAttribute('filter');
153
+ else el.style.filter = 'alpha(opacity='+ (styles[x] * 100) +')';
154
+ }
155
+ else el.style[x] = styles[x];
156
+ }
157
+ },
158
+ animate: function(el, prop, opt) {
159
+ var start,
160
+ end,
161
+ unit;
162
+ if (typeof opt != 'object' || opt === null) {
163
+ var args = arguments;
164
+ opt = {
165
+ duration: args[2],
166
+ easing: args[3],
167
+ complete: args[4]
168
+ };
169
+ }
170
+ if (typeof opt.duration != 'number') opt.duration = 250;
171
+ opt.easing = Math[opt.easing] || Math.easeInQuad;
172
+ opt.curAnim = hs.extend({}, prop);
173
+ for (var name in prop) {
174
+ var e = new hs.fx(el, opt , name );
175
+
176
+ start = parseFloat(hs.css(el, name)) || 0;
177
+ end = parseFloat(prop[name]);
178
+ unit = name != 'opacity' ? 'px' : '';
179
+
180
+ e.custom( start, end, unit );
181
+ }
182
+ },
183
+ css: function(el, prop) {
184
+ if (document.defaultView) {
185
+ return document.defaultView.getComputedStyle(el, null).getPropertyValue(prop);
186
+
187
+ } else {
188
+ if (prop == 'opacity') prop = 'filter';
189
+ var val = el.currentStyle[prop.replace(/\-(\w)/g, function (a, b){ return b.toUpperCase(); })];
190
+ if (prop == 'filter')
191
+ val = val.replace(/alpha\(opacity=([0-9]+)\)/,
192
+ function (a, b) { return b / 100 });
193
+ return val === '' ? 1 : val;
194
+ }
195
+ },
196
+
197
+ getPageSize : function () {
198
+ var d = document, w = window, iebody = d.compatMode && d.compatMode != 'BackCompat'
199
+ ? d.documentElement : d.body;
200
+
201
+ var width = hs.ie ? iebody.clientWidth :
202
+ (d.documentElement.clientWidth || self.innerWidth),
203
+ height = hs.ie ? iebody.clientHeight : self.innerHeight;
204
+
205
+ hs.page = {
206
+ width: width,
207
+ height: height,
208
+ scrollLeft: hs.ie ? iebody.scrollLeft : pageXOffset,
209
+ scrollTop: hs.ie ? iebody.scrollTop : pageYOffset
210
+ }
211
+ },
212
+
213
+ getPosition : function(el) {
214
+ var p = { x: el.offsetLeft, y: el.offsetTop };
215
+ while (el.offsetParent) {
216
+ el = el.offsetParent;
217
+ p.x += el.offsetLeft;
218
+ p.y += el.offsetTop;
219
+ if (el != document.body && el != document.documentElement) {
220
+ p.x -= el.scrollLeft;
221
+ p.y -= el.scrollTop;
222
+ }
223
+ }
224
+ return p;
225
+ },
226
+
227
+ expand : function(a, params, custom, type) {
228
+ if (!a) a = hs.createElement('a', null, { display: 'none' }, hs.container);
229
+ if (typeof a.getParams == 'function') return params;
230
+ try {
231
+ new hs.Expander(a, params, custom);
232
+ return false;
233
+ } catch (e) { return true; }
234
+ },
235
+
236
+
237
+ focusTopmost : function() {
238
+ var topZ = 0,
239
+ topmostKey = -1,
240
+ expanders = hs.expanders,
241
+ exp,
242
+ zIndex;
243
+ for (var i = 0; i < expanders.length; i++) {
244
+ exp = expanders[i];
245
+ if (exp) {
246
+ zIndex = exp.wrapper.style.zIndex;
247
+ if (zIndex && zIndex > topZ) {
248
+ topZ = zIndex;
249
+ topmostKey = i;
250
+ }
251
+ }
252
+ }
253
+ if (topmostKey == -1) hs.focusKey = -1;
254
+ else expanders[topmostKey].focus();
255
+ },
256
+
257
+ getParam : function (a, param) {
258
+ a.getParams = a.onclick;
259
+ var p = a.getParams ? a.getParams() : null;
260
+ a.getParams = null;
261
+
262
+ return (p && typeof p[param] != 'undefined') ? p[param] :
263
+ (typeof hs[param] != 'undefined' ? hs[param] : null);
264
+ },
265
+
266
+ getSrc : function (a) {
267
+ var src = hs.getParam(a, 'src');
268
+ if (src) return src;
269
+ return a.href;
270
+ },
271
+
272
+ getNode : function (id) {
273
+ var node = hs.$(id), clone = hs.clones[id], a = {};
274
+ if (!node && !clone) return null;
275
+ if (!clone) {
276
+ clone = node.cloneNode(true);
277
+ clone.id = '';
278
+ hs.clones[id] = clone;
279
+ return node;
280
+ } else {
281
+ return clone.cloneNode(true);
282
+ }
283
+ },
284
+
285
+ discardElement : function(d) {
286
+ if (d) hs.garbageBin.appendChild(d);
287
+ hs.garbageBin.innerHTML = '';
288
+ },
289
+ transit : function (adj, exp) {
290
+ var last = exp = exp || hs.getExpander();
291
+ if (hs.upcoming) return false;
292
+ else hs.last = last;
293
+ try {
294
+ hs.upcoming = adj;
295
+ adj.onclick();
296
+ } catch (e){
297
+ hs.last = hs.upcoming = null;
298
+ }
299
+ try {
300
+ exp.close();
301
+ } catch (e) {}
302
+ return false;
303
+ },
304
+
305
+ previousOrNext : function (el, op) {
306
+ var exp = hs.getExpander(el);
307
+ if (exp) return hs.transit(exp.getAdjacentAnchor(op), exp);
308
+ else return false;
309
+ },
310
+
311
+ previous : function (el) {
312
+ return hs.previousOrNext(el, -1);
313
+ },
314
+
315
+ next : function (el) {
316
+ return hs.previousOrNext(el, 1);
317
+ },
318
+
319
+ keyHandler : function(e) {
320
+ if (!e) e = window.event;
321
+ if (!e.target) e.target = e.srcElement; // ie
322
+ if (typeof e.target.form != 'undefined') return true; // form element has focus
323
+ var exp = hs.getExpander();
324
+
325
+ var op = null;
326
+ switch (e.keyCode) {
327
+ case 70: // f
328
+ if (exp) exp.doFullExpand();
329
+ return true;
330
+ case 32: // Space
331
+ case 34: // Page Down
332
+ case 39: // Arrow right
333
+ case 40: // Arrow down
334
+ op = 1;
335
+ break;
336
+ case 8: // Backspace
337
+ case 33: // Page Up
338
+ case 37: // Arrow left
339
+ case 38: // Arrow up
340
+ op = -1;
341
+ break;
342
+ case 27: // Escape
343
+ case 13: // Enter
344
+ op = 0;
345
+ }
346
+ if (op !== null) {hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
347
+ if (!hs.enableKeyListener) return true;
348
+
349
+ if (e.preventDefault) e.preventDefault();
350
+ else e.returnValue = false;
351
+ if (exp) {
352
+ if (op == 0) {
353
+ exp.close();
354
+ } else {
355
+ hs.previousOrNext(exp.key, op);
356
+ }
357
+ return false;
358
+ }
359
+ }
360
+ return true;
361
+ },
362
+
363
+
364
+ registerOverlay : function (overlay) {
365
+ hs.push(hs.overlays, hs.extend(overlay, { hsId: 'hsId'+ hs.idCounter++ } ));
366
+ },
367
+
368
+
369
+ getWrapperKey : function (element, expOnly) {
370
+ var el, re = /^highslide-wrapper-([0-9]+)$/;
371
+ // 1. look in open expanders
372
+ el = element;
373
+ while (el.parentNode) {
374
+ if (el.id && re.test(el.id)) return el.id.replace(re, "$1");
375
+ el = el.parentNode;
376
+ }
377
+ // 2. look in thumbnail
378
+ if (!expOnly) {
379
+ el = element;
380
+ while (el.parentNode) {
381
+ if (el.tagName && hs.isHsAnchor(el)) {
382
+ for (var key = 0; key < hs.expanders.length; key++) {
383
+ var exp = hs.expanders[key];
384
+ if (exp && exp.a == el) return key;
385
+ }
386
+ }
387
+ el = el.parentNode;
388
+ }
389
+ }
390
+ return null;
391
+ },
392
+
393
+ getExpander : function (el, expOnly) {
394
+ if (typeof el == 'undefined') return hs.expanders[hs.focusKey] || null;
395
+ if (typeof el == 'number') return hs.expanders[el] || null;
396
+ if (typeof el == 'string') el = hs.$(el);
397
+ return hs.expanders[hs.getWrapperKey(el, expOnly)] || null;
398
+ },
399
+
400
+ isHsAnchor : function (a) {
401
+ return (a.onclick && a.onclick.toString().replace(/\s/g, ' ').match(/hs.(htmlE|e)xpand/));
402
+ },
403
+
404
+ reOrder : function () {
405
+ for (var i = 0; i < hs.expanders.length; i++)
406
+ if (hs.expanders[i] && hs.expanders[i].isExpanded) hs.focusTopmost();
407
+ },
408
+
409
+ mouseClickHandler : function(e)
410
+ {
411
+ if (!e) e = window.event;
412
+ if (e.button > 1) return true;
413
+ if (!e.target) e.target = e.srcElement;
414
+
415
+ var el = e.target;
416
+ while (el.parentNode
417
+ && !(/highslide-(image|move|html|resize)/.test(el.className)))
418
+ {
419
+ el = el.parentNode;
420
+ }
421
+ var exp = hs.getExpander(el);
422
+ if (exp && (exp.isClosing || !exp.isExpanded)) return true;
423
+
424
+ if (exp && e.type == 'mousedown') {
425
+ if (e.target.form) return true;
426
+ var match = el.className.match(/highslide-(image|move|resize)/);
427
+ if (match) {
428
+ hs.dragArgs = {
429
+ exp: exp ,
430
+ type: match[1],
431
+ left: exp.x.pos,
432
+ width: exp.x.size,
433
+ top: exp.y.pos,
434
+ height: exp.y.size,
435
+ clickX: e.clientX,
436
+ clickY: e.clientY
437
+ };
438
+
439
+
440
+ hs.addEventListener(document, 'mousemove', hs.dragHandler);
441
+ if (e.preventDefault) e.preventDefault(); // FF
442
+
443
+ if (/highslide-(image|html)-blur/.test(exp.content.className)) {
444
+ exp.focus();
445
+ hs.hasFocused = true;
446
+ }
447
+ return false;
448
+ }
449
+ } else if (e.type == 'mouseup') {
450
+
451
+ hs.removeEventListener(document, 'mousemove', hs.dragHandler);
452
+
453
+ if (hs.dragArgs) {
454
+ if (hs.styleRestoreCursor && hs.dragArgs.type == 'image')
455
+ hs.dragArgs.exp.content.style.cursor = hs.styleRestoreCursor;
456
+ var hasDragged = hs.dragArgs.hasDragged;
457
+
458
+ if (!hasDragged &&!hs.hasFocused && !/(move|resize)/.test(hs.dragArgs.type)) {
459
+ exp.close();
460
+ }
461
+ else if (hasDragged || (!hasDragged && hs.hasHtmlExpanders)) {
462
+ hs.dragArgs.exp.doShowHide('hidden');
463
+ }
464
+ hs.hasFocused = false;
465
+ hs.dragArgs = null;
466
+
467
+ } else if (/highslide-image-blur/.test(el.className)) {
468
+ el.style.cursor = hs.styleRestoreCursor;
469
+ }
470
+ }
471
+ return false;
472
+ },
473
+
474
+ dragHandler : function(e)
475
+ {
476
+ if (!hs.dragArgs) return true;
477
+ if (!e) e = window.event;
478
+ var a = hs.dragArgs, exp = a.exp;
479
+
480
+ a.dX = e.clientX - a.clickX;
481
+ a.dY = e.clientY - a.clickY;
482
+
483
+ var distance = Math.sqrt(Math.pow(a.dX, 2) + Math.pow(a.dY, 2));
484
+ if (!a.hasDragged) a.hasDragged = (a.type != 'image' && distance > 0)
485
+ || (distance > (hs.dragSensitivity || 5));
486
+
487
+ if (a.hasDragged && e.clientX > 5 && e.clientY > 5) {
488
+
489
+ if (a.type == 'resize') exp.resize(a);
490
+ else {
491
+ exp.moveTo(a.left + a.dX, a.top + a.dY);
492
+ if (a.type == 'image') exp.content.style.cursor = 'move';
493
+ }
494
+ }
495
+ return false;
496
+ },
497
+
498
+ wrapperMouseHandler : function (e) {
499
+ try {
500
+ if (!e) e = window.event;
501
+ var over = /mouseover/i.test(e.type);
502
+ if (!e.target) e.target = e.srcElement; // ie
503
+ if (hs.ie) e.relatedTarget =
504
+ over ? e.fromElement : e.toElement; // ie
505
+ var exp = hs.getExpander(e.target);
506
+ if (!exp.isExpanded) return;
507
+ if (!exp || !e.relatedTarget || hs.getExpander(e.relatedTarget, true) == exp
508
+ || hs.dragArgs) return;
509
+ for (var i = 0; i < exp.overlays.length; i++) (function() {
510
+ var o = hs.$('hsId'+ exp.overlays[i]);
511
+ if (o && o.hideOnMouseOut) {
512
+ if (over) hs.setStyles(o, { visibility: 'visible', display: '' });
513
+ hs.animate(o, { opacity: over ? o.opacity : 0 }, o.dur);
514
+ }
515
+ })();
516
+ } catch (e) {}
517
+ },
518
+ addEventListener : function (el, event, func) {
519
+ if (el == document && event == 'ready') hs.push(hs.onReady, func);
520
+ try {
521
+ el.addEventListener(event, func, false);
522
+ } catch (e) {
523
+ try {
524
+ el.detachEvent('on'+ event, func);
525
+ el.attachEvent('on'+ event, func);
526
+ } catch (e) {
527
+ el['on'+ event] = func;
528
+ }
529
+ }
530
+ },
531
+
532
+ removeEventListener : function (el, event, func) {
533
+ try {
534
+ el.removeEventListener(event, func, false);
535
+ } catch (e) {
536
+ try {
537
+ el.detachEvent('on'+ event, func);
538
+ } catch (e) {
539
+ el['on'+ event] = null;
540
+ }
541
+ }
542
+ },
543
+
544
+ preloadFullImage : function (i) {
545
+ if (hs.continuePreloading && hs.preloadTheseImages[i] && hs.preloadTheseImages[i] != 'undefined') {
546
+ var img = document.createElement('img');
547
+ img.onload = function() {
548
+ img = null;
549
+ hs.preloadFullImage(i + 1);
550
+ };
551
+ img.src = hs.preloadTheseImages[i];
552
+ }
553
+ },
554
+ preloadImages : function (number) {
555
+ if (number && typeof number != 'object') hs.numberOfImagesToPreload = number;
556
+
557
+ var arr = hs.getAnchors();
558
+ for (var i = 0; i < arr.images.length && i < hs.numberOfImagesToPreload; i++) {
559
+ hs.push(hs.preloadTheseImages, hs.getSrc(arr.images[i]));
560
+ }
561
+
562
+ // preload outlines
563
+ if (hs.outlineType) new hs.Outline(hs.outlineType, function () { hs.preloadFullImage(0)} );
564
+ else
565
+
566
+ hs.preloadFullImage(0);
567
+
568
+ // preload cursor
569
+ if (hs.restoreCursor) var cur = hs.createElement('img', { src: hs.graphicsDir + hs.restoreCursor });
570
+ },
571
+
572
+
573
+ init : function () {
574
+ if (!hs.container) {
575
+
576
+ hs.getPageSize();
577
+ hs.ieLt7 = hs.ie && hs.uaVersion < 7;
578
+ for (var x in hs.langDefaults) {
579
+ if (typeof hs[x] != 'undefined') hs.lang[x] = hs[x];
580
+ else if (typeof hs.lang[x] == 'undefined' && typeof hs.langDefaults[x] != 'undefined')
581
+ hs.lang[x] = hs.langDefaults[x];
582
+ }
583
+
584
+ hs.container = hs.createElement('div', {
585
+ className: 'highslide-container'
586
+ }, {
587
+ position: 'absolute',
588
+ left: 0,
589
+ top: 0,
590
+ width: '100%',
591
+ zIndex: hs.zIndexCounter,
592
+ direction: 'ltr'
593
+ },
594
+ document.body,
595
+ true
596
+ );
597
+ hs.loading = hs.createElement('a', {
598
+ className: 'highslide-loading',
599
+ title: hs.lang.loadingTitle,
600
+ innerHTML: hs.lang.loadingText,
601
+ href: 'javascript:;'
602
+ }, {
603
+ position: 'absolute',
604
+ top: '-9999px',
605
+ opacity: hs.loadingOpacity,
606
+ zIndex: 1
607
+ }, hs.container
608
+ );
609
+ hs.garbageBin = hs.createElement('div', null, { display: 'none' }, hs.container);
610
+
611
+ // http://www.robertpenner.com/easing/
612
+ Math.linearTween = function (t, b, c, d) {
613
+ return c*t/d + b;
614
+ };
615
+ Math.easeInQuad = function (t, b, c, d) {
616
+ return c*(t/=d)*t + b;
617
+ };
618
+
619
+ hs.hideSelects = hs.ieLt7;
620
+ hs.hideIframes = ((window.opera && hs.uaVersion < 9) || navigator.vendor == 'KDE'
621
+ || (hs.ie && hs.uaVersion < 5.5));
622
+ }
623
+ },
624
+ ready : function() {
625
+ if (hs.isReady) return;
626
+ hs.isReady = true;
627
+
628
+ for (var i = 0; i < hs.onReady.length; i++) hs.onReady[i]();
629
+ },
630
+
631
+ updateAnchors : function() {
632
+ var el, els, all = [], images = [],groups = {}, re;
633
+
634
+ for (var i = 0; i < hs.openerTagNames.length; i++) {
635
+ els = document.getElementsByTagName(hs.openerTagNames[i]);
636
+ for (var j = 0; j < els.length; j++) {
637
+ el = els[j];
638
+ re = hs.isHsAnchor(el);
639
+ if (re) {
640
+ hs.push(all, el);
641
+ if (re[0] == 'hs.expand') hs.push(images, el);
642
+ var g = hs.getParam(el, 'slideshowGroup') || 'none';
643
+ if (!groups[g]) groups[g] = [];
644
+ hs.push(groups[g], el);
645
+ }
646
+ }
647
+ }
648
+ hs.anchors = { all: all, groups: groups, images: images };
649
+ return hs.anchors;
650
+
651
+ },
652
+
653
+ getAnchors : function() {
654
+ return hs.anchors || hs.updateAnchors();
655
+ },
656
+
657
+
658
+ close : function(el) {
659
+ var exp = hs.getExpander(el);
660
+ if (exp) exp.close();
661
+ return false;
662
+ }
663
+ }; // end hs object
664
+ hs.fx = function( elem, options, prop ){
665
+ this.options = options;
666
+ this.elem = elem;
667
+ this.prop = prop;
668
+
669
+ if (!options.orig) options.orig = {};
670
+ };
671
+ hs.fx.prototype = {
672
+ update: function(){
673
+ (hs.fx.step[this.prop] || hs.fx.step._default)(this);
674
+
675
+ if (this.options.step)
676
+ this.options.step.call(this.elem, this.now, this);
677
+
678
+ },
679
+ custom: function(from, to, unit){
680
+ this.startTime = (new Date()).getTime();
681
+ this.start = from;
682
+ this.end = to;
683
+ this.unit = unit;// || this.unit || "px";
684
+ this.now = this.start;
685
+ this.pos = this.state = 0;
686
+
687
+ var self = this;
688
+ function t(gotoEnd){
689
+ return self.step(gotoEnd);
690
+ }
691
+
692
+ t.elem = this.elem;
693
+
694
+ if ( t() && hs.timers.push(t) == 1 ) {
695
+ hs.timerId = setInterval(function(){
696
+ var timers = hs.timers;
697
+
698
+ for ( var i = 0; i < timers.length; i++ )
699
+ if ( !timers[i]() )
700
+ timers.splice(i--, 1);
701
+
702
+ if ( !timers.length ) {
703
+ clearInterval(hs.timerId);
704
+ }
705
+ }, 13);
706
+ }
707
+ },
708
+ step: function(gotoEnd){
709
+ var t = (new Date()).getTime();
710
+ if ( gotoEnd || t >= this.options.duration + this.startTime ) {
711
+ this.now = this.end;
712
+ this.pos = this.state = 1;
713
+ this.update();
714
+
715
+ this.options.curAnim[ this.prop ] = true;
716
+
717
+ var done = true;
718
+ for ( var i in this.options.curAnim )
719
+ if ( this.options.curAnim[i] !== true )
720
+ done = false;
721
+
722
+ if ( done ) {
723
+ if (this.options.complete) this.options.complete.call(this.elem);
724
+ }
725
+ return false;
726
+ } else {
727
+ var n = t - this.startTime;
728
+ this.state = n / this.options.duration;
729
+ this.pos = this.options.easing(n, 0, 1, this.options.duration);
730
+ this.now = this.start + ((this.end - this.start) * this.pos);
731
+ this.update();
732
+ }
733
+ return true;
734
+ }
735
+
736
+ };
737
+
738
+ hs.extend( hs.fx, {
739
+ step: {
740
+
741
+ opacity: function(fx){
742
+ hs.setStyles(fx.elem, { opacity: fx.now });
743
+ },
744
+
745
+ _default: function(fx){
746
+ try {
747
+ if ( fx.elem.style && fx.elem.style[ fx.prop ] != null )
748
+ fx.elem.style[ fx.prop ] = fx.now + fx.unit;
749
+ else
750
+ fx.elem[ fx.prop ] = fx.now;
751
+ } catch (e) {}
752
+ }
753
+ }
754
+ });
755
+
756
+ hs.Outline = function (outlineType, onLoad) {
757
+ this.onLoad = onLoad;
758
+ this.outlineType = outlineType;
759
+ var v = hs.uaVersion, tr;
760
+
761
+ this.hasAlphaImageLoader = hs.ie && v >= 5.5 && v < 7;
762
+ if (!outlineType) {
763
+ if (onLoad) onLoad();
764
+ return;
765
+ }
766
+
767
+ hs.init();
768
+ this.table = hs.createElement(
769
+ 'table', {
770
+ cellSpacing: 0
771
+ }, {
772
+ visibility: 'hidden',
773
+ position: 'absolute',
774
+ borderCollapse: 'collapse',
775
+ width: 0
776
+ },
777
+ hs.container,
778
+ true
779
+ );
780
+ var tbody = hs.createElement('tbody', null, null, this.table, 1);
781
+
782
+ this.td = [];
783
+ for (var i = 0; i <= 8; i++) {
784
+ if (i % 3 == 0) tr = hs.createElement('tr', null, { height: 'auto' }, tbody, true);
785
+ this.td[i] = hs.createElement('td', null, null, tr, true);
786
+ var style = i != 4 ? { lineHeight: 0, fontSize: 0} : { position : 'relative' };
787
+ hs.setStyles(this.td[i], style);
788
+ }
789
+ this.td[4].className = outlineType +' highslide-outline';
790
+
791
+ this.preloadGraphic();
792
+ };
793
+
794
+ hs.Outline.prototype = {
795
+ preloadGraphic : function () {
796
+ var src = hs.graphicsDir + (hs.outlinesDir || "outlines/")+ this.outlineType +".png";
797
+
798
+ var appendTo = hs.safari ? hs.container : null;
799
+ this.graphic = hs.createElement('img', null, { position: 'absolute',
800
+ top: '-9999px' }, appendTo, true); // for onload trigger
801
+
802
+ var pThis = this;
803
+ this.graphic.onload = function() { pThis.onGraphicLoad(); };
804
+
805
+ this.graphic.src = src;
806
+ },
807
+
808
+ onGraphicLoad : function () {
809
+ var o = this.offset = this.graphic.width / 4,
810
+ pos = [[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],
811
+ dim = { height: (2*o) +'px', width: (2*o) +'px' };
812
+ for (var i = 0; i <= 8; i++) {
813
+ if (pos[i]) {
814
+ if (this.hasAlphaImageLoader) {
815
+ var w = (i == 1 || i == 7) ? '100%' : this.graphic.width +'px';
816
+ var div = hs.createElement('div', null, { width: '100%', height: '100%', position: 'relative', overflow: 'hidden'}, this.td[i], true);
817
+ hs.createElement ('div', null, {
818
+ filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+ this.graphic.src + "')",
819
+ position: 'absolute',
820
+ width: w,
821
+ height: this.graphic.height +'px',
822
+ left: (pos[i][0]*o)+'px',
823
+ top: (pos[i][1]*o)+'px'
824
+ },
825
+ div,
826
+ true);
827
+ } else {
828
+ hs.setStyles(this.td[i], { background: 'url('+ this.graphic.src +') '+ (pos[i][0]*o)+'px '+(pos[i][1]*o)+'px'});
829
+ }
830
+
831
+ if (window.opera && (i == 3 || i ==5))
832
+ hs.createElement('div', null, dim, this.td[i], true);
833
+
834
+ hs.setStyles (this.td[i], dim);
835
+ }
836
+ }
837
+ this.graphic = null;
838
+ if (hs.pendingOutlines[this.outlineType]) hs.pendingOutlines[this.outlineType].destroy();
839
+ hs.pendingOutlines[this.outlineType] = this;
840
+ if (this.onLoad) this.onLoad();
841
+ },
842
+
843
+ setPosition : function (pos, offset, vis, dur, easing) {
844
+ var exp = this.exp,
845
+ stl = exp.wrapper.style,
846
+ offset = offset || 0,
847
+ pos = pos || {
848
+ x: exp.x.pos + offset,
849
+ y: exp.y.pos + offset,
850
+ w: exp.x.get('wsize') - 2 * offset,
851
+ h: exp.y.get('wsize') - 2 * offset
852
+ };
853
+ if (vis) this.table.style.visibility = (pos.h >= 4 * this.offset)
854
+ ? 'visible' : 'hidden';
855
+ hs.setStyles(this.table, {
856
+ left: (pos.x - this.offset) +'px',
857
+ top: (pos.y - this.offset) +'px',
858
+ width: (pos.w + 2 * this.offset) +'px'
859
+ });
860
+
861
+ pos.w -= 2 * this.offset;
862
+ pos.h -= 2 * this.offset;
863
+ hs.setStyles (this.td[4], {
864
+ width: pos.w >= 0 ? pos.w +'px' : 0,
865
+ height: pos.h >= 0 ? pos.h +'px' : 0
866
+ });
867
+ if (this.hasAlphaImageLoader) this.td[3].style.height
868
+ = this.td[5].style.height = this.td[4].style.height;
869
+
870
+ },
871
+
872
+ destroy : function(hide) {
873
+ if (hide) this.table.style.visibility = 'hidden';
874
+ else hs.discardElement(this.table);
875
+ }
876
+ };
877
+
878
+ hs.Dimension = function(exp, dim) {
879
+ this.exp = exp;
880
+ this.dim = dim;
881
+ this.ucwh = dim == 'x' ? 'Width' : 'Height';
882
+ this.wh = this.ucwh.toLowerCase();
883
+ this.uclt = dim == 'x' ? 'Left' : 'Top';
884
+ this.lt = this.uclt.toLowerCase();
885
+ this.ucrb = dim == 'x' ? 'Right' : 'Bottom';
886
+ this.rb = this.ucrb.toLowerCase();
887
+ this.p1 = this.p2 = 0;
888
+ };
889
+ hs.Dimension.prototype = {
890
+ get : function(key) {
891
+ switch (key) {
892
+ case 'loadingPos':
893
+ return this.tpos + this.tb + (this.t - hs.loading['offset'+ this.ucwh]) / 2;
894
+ case 'wsize':
895
+ return this.size + 2 * this.cb + this.p1 + this.p2;
896
+ case 'fitsize':
897
+ return this.clientSize - this.marginMin - this.marginMax;
898
+ case 'maxsize':
899
+ return this.get('fitsize') - 2 * this.cb - this.p1 - this.p2 ;
900
+ case 'opos':
901
+ return this.pos - (this.exp.outline ? this.exp.outline.offset : 0);
902
+ case 'osize':
903
+ return this.get('wsize') + (this.exp.outline ? 2*this.exp.outline.offset : 0);
904
+ case 'imgPad':
905
+ return this.imgSize ? Math.round((this.size - this.imgSize) / 2) : 0;
906
+
907
+ }
908
+ },
909
+ calcBorders: function() {
910
+ // correct for borders
911
+ this.cb = (this.exp.content['offset'+ this.ucwh] - this.t) / 2;
912
+
913
+ this.marginMax = hs['margin'+ this.ucrb];
914
+ },
915
+ calcThumb: function() {
916
+ this.t = this.exp.el[this.wh] ? parseInt(this.exp.el[this.wh]) :
917
+ this.exp.el['offset'+ this.ucwh];
918
+ this.tpos = this.exp.tpos[this.dim];
919
+ this.tb = (this.exp.el['offset'+ this.ucwh] - this.t) / 2;
920
+ if (this.tpos == 0 || this.tpos == -1) {
921
+ this.tpos = (hs.page[this.wh] / 2) + hs.page['scroll'+ this.uclt];
922
+ };
923
+ },
924
+ calcExpanded: function() {
925
+ var exp = this.exp;
926
+ this.justify = 'auto';
927
+
928
+
929
+ // size and position
930
+ this.pos = this.tpos - this.cb + this.tb;
931
+
932
+ if (this.maxHeight && this.dim == 'x')
933
+ exp.maxWidth = Math.min(exp.maxWidth || this.full, exp.maxHeight * this.full / exp.y.full);
934
+
935
+ this.size = Math.min(this.full, exp['max'+ this.ucwh] || this.full);
936
+ this.minSize = exp.allowSizeReduction ?
937
+ Math.min(exp['min'+ this.ucwh], this.full) :this.full;
938
+ if (exp.isImage && exp.useBox) {
939
+ this.size = exp[this.wh];
940
+ this.imgSize = this.full;
941
+ }
942
+ if (this.dim == 'x' && hs.padToMinWidth) this.minSize = exp.minWidth;
943
+ this.marginMin = hs['margin'+ this.uclt];
944
+ this.scroll = hs.page['scroll'+ this.uclt];
945
+ this.clientSize = hs.page[this.wh];
946
+ },
947
+ setSize: function(i) {
948
+ var exp = this.exp;
949
+ if (exp.isImage && (exp.useBox || hs.padToMinWidth)) {
950
+ this.imgSize = i;
951
+ this.size = Math.max(this.size, this.imgSize);
952
+ exp.content.style[this.lt] = this.get('imgPad')+'px';
953
+ } else
954
+ this.size = i;
955
+
956
+ exp.content.style[this.wh] = i +'px';
957
+ exp.wrapper.style[this.wh] = this.get('wsize') +'px';
958
+ if (exp.outline) exp.outline.setPosition();
959
+ if (this.dim == 'x' && exp.overlayBox) exp.sizeOverlayBox(true);
960
+ },
961
+ setPos: function(i) {
962
+ this.pos = i;
963
+ this.exp.wrapper.style[this.lt] = i +'px';
964
+
965
+ if (this.exp.outline) this.exp.outline.setPosition();
966
+
967
+ }
968
+ };
969
+
970
+ hs.Expander = function(a, params, custom, contentType) {
971
+ if (document.readyState && hs.ie && !hs.isReady) {
972
+ hs.addEventListener(document, 'ready', function() {
973
+ new hs.Expander(a, params, custom, contentType);
974
+ });
975
+ return;
976
+ }
977
+ this.a = a;
978
+ this.custom = custom;
979
+ this.contentType = contentType || 'image';
980
+ this.isImage = !this.isHtml;
981
+
982
+ hs.continuePreloading = false;
983
+ this.overlays = [];
984
+ hs.init();
985
+ var key = this.key = hs.expanders.length;
986
+ // override inline parameters
987
+ for (var i = 0; i < hs.overrides.length; i++) {
988
+ var name = hs.overrides[i];
989
+ this[name] = params && typeof params[name] != 'undefined' ?
990
+ params[name] : hs[name];
991
+ }
992
+ if (!this.src) this.src = a.href;
993
+
994
+ // get thumb
995
+ var el = (params && params.thumbnailId) ? hs.$(params.thumbnailId) : a;
996
+ el = this.thumb = el.getElementsByTagName('img')[0] || el;
997
+ this.thumbsUserSetId = el.id || a.id;
998
+
999
+ // check if already open
1000
+ for (var i = 0; i < hs.expanders.length; i++) {
1001
+ if (hs.expanders[i] && hs.expanders[i].a == a) {
1002
+ hs.expanders[i].focus();
1003
+ return false;
1004
+ }
1005
+ }
1006
+
1007
+ // cancel other
1008
+ if (!hs.allowSimultaneousLoading) for (var i = 0; i < hs.expanders.length; i++) {
1009
+ if (hs.expanders[i] && hs.expanders[i].thumb != el && !hs.expanders[i].onLoadStarted) {
1010
+ hs.expanders[i].cancelLoading();
1011
+ }
1012
+ }
1013
+ hs.expanders[key] = this;
1014
+ if (!hs.allowMultipleInstances && !hs.upcoming) {
1015
+ if (hs.expanders[key-1]) hs.expanders[key-1].close();
1016
+ if (typeof hs.focusKey != 'undefined' && hs.expanders[hs.focusKey])
1017
+ hs.expanders[hs.focusKey].close();
1018
+ }
1019
+
1020
+ // initiate metrics
1021
+ this.el = el;
1022
+ this.tpos = hs.getPosition(el);
1023
+ hs.getPageSize();
1024
+ var x = this.x = new hs.Dimension(this, 'x');
1025
+ x.calcThumb();
1026
+ var y = this.y = new hs.Dimension(this, 'y');
1027
+ y.calcThumb();
1028
+ this.wrapper = hs.createElement(
1029
+ 'div', {
1030
+ id: 'highslide-wrapper-'+ this.key,
1031
+ className: 'highslide-wrapper '+ this.wrapperClassName
1032
+ }, {
1033
+ visibility: 'hidden',
1034
+ position: 'absolute',
1035
+ zIndex: hs.zIndexCounter += 2
1036
+ }, null, true );
1037
+
1038
+ this.wrapper.onmouseover = this.wrapper.onmouseout = hs.wrapperMouseHandler;
1039
+ if (this.contentType == 'image' && this.outlineWhileAnimating == 2)
1040
+ this.outlineWhileAnimating = 0;
1041
+
1042
+ // get the outline
1043
+ if (!this.outlineType) {
1044
+ this[this.contentType +'Create']();
1045
+
1046
+ } else if (hs.pendingOutlines[this.outlineType]) {
1047
+ this.connectOutline();
1048
+ this[this.contentType +'Create']();
1049
+
1050
+ } else {
1051
+ this.showLoading();
1052
+ var exp = this;
1053
+ new hs.Outline(this.outlineType,
1054
+ function () {
1055
+ exp.connectOutline();
1056
+ exp[exp.contentType +'Create']();
1057
+ }
1058
+ );
1059
+ }
1060
+ return true;
1061
+ };
1062
+
1063
+ hs.Expander.prototype = {
1064
+ error : function(e) {
1065
+ // alert ('Line '+ e.lineNumber +': '+ e.message);
1066
+ window.location.href = this.src;
1067
+ },
1068
+
1069
+ connectOutline : function() {
1070
+ var outline = this.outline = hs.pendingOutlines[this.outlineType];
1071
+ outline.exp = this;
1072
+ outline.table.style.zIndex = this.wrapper.style.zIndex - 1;
1073
+ hs.pendingOutlines[this.outlineType] = null;
1074
+ },
1075
+
1076
+ showLoading : function() {
1077
+ if (this.onLoadStarted || this.loading) return;
1078
+
1079
+ this.loading = hs.loading;
1080
+ var exp = this;
1081
+ this.loading.onclick = function() {
1082
+ exp.cancelLoading();
1083
+ };
1084
+ var exp = this,
1085
+ l = this.x.get('loadingPos') +'px',
1086
+ t = this.y.get('loadingPos') +'px';
1087
+ setTimeout(function () {
1088
+ if (exp.loading) hs.setStyles(exp.loading, { left: l, top: t, zIndex: hs.zIndexCounter++ })}
1089
+ , 100);
1090
+ },
1091
+
1092
+ imageCreate : function() {
1093
+ var exp = this;
1094
+
1095
+ var img = document.createElement('img');
1096
+ this.content = img;
1097
+ img.onload = function () {
1098
+ if (hs.expanders[exp.key]) exp.contentLoaded();
1099
+ };
1100
+ if (hs.blockRightClick) img.oncontextmenu = function() { return false; };
1101
+ img.className = 'highslide-image';
1102
+ hs.setStyles(img, {
1103
+ visibility: 'hidden',
1104
+ display: 'block',
1105
+ position: 'absolute',
1106
+ maxWidth: '9999px',
1107
+ zIndex: 3
1108
+ });
1109
+ img.title = hs.lang.restoreTitle;
1110
+ if (hs.safari) hs.container.appendChild(img);
1111
+ if (hs.ie && hs.flushImgSize) img.src = null;
1112
+ img.src = this.src;
1113
+
1114
+ this.showLoading();
1115
+ },
1116
+
1117
+ contentLoaded : function() {
1118
+ try {
1119
+ if (!this.content) return;
1120
+ this.content.onload = null;
1121
+ if (this.onLoadStarted) return;
1122
+ else this.onLoadStarted = true;
1123
+
1124
+ var x = this.x, y = this.y;
1125
+
1126
+ if (this.loading) {
1127
+ hs.setStyles(this.loading, { top: '-9999px' });
1128
+ this.loading = null;
1129
+ }
1130
+ x.full = this.content.width;
1131
+ y.full = this.content.height;
1132
+
1133
+ hs.setStyles(this.content, {
1134
+ width: x.t +'px',
1135
+ height: y.t +'px'
1136
+ });
1137
+ this.wrapper.appendChild(this.content);
1138
+ hs.container.appendChild(this.wrapper);
1139
+
1140
+ x.calcBorders();
1141
+ y.calcBorders();
1142
+
1143
+ hs.setStyles (this.wrapper, {
1144
+ left: (x.tpos + x.tb - x.cb) +'px',
1145
+ top: (y.tpos + x.tb - y.cb) +'px'
1146
+ });
1147
+ this.getOverlays();
1148
+
1149
+ var ratio = x.full / y.full;
1150
+ x.calcExpanded();
1151
+ this.justify(x);
1152
+
1153
+ y.calcExpanded();
1154
+ this.justify(y);
1155
+ if (this.overlayBox) this.sizeOverlayBox(0, 1);
1156
+
1157
+
1158
+ if (this.allowSizeReduction) {
1159
+ this.correctRatio(ratio);
1160
+ if (this.isImage && this.x.full > (this.x.imgSize || this.x.size)) {
1161
+ this.createFullExpand();
1162
+ if (this.overlays.length == 1) this.sizeOverlayBox();
1163
+ }
1164
+ }
1165
+ this.show();
1166
+
1167
+ } catch (e) {
1168
+ this.error(e);
1169
+ }
1170
+ },
1171
+
1172
+ justify : function (p, moveOnly) {
1173
+ var tgtArr, tgt = p.target, dim = p == this.x ? 'x' : 'y';
1174
+
1175
+ var hasMovedMin = false;
1176
+
1177
+ var allowReduce = p.exp.allowSizeReduction;
1178
+ p.pos = Math.round(p.pos - ((p.get('wsize') - p.t) / 2));
1179
+ if (p.pos < p.scroll + p.marginMin) {
1180
+ p.pos = p.scroll + p.marginMin;
1181
+ hasMovedMin = true;
1182
+ }
1183
+ if (!moveOnly && p.size < p.minSize) {
1184
+ p.size = p.minSize;
1185
+ allowReduce = false;
1186
+ }
1187
+ if (p.pos + p.get('wsize') > p.scroll + p.clientSize - p.marginMax) {
1188
+ if (!moveOnly && hasMovedMin && allowReduce) {
1189
+ p.size = Math.min(p.size, p.get(dim == 'y' ? 'fitsize' : 'maxsize'));
1190
+ } else if (p.get('wsize') < p.get('fitsize')) {
1191
+ p.pos = p.scroll + p.clientSize - p.marginMax - p.get('wsize');
1192
+ } else { // image larger than viewport
1193
+ p.pos = p.scroll + p.marginMin;
1194
+ if (!moveOnly && allowReduce) p.size = p.get(dim == 'y' ? 'fitsize' : 'maxsize');
1195
+ }
1196
+ }
1197
+
1198
+ if (!moveOnly && p.size < p.minSize) {
1199
+ p.size = p.minSize;
1200
+ allowReduce = false;
1201
+ }
1202
+
1203
+
1204
+
1205
+ if (p.pos < p.marginMin) {
1206
+ var tmpMin = p.pos;
1207
+ p.pos = p.marginMin;
1208
+
1209
+ if (allowReduce && !moveOnly) p.size = p.size - (p.pos - tmpMin);
1210
+
1211
+ }
1212
+ },
1213
+
1214
+ correctRatio : function(ratio) {
1215
+ var x = this.x,
1216
+ y = this.y,
1217
+ changed = false,
1218
+ xSize = Math.min(x.full, x.size),
1219
+ ySize = Math.min(y.full, y.size),
1220
+ useBox = (this.useBox || hs.padToMinWidth);
1221
+
1222
+ if (xSize / ySize > ratio) { // width greater
1223
+ xSize = ySize * ratio;
1224
+ if (xSize < x.minSize) { // below minWidth
1225
+ xSize = x.minSize;
1226
+ ySize = xSize / ratio;
1227
+ }
1228
+ changed = true;
1229
+
1230
+ } else if (xSize / ySize < ratio) { // height greater
1231
+ ySize = xSize / ratio;
1232
+ changed = true;
1233
+ }
1234
+
1235
+ if (hs.padToMinWidth && x.full < x.minSize) {
1236
+ x.imgSize = x.full;
1237
+ y.size = y.imgSize = y.full;
1238
+ } else if (this.useBox) {
1239
+ x.imgSize = xSize;
1240
+ y.imgSize = ySize;
1241
+ } else {
1242
+ x.size = xSize;
1243
+ y.size = ySize;
1244
+ }
1245
+ changed = this.fitOverlayBox(useBox ? null : ratio, changed);
1246
+ if (useBox && y.size < y.imgSize) {
1247
+ y.imgSize = y.size;
1248
+ x.imgSize = y.size * ratio;
1249
+ }
1250
+ if (changed || useBox) {
1251
+ x.pos = x.tpos - x.cb + x.tb;
1252
+ x.minSize = x.size;
1253
+ this.justify(x, true);
1254
+
1255
+ y.pos = y.tpos - y.cb + y.tb;
1256
+ y.minSize = y.size;
1257
+ this.justify(y, true);
1258
+ if (this.overlayBox) this.sizeOverlayBox();
1259
+ }
1260
+ },
1261
+ fitOverlayBox : function(ratio, changed) {
1262
+ var x = this.x, y = this.y;
1263
+ if (this.overlayBox) {
1264
+ while (y.size > this.minHeight && x.size > this.minWidth
1265
+ && y.get('wsize') > y.get('fitsize')) {
1266
+ y.size -= 10;
1267
+ if (ratio) x.size = y.size * ratio;
1268
+ this.sizeOverlayBox(0, 1);
1269
+ changed = true;
1270
+ }
1271
+ }
1272
+ return changed;
1273
+ },
1274
+
1275
+ show : function () {
1276
+ var x = this.x, y = this.y;
1277
+ this.doShowHide('hidden');
1278
+
1279
+ // Apply size change
1280
+ this.changeSize(
1281
+ 1, {
1282
+ wrapper: {
1283
+ width : x.get('wsize'),
1284
+ height : y.get('wsize'),
1285
+ left: x.pos,
1286
+ top: y.pos
1287
+ },
1288
+ content: {
1289
+ left: x.p1 + x.get('imgPad'),
1290
+ top: y.p1 + y.get('imgPad'),
1291
+ width:x.imgSize ||x.size,
1292
+ height:y.imgSize ||y.size
1293
+ }
1294
+ },
1295
+ hs.expandDuration
1296
+ );
1297
+ },
1298
+
1299
+ changeSize : function(up, to, dur) {
1300
+
1301
+ if (this.outline && !this.outlineWhileAnimating) {
1302
+ if (up) this.outline.setPosition();
1303
+ else this.outline.destroy();
1304
+ }
1305
+
1306
+
1307
+ if (!up) this.destroyOverlays();
1308
+
1309
+ var exp = this,
1310
+ x = exp.x,
1311
+ y = exp.y,
1312
+ easing = this.easing;
1313
+ if (!up) easing = this.easingClose || easing;
1314
+ var after = up ?
1315
+ function() {
1316
+
1317
+ if (exp.outline) exp.outline.table.style.visibility = "visible";
1318
+ setTimeout(function() {
1319
+ exp.afterExpand();
1320
+ }, 50);
1321
+ } :
1322
+ function() {
1323
+ exp.afterClose();
1324
+ };
1325
+ if (up) hs.setStyles( this.wrapper, {
1326
+ width: x.t +'px',
1327
+ height: y.t +'px'
1328
+ });
1329
+ if (this.fadeInOut) {
1330
+ hs.setStyles(this.wrapper, { opacity: up ? 0 : 1 });
1331
+ hs.extend(to.wrapper, { opacity: up });
1332
+ }
1333
+ hs.animate( this.wrapper, to.wrapper, {
1334
+ duration: dur,
1335
+ easing: easing,
1336
+ step: function(val, args) {
1337
+ if (exp.outline && exp.outlineWhileAnimating && args.prop == 'top') {
1338
+ var fac = up ? args.pos : 1 - args.pos;
1339
+ var pos = {
1340
+ w: x.t + (x.get('wsize') - x.t) * fac,
1341
+ h: y.t + (y.get('wsize') - y.t) * fac,
1342
+ x: x.tpos + (x.pos - x.tpos) * fac,
1343
+ y: y.tpos + (y.pos - y.tpos) * fac
1344
+ };
1345
+ exp.outline.setPosition(pos, 0, 1);
1346
+ }
1347
+ }
1348
+ });
1349
+ hs.animate( this.content, to.content, dur, easing, after);
1350
+ if (up) {
1351
+ this.wrapper.style.visibility = 'visible';
1352
+ this.content.style.visibility = 'visible';
1353
+ this.a.className += ' highslide-active-anchor';
1354
+ }
1355
+ },
1356
+
1357
+
1358
+
1359
+
1360
+ afterExpand : function() {
1361
+ this.isExpanded = true;
1362
+ this.focus();
1363
+ if (hs.upcoming && hs.upcoming == this.a) hs.upcoming = null;
1364
+ this.prepareNextOutline();
1365
+ var p = hs.page, mX = hs.mouse.x + p.scrollLeft, mY = hs.mouse.y + p.scrollTop;
1366
+ this.mouseIsOver = this.x.pos < mX && mX < this.x.pos + this.x.get('wsize')
1367
+ && this.y.pos < mY && mY < this.y.pos + this.y.get('wsize');
1368
+ if (this.overlayBox) this.showOverlays();
1369
+
1370
+ },
1371
+
1372
+
1373
+ prepareNextOutline : function() {
1374
+ var key = this.key;
1375
+ var outlineType = this.outlineType;
1376
+ new hs.Outline(outlineType,
1377
+ function () { try { hs.expanders[key].preloadNext(); } catch (e) {} });
1378
+ },
1379
+
1380
+
1381
+ preloadNext : function() {
1382
+ var next = this.getAdjacentAnchor(1);
1383
+ if (next && next.onclick.toString().match(/hs\.expand/))
1384
+ var img = hs.createElement('img', { src: hs.getSrc(next) });
1385
+ },
1386
+
1387
+
1388
+ getAdjacentAnchor : function(op) {
1389
+ var current = this.getAnchorIndex(), as = hs.anchors.groups[this.slideshowGroup || 'none'];
1390
+
1391
+ /*< ? if ($cfg->slideshow) : ?>s*/
1392
+ if (!as[current + op] && this.slideshow && this.slideshow.repeat) {
1393
+ if (op == 1) return as[0];
1394
+ else if (op == -1) return as[as.length-1];
1395
+ }
1396
+ /*< ? endif ?>s*/
1397
+ return as[current + op] || null;
1398
+ },
1399
+
1400
+ getAnchorIndex : function() {
1401
+ var arr = hs.getAnchors().groups[this.slideshowGroup || 'none'];
1402
+ if (arr) for (var i = 0; i < arr.length; i++) {
1403
+ if (arr[i] == this.a) return i;
1404
+ }
1405
+ return null;
1406
+ },
1407
+
1408
+
1409
+ cancelLoading : function() {
1410
+ hs.discardElement (this.wrapper);
1411
+ hs.expanders[this.key] = null;
1412
+ if (this.loading) hs.loading.style.left = '-9999px';
1413
+ },
1414
+
1415
+ writeCredits : function () {
1416
+ this.credits = hs.createElement('a', {
1417
+ href: hs.creditsHref,
1418
+ target: hs.creditsTarget,
1419
+ className: 'highslide-credits',
1420
+ innerHTML: hs.lang.creditsText,
1421
+ title: hs.lang.creditsTitle
1422
+ });
1423
+ this.createOverlay({
1424
+ overlayId: this.credits,
1425
+ position: this.creditsPosition || 'top left'
1426
+ });
1427
+ },
1428
+
1429
+ getInline : function(types, addOverlay) {
1430
+ for (var i = 0; i < types.length; i++) {
1431
+ var type = types[i], s = null;
1432
+ if (!this[type +'Id'] && this.thumbsUserSetId)
1433
+ this[type +'Id'] = type +'-for-'+ this.thumbsUserSetId;
1434
+ if (this[type +'Id']) this[type] = hs.getNode(this[type +'Id']);
1435
+ if (!this[type] && !this[type +'Text'] && this[type +'Eval']) try {
1436
+ s = eval(this[type +'Eval']);
1437
+ } catch (e) {}
1438
+ if (!this[type] && this[type +'Text']) {
1439
+ s = this[type +'Text'];
1440
+ }
1441
+ if (!this[type] && !s) {
1442
+ this[type] = hs.getNode(this.a['_'+ type + 'Id']);
1443
+ if (!this[type]) {
1444
+ var next = this.a.nextSibling;
1445
+ while (next && !hs.isHsAnchor(next)) {
1446
+ if ((new RegExp('highslide-'+ type)).test(next.className || null)) {
1447
+ if (!next.id) this.a['_'+ type + 'Id'] = next.id = 'hsId'+ hs.idCounter++;
1448
+ this[type] = hs.getNode(next.id);
1449
+ break;
1450
+ }
1451
+ next = next.nextSibling;
1452
+ }
1453
+ }
1454
+ }
1455
+
1456
+ if (!this[type] && s) this[type] = hs.createElement('div',
1457
+ { className: 'highslide-'+ type, innerHTML: s } );
1458
+
1459
+ if (addOverlay && this[type]) {
1460
+ var o = { position: (type == 'heading') ? 'above' : 'below' };
1461
+ for (var x in this[type+'Overlay']) o[x] = this[type+'Overlay'][x];
1462
+ o.overlayId = this[type];
1463
+ this.createOverlay(o);
1464
+ }
1465
+ }
1466
+ },
1467
+
1468
+
1469
+ // on end move and resize
1470
+ doShowHide : function(visibility) {
1471
+ if (hs.hideSelects) this.showHideElements('SELECT', visibility);
1472
+ if (hs.hideIframes) this.showHideElements('IFRAME', visibility);
1473
+ if (hs.geckoMac) this.showHideElements('*', visibility);
1474
+ },
1475
+ showHideElements : function (tagName, visibility) {
1476
+ var els = document.getElementsByTagName(tagName);
1477
+ var prop = tagName == '*' ? 'overflow' : 'visibility';
1478
+ for (var i = 0; i < els.length; i++) {
1479
+ if (prop == 'visibility' || (document.defaultView.getComputedStyle(
1480
+ els[i], "").getPropertyValue('overflow') == 'auto'
1481
+ || els[i].getAttribute('hidden-by') != null)) {
1482
+ var hiddenBy = els[i].getAttribute('hidden-by');
1483
+ if (visibility == 'visible' && hiddenBy) {
1484
+ hiddenBy = hiddenBy.replace('['+ this.key +']', '');
1485
+ els[i].setAttribute('hidden-by', hiddenBy);
1486
+ if (!hiddenBy) els[i].style[prop] = els[i].origProp;
1487
+ } else if (visibility == 'hidden') { // hide if behind
1488
+ var elPos = hs.getPosition(els[i]);
1489
+ elPos.w = els[i].offsetWidth;
1490
+ elPos.h = els[i].offsetHeight;
1491
+
1492
+
1493
+ var clearsX = (elPos.x + elPos.w < this.x.get('opos')
1494
+ || elPos.x > this.x.get('opos') + this.x.get('osize'));
1495
+ var clearsY = (elPos.y + elPos.h < this.y.get('opos')
1496
+ || elPos.y > this.y.get('opos') + this.y.get('osize'));
1497
+ var wrapperKey = hs.getWrapperKey(els[i]);
1498
+ if (!clearsX && !clearsY && wrapperKey != this.key) { // element falls behind image
1499
+ if (!hiddenBy) {
1500
+ els[i].setAttribute('hidden-by', '['+ this.key +']');
1501
+ els[i].origProp = els[i].style[prop];
1502
+ els[i].style[prop] = 'hidden';
1503
+
1504
+ } else if (hiddenBy.indexOf('['+ this.key +']') == -1) {
1505
+ els[i].setAttribute('hidden-by', hiddenBy + '['+ this.key +']');
1506
+ }
1507
+ } else if ((hiddenBy == '['+ this.key +']' || hs.focusKey == wrapperKey)
1508
+ && wrapperKey != this.key) { // on move
1509
+ els[i].setAttribute('hidden-by', '');
1510
+ els[i].style[prop] = els[i].origProp || '';
1511
+ } else if (hiddenBy && hiddenBy.indexOf('['+ this.key +']') > -1) {
1512
+ els[i].setAttribute('hidden-by', hiddenBy.replace('['+ this.key +']', ''));
1513
+ }
1514
+
1515
+ }
1516
+ }
1517
+ }
1518
+ },
1519
+
1520
+ focus : function() {
1521
+ this.wrapper.style.zIndex = hs.zIndexCounter += 2;
1522
+ // blur others
1523
+ for (var i = 0; i < hs.expanders.length; i++) {
1524
+ if (hs.expanders[i] && i == hs.focusKey) {
1525
+ var blurExp = hs.expanders[i];
1526
+ blurExp.content.className += ' highslide-'+ blurExp.contentType +'-blur';
1527
+ blurExp.content.style.cursor = hs.ie ? 'hand' : 'pointer';
1528
+ blurExp.content.title = hs.lang.focusTitle;
1529
+ }
1530
+ }
1531
+
1532
+ // focus this
1533
+ if (this.outline) this.outline.table.style.zIndex
1534
+ = this.wrapper.style.zIndex - 1;
1535
+ this.content.className = 'highslide-'+ this.contentType;
1536
+ this.content.title = hs.lang.restoreTitle;
1537
+
1538
+ if (hs.restoreCursor) {
1539
+ hs.styleRestoreCursor = window.opera ? 'pointer' : 'url('+ hs.graphicsDir + hs.restoreCursor +'), pointer';
1540
+ if (hs.ie && hs.uaVersion < 6) hs.styleRestoreCursor = 'hand';
1541
+ this.content.style.cursor = hs.styleRestoreCursor;
1542
+ }
1543
+
1544
+ hs.focusKey = this.key;
1545
+ hs.addEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
1546
+ },
1547
+ moveTo: function(x, y) {
1548
+ this.x.setPos(x);
1549
+ this.y.setPos(y);
1550
+ },
1551
+ resize : function (e) {
1552
+ var w, h, r = e.width / e.height;
1553
+ w = Math.max(e.width + e.dX, Math.min(this.minWidth, this.x.full));
1554
+ if (this.isImage && Math.abs(w - this.x.full) < 12) w = this.x.full;
1555
+ h = w / r;
1556
+ if (h < Math.min(this.minHeight, this.y.full)) {
1557
+ h = Math.min(this.minHeight, this.y.full);
1558
+ if (this.isImage) w = h * r;
1559
+ }
1560
+ this.resizeTo(w, h);
1561
+ },
1562
+ resizeTo: function(w, h) {
1563
+ this.y.setSize(h);
1564
+ this.x.setSize(w);
1565
+ this.wrapper.style.height = this.y.get('wsize') +'px';
1566
+ },
1567
+
1568
+ close : function() {
1569
+ if (this.isClosing || !this.isExpanded) return;
1570
+ this.isClosing = true;
1571
+
1572
+ hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
1573
+
1574
+ try {
1575
+ this.content.style.cursor = 'default';
1576
+ this.changeSize(
1577
+ 0, {
1578
+ wrapper: {
1579
+ width : this.x.t,
1580
+ height : this.y.t,
1581
+ left: this.x.tpos - this.x.cb + this.x.tb,
1582
+ top: this.y.tpos - this.y.cb + this.y.tb
1583
+ },
1584
+ content: {
1585
+ left: 0,
1586
+ top: 0,
1587
+ width: this.x.t,
1588
+ height: this.y.t
1589
+ }
1590
+ }, hs.restoreDuration
1591
+ );
1592
+ } catch (e) { this.afterClose(); }
1593
+ },
1594
+
1595
+ createOverlay : function (o) {
1596
+ var el = o.overlayId;
1597
+ if (typeof el == 'string') el = hs.getNode(el);
1598
+ if (o.html) el = hs.createElement('div', { innerHTML: o.html });
1599
+ if (!el || typeof el == 'string') return;
1600
+ el.style.display = 'block';
1601
+ this.genOverlayBox();
1602
+ var width = o.width && /^[0-9]+(px|%)$/.test(o.width) ? o.width : 'auto';
1603
+ if (/^(left|right)panel$/.test(o.position) && !/^[0-9]+px$/.test(o.width)) width = '200px';
1604
+ var overlay = hs.createElement(
1605
+ 'div', {
1606
+ id: 'hsId'+ hs.idCounter++,
1607
+ hsId: o.hsId
1608
+ }, {
1609
+ position: 'absolute',
1610
+ visibility: 'hidden',
1611
+ width: width,
1612
+ direction: hs.lang.cssDirection || '',
1613
+ opacity: 0
1614
+ },this.overlayBox,
1615
+ true
1616
+ );
1617
+
1618
+ overlay.appendChild(el);
1619
+ hs.extend(overlay, {
1620
+ opacity: 1,
1621
+ offsetX: 0,
1622
+ offsetY: 0,
1623
+ dur: (o.fade === 0 || o.fade === false || (o.fade == 2 && hs.ie)) ? 0 : 250
1624
+ });
1625
+ hs.extend(overlay, o);
1626
+
1627
+ if (this.gotOverlays) {
1628
+ this.positionOverlay(overlay);
1629
+ if (!overlay.hideOnMouseOut || this.mouseIsOver)
1630
+ hs.animate(overlay, { opacity: overlay.opacity }, overlay.dur);
1631
+ }
1632
+ hs.push(this.overlays, hs.idCounter - 1);
1633
+ },
1634
+ positionOverlay : function(overlay) {
1635
+ var p = overlay.position || 'middle center',
1636
+ offX = overlay.offsetX,
1637
+ offY = overlay.offsetY;
1638
+ if (overlay.parentNode != this.overlayBox) this.overlayBox.appendChild(overlay);
1639
+ if (/left$/.test(p)) overlay.style.left = offX +'px';
1640
+
1641
+ if (/center$/.test(p)) hs.setStyles (overlay, {
1642
+ left: '50%',
1643
+ marginLeft: (offX - Math.round(overlay.offsetWidth / 2)) +'px'
1644
+ });
1645
+
1646
+ if (/right$/.test(p)) overlay.style.right = - offX +'px';
1647
+
1648
+ if (/^leftpanel$/.test(p)) {
1649
+ hs.setStyles(overlay, {
1650
+ right: '100%',
1651
+ marginRight: this.x.cb +'px',
1652
+ top: - this.y.cb +'px',
1653
+ bottom: - this.y.cb +'px',
1654
+ overflow: 'auto'
1655
+ });
1656
+ this.x.p1 = overlay.offsetWidth;
1657
+
1658
+ } else if (/^rightpanel$/.test(p)) {
1659
+ hs.setStyles(overlay, {
1660
+ left: '100%',
1661
+ marginLeft: this.x.cb +'px',
1662
+ top: - this.y.cb +'px',
1663
+ bottom: - this.y.cb +'px',
1664
+ overflow: 'auto'
1665
+ });
1666
+ this.x.p2 = overlay.offsetWidth;
1667
+ }
1668
+
1669
+ if (/^top/.test(p)) overlay.style.top = offY +'px';
1670
+ if (/^middle/.test(p)) hs.setStyles (overlay, {
1671
+ top: '50%',
1672
+ marginTop: (offY - Math.round(overlay.offsetHeight / 2)) +'px'
1673
+ });
1674
+ if (/^bottom/.test(p)) overlay.style.bottom = - offY +'px';
1675
+ if (/^above$/.test(p)) {
1676
+ hs.setStyles(overlay, {
1677
+ left: (- this.x.p1 - this.x.cb) +'px',
1678
+ right: (- this.x.p2 - this.x.cb) +'px',
1679
+ bottom: '100%',
1680
+ marginBottom: this.y.cb +'px',
1681
+ width: 'auto'
1682
+ });
1683
+ this.y.p1 = overlay.offsetHeight;
1684
+
1685
+ } else if (/^below$/.test(p)) {
1686
+ hs.setStyles(overlay, {
1687
+ position: 'relative',
1688
+ left: (- this.x.p1 - this.x.cb) +'px',
1689
+ right: (- this.x.p2 - this.x.cb) +'px',
1690
+ top: '100%',
1691
+ marginTop: this.y.cb +'px',
1692
+ width: 'auto'
1693
+ });
1694
+ this.y.p2 = overlay.offsetHeight;
1695
+ overlay.style.position = 'absolute';
1696
+ }
1697
+ },
1698
+
1699
+ getOverlays : function() {
1700
+ this.getInline(['heading', 'caption'], true);
1701
+ if (this.heading && this.dragByHeading) this.heading.className += ' highslide-move';
1702
+ if (hs.showCredits) this.writeCredits();
1703
+ for (var i = 0; i < hs.overlays.length; i++) {
1704
+ var o = hs.overlays[i], tId = o.thumbnailId, sg = o.slideshowGroup;
1705
+ if ((!tId && !sg) || (tId && tId == this.thumbsUserSetId)
1706
+ || (sg && sg === this.slideshowGroup)) {
1707
+ this.createOverlay(o);
1708
+ }
1709
+ }
1710
+ var os = [];
1711
+ for (var i = 0; i < this.overlays.length; i++) {
1712
+ var o = hs.$('hsId'+ this.overlays[i]);
1713
+ if (/panel$/.test(o.position)) this.positionOverlay(o);
1714
+ else hs.push(os, o);
1715
+ }
1716
+ for (var i = 0; i < os.length; i++) this.positionOverlay(os[i]);
1717
+ this.gotOverlays = true;
1718
+ },
1719
+ genOverlayBox : function() {
1720
+ if (!this.overlayBox) this.overlayBox = hs.createElement (
1721
+ 'div', {
1722
+ className: this.wrapperClassName
1723
+ }, {
1724
+ position : 'absolute',
1725
+ width: (this.x.size || (this.useBox ? this.width : null)
1726
+ || this.x.full) +'px',
1727
+ height: (this.y.size || this.y.full) +'px',
1728
+ visibility : 'hidden',
1729
+ overflow : 'hidden',
1730
+ zIndex : hs.ie ? 4 : 'auto'
1731
+ },
1732
+ hs.container,
1733
+ true
1734
+ );
1735
+ },
1736
+ sizeOverlayBox : function(doWrapper, doPanels) {
1737
+ var overlayBox = this.overlayBox,
1738
+ x = this.x,
1739
+ y = this.y;
1740
+ hs.setStyles( overlayBox, {
1741
+ width: x.size +'px',
1742
+ height: y.size +'px'
1743
+ });
1744
+ if (doWrapper || doPanels) {
1745
+ for (var i = 0; i < this.overlays.length; i++) {
1746
+ var o = hs.$('hsId'+ this.overlays[i]);
1747
+ var ie6 = (hs.ieLt7 || document.compatMode == 'BackCompat');
1748
+ if (o && /^(above|below)$/.test(o.position)) {
1749
+ if (ie6) {
1750
+ o.style.width = (overlayBox.offsetWidth + 2 * x.cb
1751
+ + x.p1 + x.p2) +'px';
1752
+ }
1753
+ y[o.position == 'above' ? 'p1' : 'p2'] = o.offsetHeight;
1754
+ }
1755
+ if (o && ie6 && /^(left|right)panel$/.test(o.position)) {
1756
+ o.style.height = (overlayBox.offsetHeight + 2* y.cb) +'px';
1757
+ }
1758
+ }
1759
+ }
1760
+ if (doWrapper) {
1761
+ hs.setStyles(this.content, {
1762
+ top: y.p1 +'px'
1763
+ });
1764
+ hs.setStyles(overlayBox, {
1765
+ top: (y.p1 + y.cb) +'px'
1766
+ });
1767
+ }
1768
+ },
1769
+
1770
+ showOverlays : function() {
1771
+ var b = this.overlayBox;
1772
+ b.className = '';
1773
+ hs.setStyles(b, {
1774
+ top: (this.y.p1 + this.y.cb) +'px',
1775
+ left: (this.x.p1 + this.x.cb) +'px',
1776
+ overflow : 'visible'
1777
+ });
1778
+ if (hs.safari) b.style.visibility = 'visible';
1779
+ this.wrapper.appendChild (b);
1780
+ for (var i = 0; i < this.overlays.length; i++) {
1781
+ var o = hs.$('hsId'+ this.overlays[i]);
1782
+ o.style.zIndex = 4;
1783
+ if (!o.hideOnMouseOut || this.mouseIsOver) {
1784
+ o.style.visibility = 'visible';
1785
+ hs.setStyles(o, { visibility: 'visible', display: '' });
1786
+ hs.animate(o, { opacity: o.opacity }, o.dur);
1787
+ }
1788
+ }
1789
+ },
1790
+
1791
+ destroyOverlays : function() {
1792
+ if (!this.overlays.length) return;
1793
+ hs.discardElement(this.overlayBox);
1794
+ },
1795
+
1796
+
1797
+
1798
+ createFullExpand : function () {
1799
+ this.fullExpandLabel = hs.createElement(
1800
+ 'a', {
1801
+ href: 'javascript:hs.expanders['+ this.key +'].doFullExpand();',
1802
+ title: hs.lang.fullExpandTitle,
1803
+ className: 'highslide-full-expand'
1804
+ }
1805
+ );
1806
+
1807
+ this.createOverlay({
1808
+ overlayId: this.fullExpandLabel,
1809
+ position: hs.fullExpandPosition,
1810
+ hideOnMouseOut: true,
1811
+ opacity: hs.fullExpandOpacity
1812
+ });
1813
+ },
1814
+
1815
+ doFullExpand : function () {
1816
+ try {
1817
+ if (this.fullExpandLabel) hs.discardElement(this.fullExpandLabel);
1818
+
1819
+ this.focus();
1820
+ var xSize = this.x.size;
1821
+ this.resizeTo(this.x.full, this.y.full);
1822
+
1823
+ var xpos = this.x.pos - (this.x.size - xSize) / 2;
1824
+ if (xpos < hs.marginLeft) xpos = hs.marginLeft;
1825
+
1826
+ this.moveTo(xpos, this.y.pos);
1827
+ this.doShowHide('hidden');
1828
+
1829
+ } catch (e) {
1830
+ this.error(e);
1831
+ }
1832
+ },
1833
+
1834
+
1835
+ afterClose : function () {
1836
+ this.a.className = this.a.className.replace('highslide-active-anchor', '');
1837
+
1838
+ this.doShowHide('visible');
1839
+ if (this.outline && this.outlineWhileAnimating) this.outline.destroy();
1840
+
1841
+ hs.discardElement(this.wrapper);
1842
+
1843
+ hs.expanders[this.key] = null;
1844
+ hs.reOrder();
1845
+ }
1846
+
1847
+ };
1848
+ hs.langDefaults = hs.lang;
1849
+ // history
1850
+ var HsExpander = hs.Expander;
1851
+ if (hs.ie) {
1852
+ (function () {
1853
+ try {
1854
+ document.documentElement.doScroll('left');
1855
+ } catch (e) {
1856
+ setTimeout(arguments.callee, 50);
1857
+ return;
1858
+ }
1859
+ hs.ready();
1860
+ })();
1861
+ }
1862
+ hs.addEventListener(document, 'DOMContentLoaded', hs.ready);
1863
+ hs.addEventListener(window, 'load', hs.ready);
1864
+
1865
+ // set handlers
1866
+ hs.addEventListener(document, 'ready', function() {
1867
+ if (hs.expandCursor) {
1868
+ var style = hs.createElement('style', { type: 'text/css' }, null,
1869
+ document.getElementsByTagName('HEAD')[0]);
1870
+
1871
+ function addRule(sel, dec) {
1872
+ if (!hs.ie) {
1873
+ style.appendChild(document.createTextNode(sel + " {" + dec + "}"));
1874
+ } else {
1875
+ var last = document.styleSheets[document.styleSheets.length - 1];
1876
+ if (typeof(last.addRule) == "object") last.addRule(sel, dec);
1877
+ }
1878
+ }
1879
+ function fix(prop) {
1880
+ return 'expression( ( ( ignoreMe = document.documentElement.'+ prop +
1881
+ ' ? document.documentElement.'+ prop +' : document.body.'+ prop +' ) ) + \'px\' );';
1882
+ }
1883
+ if (hs.expandCursor) addRule ('.highslide img',
1884
+ 'cursor: url('+ hs.graphicsDir + hs.expandCursor +'), pointer !important;');
1885
+ }
1886
+ });
1887
+ hs.addEventListener(window, 'resize', function() {
1888
+ hs.getPageSize();
1889
+ });
1890
+ hs.addEventListener(document, 'mousemove', function(e) {
1891
+ hs.mouse = { x: e.clientX, y: e.clientY };
1892
+ });
1893
+ hs.addEventListener(document, 'mousedown', hs.mouseClickHandler);
1894
+ hs.addEventListener(document, 'mouseup', hs.mouseClickHandler);
1895
+
1896
+ hs.addEventListener(document, 'ready', hs.getAnchors);
1897
+ hs.addEventListener(window, 'load', hs.preloadImages);
1898
+ }
lightbox-gallery-ja.mo CHANGED
Binary file
lightbox-gallery-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-09-10 09:39+0900\n"
6
- "PO-Revision-Date: 2009-09-10 09:39+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -16,126 +16,155 @@ msgstr ""
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
 
19
- #: lightbox-gallery/lightbox-gallery.php:146
20
  msgid "Settings"
21
  msgstr "設定"
22
 
23
- #: lightbox-gallery/lightbox-gallery.php:154
24
- #: lightbox-gallery/lightbox-gallery.php:180
25
  msgid "Lightbox Gallery"
26
  msgstr "Lightbox Gallery"
27
 
28
- #: lightbox-gallery/lightbox-gallery.php:168
29
  msgid "Options updated."
30
  msgstr "オプションは更新されました。"
31
 
32
- #: lightbox-gallery/lightbox-gallery.php:172
33
  msgid "Options deleted."
34
  msgstr "オプションは削除されました。"
35
 
36
- #: lightbox-gallery/lightbox-gallery.php:186
37
- #: lightbox-gallery/lightbox-gallery.php:230
38
- #: lightbox-gallery/lightbox-gallery.php:246
39
  msgid "Click to toggle"
40
  msgstr "クリックで切替"
41
 
42
- #: lightbox-gallery/lightbox-gallery.php:187
43
  msgid "Lightbox Gallery Options"
44
  msgstr "Lightbox Gallery オプション"
45
 
46
- #: lightbox-gallery/lightbox-gallery.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
48
  msgstr "特定のカテゴリーでLightboxを使用したい場合(カンマ区切り)"
49
 
50
- #: lightbox-gallery/lightbox-gallery.php:197
51
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
52
  msgstr "特定のページでLightboxを使用したい場合(カンマ区切り)"
53
 
54
- #: lightbox-gallery/lightbox-gallery.php:201
55
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
56
  msgstr "lightbox-gallery.cssの読み込みを禁止する場合"
57
 
58
- #: lightbox-gallery/lightbox-gallery.php:202
59
  msgid "Do not use the lightbox-gallery.css"
60
  msgstr "lightbox-gallery.cssを使用しない"
61
 
62
- #: lightbox-gallery/lightbox-gallery.php:205
63
  msgid "In case that you would like to disable to load the column inline css"
64
  msgstr "コラムのインラインcssの読み込みを禁止する場合"
65
 
66
- #: lightbox-gallery/lightbox-gallery.php:206
67
  msgid "Do not use the column inline css"
68
  msgstr "コラムのインラインcssを使用しない"
69
 
70
- #: lightbox-gallery/lightbox-gallery.php:209
71
  msgid "In case that you would like to set the default number of columns"
72
  msgstr "デフォルトのコラム数をセットする場合"
73
 
74
- #: lightbox-gallery/lightbox-gallery.php:213
75
  msgid "In case that you would like to set the default thumbnail size"
76
  msgstr "デフォルトのサムネイルサイズをセットする場合"
77
 
78
- #: lightbox-gallery/lightbox-gallery.php:217
79
  msgid "In case that you would like to set the default lightbox size"
80
  msgstr "デフォルトのlightboxサイズをセットする場合"
81
 
82
- #: lightbox-gallery/lightbox-gallery.php:221
 
 
 
 
 
 
 
 
 
 
 
 
83
  msgid "Update Options &raquo;"
84
  msgstr "オプションを更新する &raquo;"
85
 
86
- #: lightbox-gallery/lightbox-gallery.php:231
87
  msgid "Delete Options"
88
  msgstr "オプションを削除する"
89
 
90
- #: lightbox-gallery/lightbox-gallery.php:233
91
  msgid "Are you sure to delete options? Options you set will be deleted."
92
  msgstr "本当にオプションを削除しますか?設定したオプションは削除されます。"
93
 
94
- #: lightbox-gallery/lightbox-gallery.php:237
95
  msgid "Delete Options &raquo;"
96
  msgstr "オプションを削除する &raquo;"
97
 
98
- #: lightbox-gallery/lightbox-gallery.php:247
99
  msgid "Donation"
100
  msgstr "寄付"
101
 
102
- #: lightbox-gallery/lightbox-gallery.php:249
103
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
104
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
105
 
106
- #: lightbox-gallery/lightbox-gallery.php:329
107
  msgid "Pages:"
108
  msgstr "ページ:"
109
 
110
- #: lightbox-gallery/lightbox-gallery.php:331
111
  msgid "Next page"
112
  msgstr "次のページ"
113
 
114
- #: lightbox-gallery/lightbox-gallery.php:332
115
  msgid "Previous page"
116
  msgstr "前のページ"
117
 
118
- #: lightbox-gallery/lightbox-gallery.php:385
119
  msgid "camera"
120
  msgstr "機種"
121
 
122
- #: lightbox-gallery/lightbox-gallery.php:387
123
  msgid "aperture"
124
  msgstr "絞り値"
125
 
126
- #: lightbox-gallery/lightbox-gallery.php:389
127
  msgid "focal_length"
128
  msgstr "焦点距離"
129
 
130
- #: lightbox-gallery/lightbox-gallery.php:391
131
  msgid "ISO"
132
  msgstr "ISO"
133
 
134
- #: lightbox-gallery/lightbox-gallery.php:395
135
  msgid "shutter_speed"
136
  msgstr "シャッタースピード"
137
 
138
- #: lightbox-gallery/lightbox-gallery.php:398
139
  msgid "created_timestamp"
140
  msgstr "撮影日時"
141
 
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-08 18:55+0900\n"
6
+ "PO-Revision-Date: 2009-11-08 18:59+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
 
19
+ #: lightbox-gallery/lightbox-gallery.php:160
20
  msgid "Settings"
21
  msgstr "設定"
22
 
23
+ #: lightbox-gallery/lightbox-gallery.php:168
24
+ #: lightbox-gallery/lightbox-gallery.php:194
25
  msgid "Lightbox Gallery"
26
  msgstr "Lightbox Gallery"
27
 
28
+ #: lightbox-gallery/lightbox-gallery.php:182
29
  msgid "Options updated."
30
  msgstr "オプションは更新されました。"
31
 
32
+ #: lightbox-gallery/lightbox-gallery.php:186
33
  msgid "Options deleted."
34
  msgstr "オプションは削除されました。"
35
 
36
+ #: lightbox-gallery/lightbox-gallery.php:200
37
+ #: lightbox-gallery/lightbox-gallery.php:261
38
+ #: lightbox-gallery/lightbox-gallery.php:277
39
  msgid "Click to toggle"
40
  msgstr "クリックで切替"
41
 
42
+ #: lightbox-gallery/lightbox-gallery.php:201
43
  msgid "Lightbox Gallery Options"
44
  msgstr "Lightbox Gallery オプション"
45
 
46
+ #: lightbox-gallery/lightbox-gallery.php:210
47
+ msgid "Choose the gallery loading type"
48
+ msgstr "ギャラリー読込タイプを選択してください"
49
+
50
+ #: lightbox-gallery/lightbox-gallery.php:211
51
+ msgid "Lightbox"
52
+ msgstr "Lightbox"
53
+
54
+ #: lightbox-gallery/lightbox-gallery.php:212
55
+ msgid "Highslide JS"
56
+ msgstr "Highslide JS"
57
+
58
+ #: lightbox-gallery/lightbox-gallery.php:213
59
+ #, php-format
60
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
61
+ msgstr "注意: Highslide JSは、Creative Commons 表示-非営利 2.5 一般のライセンスです。Highslide JSを商用ウェブサイトで使用するには著作者の許可が必要です。<a href=\"%s\" target=\"_blank\">著作者のウェブサイトをご覧ください。</a>"
62
+
63
+ #: lightbox-gallery/lightbox-gallery.php:216
64
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
65
  msgstr "特定のカテゴリーでLightboxを使用したい場合(カンマ区切り)"
66
 
67
+ #: lightbox-gallery/lightbox-gallery.php:220
68
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
69
  msgstr "特定のページでLightboxを使用したい場合(カンマ区切り)"
70
 
71
+ #: lightbox-gallery/lightbox-gallery.php:224
72
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
73
  msgstr "lightbox-gallery.cssの読み込みを禁止する場合"
74
 
75
+ #: lightbox-gallery/lightbox-gallery.php:225
76
  msgid "Do not use the lightbox-gallery.css"
77
  msgstr "lightbox-gallery.cssを使用しない"
78
 
79
+ #: lightbox-gallery/lightbox-gallery.php:228
80
  msgid "In case that you would like to disable to load the column inline css"
81
  msgstr "コラムのインラインcssの読み込みを禁止する場合"
82
 
83
+ #: lightbox-gallery/lightbox-gallery.php:229
84
  msgid "Do not use the column inline css"
85
  msgstr "コラムのインラインcssを使用しない"
86
 
87
+ #: lightbox-gallery/lightbox-gallery.php:232
88
  msgid "In case that you would like to set the default number of columns"
89
  msgstr "デフォルトのコラム数をセットする場合"
90
 
91
+ #: lightbox-gallery/lightbox-gallery.php:236
92
  msgid "In case that you would like to set the default thumbnail size"
93
  msgstr "デフォルトのサムネイルサイズをセットする場合"
94
 
95
+ #: lightbox-gallery/lightbox-gallery.php:240
96
  msgid "In case that you would like to set the default lightbox size"
97
  msgstr "デフォルトのlightboxサイズをセットする場合"
98
 
99
+ #: lightbox-gallery/lightbox-gallery.php:247
100
+ msgid "Choose the script loading point"
101
+ msgstr "スクリプトの読込ポイントを選択してください"
102
+
103
+ #: lightbox-gallery/lightbox-gallery.php:248
104
+ msgid "Header"
105
+ msgstr "ヘッダー"
106
+
107
+ #: lightbox-gallery/lightbox-gallery.php:249
108
+ msgid "Footer"
109
+ msgstr "フッター"
110
+
111
+ #: lightbox-gallery/lightbox-gallery.php:252
112
  msgid "Update Options &raquo;"
113
  msgstr "オプションを更新する &raquo;"
114
 
115
+ #: lightbox-gallery/lightbox-gallery.php:262
116
  msgid "Delete Options"
117
  msgstr "オプションを削除する"
118
 
119
+ #: lightbox-gallery/lightbox-gallery.php:264
120
  msgid "Are you sure to delete options? Options you set will be deleted."
121
  msgstr "本当にオプションを削除しますか?設定したオプションは削除されます。"
122
 
123
+ #: lightbox-gallery/lightbox-gallery.php:268
124
  msgid "Delete Options &raquo;"
125
  msgstr "オプションを削除する &raquo;"
126
 
127
+ #: lightbox-gallery/lightbox-gallery.php:278
128
  msgid "Donation"
129
  msgstr "寄付"
130
 
131
+ #: lightbox-gallery/lightbox-gallery.php:280
132
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
133
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
134
 
135
+ #: lightbox-gallery/lightbox-gallery.php:362
136
  msgid "Pages:"
137
  msgstr "ページ:"
138
 
139
+ #: lightbox-gallery/lightbox-gallery.php:364
140
  msgid "Next page"
141
  msgstr "次のページ"
142
 
143
+ #: lightbox-gallery/lightbox-gallery.php:365
144
  msgid "Previous page"
145
  msgstr "前のページ"
146
 
147
+ #: lightbox-gallery/lightbox-gallery.php:435
148
  msgid "camera"
149
  msgstr "機種"
150
 
151
+ #: lightbox-gallery/lightbox-gallery.php:437
152
  msgid "aperture"
153
  msgstr "絞り値"
154
 
155
+ #: lightbox-gallery/lightbox-gallery.php:439
156
  msgid "focal_length"
157
  msgstr "焦点距離"
158
 
159
+ #: lightbox-gallery/lightbox-gallery.php:441
160
  msgid "ISO"
161
  msgstr "ISO"
162
 
163
+ #: lightbox-gallery/lightbox-gallery.php:445
164
  msgid "shutter_speed"
165
  msgstr "シャッタースピード"
166
 
167
+ #: lightbox-gallery/lightbox-gallery.php:448
168
  msgid "created_timestamp"
169
  msgstr "撮影日時"
170
 
lightbox-gallery-tr_TR.mo ADDED
Binary file
lightbox-gallery-tr_TR.po ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Lightbox Gallery v0.5\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2009-09-28 22:57+0300\n"
7
+ "Last-Translator: Hakan Demiray <hakan@dmry.net>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Turkish\n"
14
+ "X-Poedit-Country: TURKEY\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: lightbox-gallery.php:146
23
+ msgid "Settings"
24
+ msgstr ""
25
+
26
+ #: lightbox-gallery.php:154
27
+ #: lightbox-gallery.php:180
28
+ #@ lightbox-gallery
29
+ msgid "Lightbox Gallery"
30
+ msgstr "Lightbox Galeri"
31
+
32
+ #: lightbox-gallery.php:168
33
+ #@ lightbox-gallery
34
+ msgid "Options updated."
35
+ msgstr "Ayarlar güncellendi."
36
+
37
+ #: lightbox-gallery.php:172
38
+ #@ lightbox-gallery
39
+ msgid "Options deleted."
40
+ msgstr "Ayarlar silindi."
41
+
42
+ #: lightbox-gallery.php:186
43
+ #: lightbox-gallery.php:230
44
+ #: lightbox-gallery.php:246
45
+ #@ lightbox-gallery
46
+ msgid "Click to toggle"
47
+ msgstr "Değiştirmek için tıklayın"
48
+
49
+ #: lightbox-gallery.php:187
50
+ #@ lightbox-gallery
51
+ msgid "Lightbox Gallery Options"
52
+ msgstr "Lightbox Galeri Ayarları"
53
+
54
+ #: lightbox-gallery.php:193
55
+ #@ lightbox-gallery
56
+ msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
57
+ msgstr "Belli kategorilerde lightbox kullanmak istiyorsanız virgülle (,) ayrılmış olarak giriniz"
58
+
59
+ #: lightbox-gallery.php:197
60
+ #@ lightbox-gallery
61
+ msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
62
+ msgstr "Belli sayfalarda lightbox kullanmak istiyorsanız virgülle (,) ayrılmış olarak giriniz"
63
+
64
+ #: lightbox-gallery.php:201
65
+ #@ lightbox-gallery
66
+ msgid "In case that you would like to disable to load the lightbox-gallery.css"
67
+ msgstr "lightbox-gallery.css dosyasının yüklenmesini istemiyorsanız seçiniz"
68
+
69
+ #: lightbox-gallery.php:202
70
+ #@ lightbox-gallery
71
+ msgid "Do not use the lightbox-gallery.css"
72
+ msgstr "lightbox-gallery.css dosyasını kullanma"
73
+
74
+ #: lightbox-gallery.php:205
75
+ #@ lightbox-gallery
76
+ msgid "In case that you would like to disable to load the column inline css"
77
+ msgstr "Sütun etiketi içerisinde CSS kullanımını iptal etmek istiyorsanız seçiniz"
78
+
79
+ #: lightbox-gallery.php:206
80
+ #@ lightbox-gallery
81
+ msgid "Do not use the column inline css"
82
+ msgstr "Sütun etiketi içerisinde CSS kullanma"
83
+
84
+ #: lightbox-gallery.php:209
85
+ #@ lightbox-gallery
86
+ msgid "In case that you would like to set the default number of columns"
87
+ msgstr "Varsayılan sütun sayısını belirtiniz"
88
+
89
+ #: lightbox-gallery.php:213
90
+ #@ lightbox-gallery
91
+ msgid "In case that you would like to set the default thumbnail size"
92
+ msgstr "Varsayılan küçük resim boyutunu seçiniz"
93
+
94
+ #: lightbox-gallery.php:217
95
+ #@ lightbox-gallery
96
+ msgid "In case that you would like to set the default lightbox size"
97
+ msgstr "Varsayılan lightbox boyutunu seçiniz"
98
+
99
+ #: lightbox-gallery.php:221
100
+ #@ lightbox-gallery
101
+ msgid "Update Options &raquo;"
102
+ msgstr "Ayarları Güncelle &raquo;"
103
+
104
+ #: lightbox-gallery.php:231
105
+ #@ lightbox-gallery
106
+ msgid "Delete Options"
107
+ msgstr "Ayarları Sil"
108
+
109
+ #: lightbox-gallery.php:233
110
+ #@ lightbox-gallery
111
+ msgid "Are you sure to delete options? Options you set will be deleted."
112
+ msgstr "Ayarları silmekten emin misiniz? Tanımladığınız ayarlar silinecektir."
113
+
114
+ #: lightbox-gallery.php:237
115
+ #@ lightbox-gallery
116
+ msgid "Delete Options &raquo;"
117
+ msgstr "Ayarları Sil &raquo;"
118
+
119
+ #: lightbox-gallery.php:247
120
+ #@ lightbox-gallery
121
+ msgid "Donation"
122
+ msgstr "Bağış"
123
+
124
+ #: lightbox-gallery.php:249
125
+ #@ lightbox-gallery
126
+ msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
127
+ msgstr "Eğer bu eklentiyi sevdiyseniz, lütfen Paypal yolu ile bağış yapınız! Herhangi bir miktar ile yapabilirsiniz. Desteğiniz için teşekkürü borç biliriz."
128
+
129
+ #: lightbox-gallery.php:329
130
+ msgid "Pages:"
131
+ msgstr ""
132
+
133
+ #: lightbox-gallery.php:331
134
+ msgid "Next page"
135
+ msgstr ""
136
+
137
+ #: lightbox-gallery.php:332
138
+ msgid "Previous page"
139
+ msgstr ""
140
+
141
+ #: lightbox-gallery.php:385
142
+ #@ lightbox-gallery
143
+ msgid "camera"
144
+ msgstr "kamera"
145
+
146
+ #: lightbox-gallery.php:387
147
+ #@ lightbox-gallery
148
+ msgid "aperture"
149
+ msgstr "diyafram"
150
+
151
+ #: lightbox-gallery.php:389
152
+ #@ lightbox-gallery
153
+ msgid "focal_length"
154
+ msgstr "odak uzaklığı"
155
+
156
+ #: lightbox-gallery.php:391
157
+ #@ lightbox-gallery
158
+ msgid "ISO"
159
+ msgstr "ISO"
160
+
161
+ #: lightbox-gallery.php:395
162
+ #@ lightbox-gallery
163
+ msgid "shutter_speed"
164
+ msgstr "çekim hızı"
165
+
166
+ #: lightbox-gallery.php:398
167
+ #@ lightbox-gallery
168
+ msgid "created_timestamp"
169
+ msgstr "oluşturma tarihi"
170
+
lightbox-gallery.css CHANGED
@@ -1,12 +1,13 @@
1
  @charset "utf-8";
2
 
3
- .gallery {margin: auto;}
4
- .gallery-item {float: left; margin: 10px auto; text-align: center;}
5
- .gallery img {border: 2px solid #cfcfcf;}
6
  /* If you want to show images slowly, use this. And you need to edit lightbox-gallery.js too. */
7
  /* .gallery img {display: none; border: 2px solid #cfcfcf;} */
8
- .gallery-caption {margin-left: 0; display:none;}
9
 
 
10
  #tooltip {
11
  position: absolute;
12
  z-index: 3000;
@@ -17,6 +18,7 @@
17
  }
18
  #tooltip h3, #tooltip div { margin: 0; }
19
 
 
20
  #jquery-overlay {
21
  position: absolute;
22
  top: 0;
@@ -105,3 +107,890 @@
105
  float: right;
106
  padding-bottom: 0.7em;
107
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  @charset "utf-8";
2
 
3
+ .gallery { margin: auto; }
4
+ .gallery-item { float: left; margin: 10px auto; text-align: center; }
5
+ .gallery img { border: 2px solid #cfcfcf; }
6
  /* If you want to show images slowly, use this. And you need to edit lightbox-gallery.js too. */
7
  /* .gallery img {display: none; border: 2px solid #cfcfcf;} */
8
+ .gallery-caption { margin-left: 0; display:none; }
9
 
10
+ /* Tooltip */
11
  #tooltip {
12
  position: absolute;
13
  z-index: 3000;
18
  }
19
  #tooltip h3, #tooltip div { margin: 0; }
20
 
21
+ /* Lightbox */
22
  #jquery-overlay {
23
  position: absolute;
24
  top: 0;
107
  float: right;
108
  padding-bottom: 0.7em;
109
  }
110
+
111
+ /* Highslide JS */
112
+ /**
113
+ * @file: highslide.css
114
+ * @version: 4.1.8
115
+ */
116
+ .highslide-container div {
117
+ font-family: Verdana, Helvetica;
118
+ font-size: 10pt;
119
+ }
120
+ .highslide-container table {
121
+ background: none;
122
+ }
123
+ .highslide {
124
+ outline: none;
125
+ text-decoration: none;
126
+ }
127
+ .highslide img {
128
+ border: 2px solid silver;
129
+ }
130
+ .highslide:hover img {
131
+ border-color: gray;
132
+ }
133
+ .highslide-active-anchor img {
134
+ visibility: hidden;
135
+ }
136
+ .highslide-gallery .highslide-active-anchor img {
137
+ border-color: black;
138
+ visibility: visible;
139
+ cursor: default;
140
+ }
141
+ .highslide-image {
142
+ border-width: 2px;
143
+ border-style: solid;
144
+ border-color: white;
145
+ background: gray;
146
+ }
147
+ .highslide-wrapper, .highslide-outline {
148
+ background: white;
149
+ }
150
+ .glossy-dark {
151
+ background: #111;
152
+ }
153
+
154
+ .highslide-image-blur {
155
+ }
156
+ .highslide-number {
157
+ font-weight: bold;
158
+ color: gray;
159
+ font-size: .9em;
160
+ }
161
+ .highslide-caption {
162
+ display: none;
163
+ font-size: 1em;
164
+ padding: 5px;
165
+ /*background: white;*/
166
+ }
167
+ .highslide-heading {
168
+ display: none;
169
+ font-weight: bold;
170
+ margin: 0.4em;
171
+ }
172
+ .highslide-dimming {
173
+ position: absolute;
174
+ background: black;
175
+ }
176
+ a.highslide-full-expand {
177
+ background: url(graphics/fullexpand.gif) no-repeat;
178
+ display: block;
179
+ margin: 0 10px 10px 0;
180
+ width: 34px;
181
+ height: 34px;
182
+ }
183
+ .highslide-loading {
184
+ display: block;
185
+ color: black;
186
+ font-size: 9px;
187
+ font-weight: bold;
188
+ text-transform: uppercase;
189
+ text-decoration: none;
190
+ padding: 3px;
191
+ border: 1px solid white;
192
+ background-color: white;
193
+ padding-left: 22px;
194
+ background-image: url(graphics/loader.white.gif);
195
+ background-repeat: no-repeat;
196
+ background-position: 3px 1px;
197
+ }
198
+ a.highslide-credits,
199
+ a.highslide-credits i {
200
+ padding: 2px;
201
+ color: silver;
202
+ text-decoration: none;
203
+ font-size: 10px;
204
+ }
205
+ a.highslide-credits:hover,
206
+ a.highslide-credits:hover i {
207
+ color: white;
208
+ background-color: gray;
209
+ }
210
+ .highslide-move, .highslide-move * {
211
+ cursor: move;
212
+ }
213
+
214
+ .highslide-viewport {
215
+ display: none;
216
+ position: fixed;
217
+ width: 100%;
218
+ height: 100%;
219
+ z-index: 1;
220
+ background: none;
221
+ left: 0;
222
+ top: 0;
223
+ }
224
+ .highslide-overlay {
225
+ display: none;
226
+ }
227
+ .hidden-container {
228
+ display: none;
229
+ }
230
+ /* Example of a semitransparent, offset closebutton */
231
+ .closebutton {
232
+ position: relative;
233
+ top: -15px;
234
+ left: 15px;
235
+ width: 30px;
236
+ height: 30px;
237
+ cursor: pointer;
238
+ background: url(graphics/close.png);
239
+ /* NOTE! For IE6, you also need to update the highslide-ie6.css file. */
240
+ }
241
+
242
+ /*****************************************************************************/
243
+ /* Thumbnail boxes for the galleries. */
244
+ /* Remove these if you are not using a gallery. */
245
+ /*****************************************************************************/
246
+ .highslide-gallery ul {
247
+ list-style-type: none;
248
+ margin: 0;
249
+ padding: 0;
250
+ }
251
+ .highslide-gallery ul li {
252
+ display: block;
253
+ position: relative;
254
+ float: left;
255
+ width: 106px;
256
+ height: 106px;
257
+ border: 1px solid silver;
258
+ background: #ededed;
259
+ margin: 2px;
260
+ line-height: 0;
261
+ overflow: hidden;
262
+ }
263
+ .highslide-gallery ul a {
264
+ position: absolute;
265
+ top: 50%;
266
+ left: 50%;
267
+ }
268
+ .highslide-gallery ul img {
269
+ position: relative;
270
+ top: -50%;
271
+ left: -50%;
272
+ }
273
+ html>/**/body .highslide-gallery ul li {
274
+ display: table;
275
+ text-align: center;
276
+ }
277
+ html>/**/body .highslide-gallery ul li {
278
+ text-align: center;
279
+ }
280
+ html>/**/body .highslide-gallery ul a {
281
+ position: static;
282
+ display: table-cell;
283
+ vertical-align: middle;
284
+ }
285
+ html>/**/body .highslide-gallery ul img {
286
+ position: static;
287
+ }
288
+
289
+ /*****************************************************************************/
290
+ /* Controls for the galleries. */
291
+ /* Remove these if you are not using a gallery */
292
+ /*****************************************************************************/
293
+ .highslide-controls {
294
+ width: 195px;
295
+ height: 40px;
296
+ background: url(graphics/controlbar-white.gif) 0 -90px no-repeat;
297
+ margin: 20px 15px 10px 0;
298
+ }
299
+ .highslide-controls ul {
300
+ position: relative;
301
+ left: 15px;
302
+ height: 40px;
303
+ list-style: none;
304
+ margin: 0;
305
+ padding: 0;
306
+ background: url(graphics/controlbar-white.gif) right -90px no-repeat;
307
+
308
+ }
309
+ .highslide-controls li {
310
+ float: left;
311
+ padding: 5px 0;
312
+ margin:0;
313
+ list-style: none;
314
+ }
315
+ .highslide-controls a {
316
+ background-image: url(graphics/controlbar-white.gif);
317
+ display: block;
318
+ float: left;
319
+ height: 30px;
320
+ width: 30px;
321
+ outline: none;
322
+ }
323
+ .highslide-controls a.disabled {
324
+ cursor: default;
325
+ }
326
+ .highslide-controls a.disabled span {
327
+ cursor: default;
328
+ }
329
+ .highslide-controls a span {
330
+ /* hide the text for these graphic buttons */
331
+ display: none;
332
+ cursor: pointer;
333
+ }
334
+
335
+
336
+ /* The CSS sprites for the controlbar - see http://www.google.com/search?q=css+sprites */
337
+ .highslide-controls .highslide-previous a {
338
+ background-position: 0 0;
339
+ }
340
+ .highslide-controls .highslide-previous a:hover {
341
+ background-position: 0 -30px;
342
+ }
343
+ .highslide-controls .highslide-previous a.disabled {
344
+ background-position: 0 -60px !important;
345
+ }
346
+ .highslide-controls .highslide-play a {
347
+ background-position: -30px 0;
348
+ }
349
+ .highslide-controls .highslide-play a:hover {
350
+ background-position: -30px -30px;
351
+ }
352
+ .highslide-controls .highslide-play a.disabled {
353
+ background-position: -30px -60px !important;
354
+ }
355
+ .highslide-controls .highslide-pause a {
356
+ background-position: -60px 0;
357
+ }
358
+ .highslide-controls .highslide-pause a:hover {
359
+ background-position: -60px -30px;
360
+ }
361
+ .highslide-controls .highslide-next a {
362
+ background-position: -90px 0;
363
+ }
364
+ .highslide-controls .highslide-next a:hover {
365
+ background-position: -90px -30px;
366
+ }
367
+ .highslide-controls .highslide-next a.disabled {
368
+ background-position: -90px -60px !important;
369
+ }
370
+ .highslide-controls .highslide-move a {
371
+ background-position: -120px 0;
372
+ }
373
+ .highslide-controls .highslide-move a:hover {
374
+ background-position: -120px -30px;
375
+ }
376
+ .highslide-controls .highslide-full-expand a {
377
+ background-position: -150px 0;
378
+ }
379
+ .highslide-controls .highslide-full-expand a:hover {
380
+ background-position: -150px -30px;
381
+ }
382
+ .highslide-controls .highslide-full-expand a.disabled {
383
+ background-position: -150px -60px !important;
384
+ }
385
+ .highslide-controls .highslide-close a {
386
+ background-position: -180px 0;
387
+ }
388
+ .highslide-controls .highslide-close a:hover {
389
+ background-position: -180px -30px;
390
+ }
391
+
392
+ /*****************************************************************************/
393
+ /* Styles for the HTML popups */
394
+ /* Remove these if you are not using Highslide HTML */
395
+ /*****************************************************************************/
396
+ .highslide-maincontent {
397
+ display: none;
398
+ }
399
+ .highslide-html {
400
+ background-color: white;
401
+ }
402
+ .highslide-html-content {
403
+ display: none;
404
+ width: 400px;
405
+ padding: 0 5px 5px 5px;
406
+ }
407
+ .highslide-header {
408
+ padding-bottom: 5px;
409
+ }
410
+ .highslide-header ul {
411
+ margin: 0;
412
+ padding: 0;
413
+ text-align: right;
414
+ }
415
+ .highslide-header ul li {
416
+ display: inline;
417
+ padding-left: 1em;
418
+ }
419
+ .highslide-header ul li.highslide-previous, .highslide-header ul li.highslide-next {
420
+ display: none;
421
+ }
422
+ .highslide-header a {
423
+ font-weight: bold;
424
+ color: gray;
425
+ text-transform: uppercase;
426
+ text-decoration: none;
427
+ }
428
+ .highslide-header a:hover {
429
+ color: black;
430
+ }
431
+ .highslide-header .highslide-move a {
432
+ cursor: move;
433
+ }
434
+ .highslide-footer {
435
+ height: 16px;
436
+ }
437
+ .highslide-footer .highslide-resize {
438
+ display: block;
439
+ float: right;
440
+ margin-top: 5px;
441
+ height: 11px;
442
+ width: 11px;
443
+ background: url(graphics/resize.gif) no-repeat;
444
+ }
445
+ .highslide-footer .highslide-resize span {
446
+ display: none;
447
+ }
448
+ .highslide-body {
449
+ }
450
+ .highslide-resize {
451
+ cursor: nw-resize;
452
+ }
453
+
454
+ /*****************************************************************************/
455
+ /* Styles for the Individual wrapper class names. */
456
+ /* See www.highslide.com/ref/hs.wrapperClassName */
457
+ /* You can safely remove the class name themes you don't use */
458
+ /*****************************************************************************/
459
+
460
+ /* hs.wrapperClassName = 'draggable-header' */
461
+ .draggable-header .highslide-header {
462
+ height: 18px;
463
+ border-bottom: 1px solid #dddddd;
464
+ }
465
+ .draggable-header .highslide-heading {
466
+ position: absolute;
467
+ margin: 2px 0.4em;
468
+ }
469
+
470
+ .draggable-header .highslide-header .highslide-move {
471
+ cursor: move;
472
+ display: block;
473
+ height: 16px;
474
+ position: absolute;
475
+ right: 24px;
476
+ top: 0;
477
+ width: 100%;
478
+ z-index: 1;
479
+ }
480
+ .draggable-header .highslide-header .highslide-move * {
481
+ display: none;
482
+ }
483
+ .draggable-header .highslide-header .highslide-close {
484
+ position: absolute;
485
+ right: 2px;
486
+ top: 2px;
487
+ z-index: 5;
488
+ padding: 0;
489
+ }
490
+ .draggable-header .highslide-header .highslide-close a {
491
+ display: block;
492
+ height: 16px;
493
+ width: 16px;
494
+ background-image: url(graphics/closeX.png);
495
+ }
496
+ .draggable-header .highslide-header .highslide-close a:hover {
497
+ background-position: 0 16px;
498
+ }
499
+ .draggable-header .highslide-header .highslide-close span {
500
+ display: none;
501
+ }
502
+ .draggable-header .highslide-maincontent {
503
+ padding-top: 1em;
504
+ }
505
+
506
+ /* hs.wrapperClassName = 'titlebar' */
507
+ .titlebar .highslide-header {
508
+ height: 18px;
509
+ border-bottom: 1px solid #dddddd;
510
+ }
511
+ .titlebar .highslide-heading {
512
+ position: absolute;
513
+ width: 90%;
514
+ margin: 1px 0 1px 5px;
515
+ color: #666666;
516
+ }
517
+
518
+ .titlebar .highslide-header .highslide-move {
519
+ cursor: move;
520
+ display: block;
521
+ height: 16px;
522
+ position: absolute;
523
+ right: 24px;
524
+ top: 0;
525
+ width: 100%;
526
+ z-index: 1;
527
+ }
528
+ .titlebar .highslide-header .highslide-move * {
529
+ display: none;
530
+ }
531
+ .titlebar .highslide-header li {
532
+ position: relative;
533
+ top: 3px;
534
+ z-index: 2;
535
+ padding: 0 0 0 1em;
536
+ }
537
+ .titlebar .highslide-maincontent {
538
+ padding-top: 1em;
539
+ }
540
+
541
+ /* hs.wrapperClassName = 'no-footer' */
542
+ .no-footer .highslide-footer {
543
+ display: none;
544
+ }
545
+
546
+ /* hs.wrapperClassName = 'wide-border' */
547
+ .wide-border {
548
+ background: white;
549
+ }
550
+ .wide-border .highslide-image {
551
+ border-width: 10px;
552
+ }
553
+ .wide-border .highslide-caption {
554
+ padding: 0 10px 10px 10px;
555
+ }
556
+
557
+ /* hs.wrapperClassName = 'borderless' */
558
+ .borderless .highslide-image {
559
+ border: none;
560
+ }
561
+ .borderless .highslide-caption {
562
+ border-bottom: 1px solid white;
563
+ border-top: 1px solid white;
564
+ background: silver;
565
+ }
566
+
567
+ /* hs.wrapperClassName = 'outer-glow' */
568
+ .outer-glow {
569
+ background: #444;
570
+ }
571
+ .outer-glow .highslide-image {
572
+ border: 5px solid #444444;
573
+ }
574
+ .outer-glow .highslide-caption {
575
+ border: 5px solid #444444;
576
+ border-top: none;
577
+ padding: 5px;
578
+ background-color: gray;
579
+ }
580
+
581
+ /* hs.wrapperClassName = 'colored-border' */
582
+ .colored-border {
583
+ background: white;
584
+ }
585
+ .colored-border .highslide-image {
586
+ border: 2px solid green;
587
+ }
588
+ .colored-border .highslide-caption {
589
+ border: 2px solid green;
590
+ border-top: none;
591
+ }
592
+
593
+ /* hs.wrapperClassName = 'dark' */
594
+ .dark {
595
+ background: #111;
596
+ }
597
+ .dark .highslide-image {
598
+ border-color: black black #202020 black;
599
+ background: gray;
600
+ }
601
+ .dark .highslide-caption {
602
+ color: white;
603
+ background: #111;
604
+ }
605
+ .dark .highslide-controls,
606
+ .dark .highslide-controls ul,
607
+ .dark .highslide-controls a {
608
+ background-image: url(graphics/controlbar-black-border.gif);
609
+ }
610
+
611
+ /* hs.wrapperClassName = 'floating-caption' */
612
+ .floating-caption .highslide-caption {
613
+ position: absolute;
614
+ padding: 1em 0 0 0;
615
+ background: none;
616
+ color: white;
617
+ border: none;
618
+ font-weight: bold;
619
+ }
620
+
621
+ /* hs.wrapperClassName = 'controls-in-heading' */
622
+ .controls-in-heading .highslide-heading {
623
+ color: gray;
624
+ font-weight: bold;
625
+ height: 20px;
626
+ overflow: hidden;
627
+ cursor: default;
628
+ padding: 0 0 0 22px;
629
+ margin: 0;
630
+ background: url(graphics/icon.gif) no-repeat 0 1px;
631
+ }
632
+ .controls-in-heading .highslide-controls {
633
+ width: 105px;
634
+ height: 20px;
635
+ position: relative;
636
+ margin: 0;
637
+ top: -23px;
638
+ left: 7px;
639
+ background: none;
640
+ }
641
+ .controls-in-heading .highslide-controls ul {
642
+ position: static;
643
+ height: 20px;
644
+ background: none;
645
+ }
646
+ .controls-in-heading .highslide-controls li {
647
+ padding: 0;
648
+ }
649
+ .controls-in-heading .highslide-controls a {
650
+ background-image: url(graphics/controlbar-white-small.gif);
651
+ height: 20px;
652
+ width: 20px;
653
+ }
654
+
655
+ .controls-in-heading .highslide-controls .highslide-move {
656
+ display: none;
657
+ }
658
+
659
+ .controls-in-heading .highslide-controls .highslide-previous a {
660
+ background-position: 0 0;
661
+ }
662
+ .controls-in-heading .highslide-controls .highslide-previous a:hover {
663
+ background-position: 0 -20px;
664
+ }
665
+ .controls-in-heading .highslide-controls .highslide-previous a.disabled {
666
+ background-position: 0 -40px !important;
667
+ }
668
+ .controls-in-heading .highslide-controls .highslide-play a {
669
+ background-position: -20px 0;
670
+ }
671
+ .controls-in-heading .highslide-controls .highslide-play a:hover {
672
+ background-position: -20px -20px;
673
+ }
674
+ .controls-in-heading .highslide-controls .highslide-play a.disabled {
675
+ background-position: -20px -40px !important;
676
+ }
677
+ .controls-in-heading .highslide-controls .highslide-pause a {
678
+ background-position: -40px 0;
679
+ }
680
+ .controls-in-heading .highslide-controls .highslide-pause a:hover {
681
+ background-position: -40px -20px;
682
+ }
683
+ .controls-in-heading .highslide-controls .highslide-next a {
684
+ background-position: -60px 0;
685
+ }
686
+ .controls-in-heading .highslide-controls .highslide-next a:hover {
687
+ background-position: -60px -20px;
688
+ }
689
+ .controls-in-heading .highslide-controls .highslide-next a.disabled {
690
+ background-position: -60px -40px !important;
691
+ }
692
+ .controls-in-heading .highslide-controls .highslide-full-expand a {
693
+ background-position: -100px 0;
694
+ }
695
+ .controls-in-heading .highslide-controls .highslide-full-expand a:hover {
696
+ background-position: -100px -20px;
697
+ }
698
+ .controls-in-heading .highslide-controls .highslide-full-expand a.disabled {
699
+ background-position: -100px -40px !important;
700
+ }
701
+ .controls-in-heading .highslide-controls .highslide-close a {
702
+ background-position: -120px 0;
703
+ }
704
+ .controls-in-heading .highslide-controls .highslide-close a:hover {
705
+ background-position: -120px -20px;
706
+ }
707
+
708
+ /*****************************************************************************/
709
+ /* Styles for text based controls. */
710
+ /* You can safely remove this if you don't use text based controls */
711
+ /*****************************************************************************/
712
+
713
+ .text-controls .highslide-controls {
714
+ width: auto;
715
+ height: auto;
716
+ margin: 0;
717
+ text-align: center;
718
+ background: none;
719
+ }
720
+ .text-controls ul {
721
+ position: static;
722
+ background: none;
723
+ height: auto;
724
+ left: 0;
725
+ }
726
+ .text-controls .highslide-move {
727
+ display: none;
728
+ }
729
+ .text-controls li {
730
+ background-image: url(graphics/controlbar-text-buttons.png);
731
+ background-position: right top !important;
732
+ padding: 0;
733
+ margin-left: 15px;
734
+ display: block;
735
+ width: auto;
736
+ }
737
+ .text-controls a {
738
+ background: url(graphics/controlbar-text-buttons.png) no-repeat;
739
+ background-position: left top !important;
740
+ position: relative;
741
+ left: -10px;
742
+ display: block;
743
+ width: auto;
744
+ height: auto;
745
+ text-decoration: none !important;
746
+ }
747
+ .text-controls a span {
748
+ background: url(graphics/controlbar-text-buttons.png) no-repeat;
749
+ margin: 1px 2px 1px 10px;
750
+ display: block;
751
+ min-width: 4em;
752
+ height: 18px;
753
+ line-height: 18px;
754
+ padding: 1px 0 1px 18px;
755
+ color: #333;
756
+ font-family: "Trebuchet MS", Arial, sans-serif;
757
+ font-size: 12px;
758
+ font-weight: bold;
759
+ white-space: nowrap;
760
+ }
761
+ .text-controls .highslide-next {
762
+ margin-right: 1em;
763
+ }
764
+ .text-controls .highslide-full-expand a span {
765
+ min-width: 0;
766
+ margin: 1px 0;
767
+ padding: 1px 0 1px 10px;
768
+ }
769
+ .text-controls .highslide-close a span {
770
+ min-width: 0;
771
+ }
772
+ .text-controls a:hover span {
773
+ color: black;
774
+ }
775
+ .text-controls a.disabled span {
776
+ color: #999;
777
+ }
778
+
779
+ .text-controls .highslide-previous span {
780
+ background-position: 0 -40px;
781
+ }
782
+ .text-controls .highslide-previous a.disabled {
783
+ background-position: left top !important;
784
+ }
785
+ .text-controls .highslide-previous a.disabled span {
786
+ background-position: 0 -140px;
787
+ }
788
+ .text-controls .highslide-play span {
789
+ background-position: 0 -60px;
790
+ }
791
+ .text-controls .highslide-play a.disabled {
792
+ background-position: left top !important;
793
+ }
794
+ .text-controls .highslide-play a.disabled span {
795
+ background-position: 0 -160px;
796
+ }
797
+ .text-controls .highslide-pause span {
798
+ background-position: 0 -80px;
799
+ }
800
+ .text-controls .highslide-next span {
801
+ background-position: 0 -100px;
802
+ }
803
+ .text-controls .highslide-next a.disabled {
804
+ background-position: left top !important;
805
+ }
806
+ .text-controls .highslide-next a.disabled span {
807
+ background-position: 0 -200px;
808
+ }
809
+ .text-controls .highslide-full-expand span {
810
+ background: none;
811
+ }
812
+ .text-controls .highslide-full-expand a.disabled {
813
+ background-position: left top !important;
814
+ }
815
+ .text-controls .highslide-close span {
816
+ background-position: 0 -120px;
817
+ }
818
+
819
+
820
+ /*****************************************************************************/
821
+ /* Styles for the thumbstrip. */
822
+ /* See www.highslide.com/ref/hs.addSlideshow */
823
+ /* You can safely remove this if you don't use a thumbstrip */
824
+ /*****************************************************************************/
825
+
826
+ .highslide-thumbstrip {
827
+ height: 100%;
828
+ }
829
+ .highslide-thumbstrip div {
830
+ overflow: hidden;
831
+ }
832
+ .highslide-thumbstrip table {
833
+ position: relative;
834
+ padding: 0;
835
+ border-collapse: collapse;
836
+ }
837
+ .highslide-thumbstrip td {
838
+ padding: 1px;
839
+ /*text-align: center;*/
840
+ }
841
+ .highslide-thumbstrip a {
842
+ outline: none;
843
+ }
844
+ .highslide-thumbstrip img {
845
+ display: block;
846
+ border: 1px solid gray;
847
+ margin: 0 auto;
848
+ }
849
+ .highslide-thumbstrip .highslide-active-anchor img {
850
+ visibility: visible;
851
+ }
852
+ .highslide-thumbstrip .highslide-marker {
853
+ position: absolute;
854
+ width: 0;
855
+ height: 0;
856
+ border-width: 0;
857
+ border-style: solid;
858
+ border-color: transparent; /* change this to actual background color in highslide-ie6.css */
859
+ }
860
+ .highslide-thumbstrip-horizontal div {
861
+ width: auto;
862
+ /* width: 100% breaks in small strips in IE */
863
+ }
864
+ .highslide-thumbstrip-horizontal .highslide-scroll-up {
865
+ display: none;
866
+ position: absolute;
867
+ top: 3px;
868
+ left: 3px;
869
+ width: 25px;
870
+ height: 42px;
871
+ }
872
+ .highslide-thumbstrip-horizontal .highslide-scroll-up div {
873
+ margin-bottom: 10px;
874
+ cursor: pointer;
875
+ background: url(graphics/scrollarrows.png) left center no-repeat;
876
+ height: 42px;
877
+ }
878
+ .highslide-thumbstrip-horizontal .highslide-scroll-down {
879
+ display: none;
880
+ position: absolute;
881
+ top: 3px;
882
+ right: 3px;
883
+ width: 25px;
884
+ height: 42px;
885
+ }
886
+ .highslide-thumbstrip-horizontal .highslide-scroll-down div {
887
+ margin-bottom: 10px;
888
+ cursor: pointer;
889
+ background: url(graphics/scrollarrows.png) center right no-repeat;
890
+ height: 42px;
891
+ }
892
+ .highslide-thumbstrip-horizontal table {
893
+ margin: 2px 0 10px 0;
894
+ }
895
+ .highslide-viewport .highslide-thumbstrip-horizontal table {
896
+ margin-left: 10px;
897
+ }
898
+ .highslide-thumbstrip-horizontal img {
899
+ width: auto;
900
+ height: 40px;
901
+ }
902
+ .highslide-thumbstrip-horizontal .highslide-marker {
903
+ top: 47px;
904
+ border-left-width: 6px;
905
+ border-right-width: 6px;
906
+ border-bottom: 6px solid gray;
907
+ }
908
+ .highslide-viewport .highslide-thumbstrip-horizontal .highslide-marker {
909
+ margin-left: 10px;
910
+ }
911
+ .dark .highslide-thumbstrip-horizontal .highslide-marker, .highslide-viewport .highslide-thumbstrip-horizontal .highslide-marker {
912
+ border-bottom-color: white !important;
913
+ }
914
+
915
+ .highslide-thumbstrip-vertical-overlay {
916
+ overflow: hidden !important;
917
+ }
918
+ .highslide-thumbstrip-vertical div {
919
+ height: 100%;
920
+ }
921
+ .highslide-thumbstrip-vertical a {
922
+ display: block;
923
+ }
924
+ .highslide-thumbstrip-vertical .highslide-scroll-up {
925
+ display: none;
926
+ position: absolute;
927
+ top: 0;
928
+ left: 0;
929
+ width: 100%;
930
+ height: 25px;
931
+ }
932
+ .highslide-thumbstrip-vertical .highslide-scroll-up div {
933
+ margin-left: 10px;
934
+ cursor: pointer;
935
+ background: url(graphics/scrollarrows.png) top center no-repeat;
936
+ height: 25px;
937
+ }
938
+ .highslide-thumbstrip-vertical .highslide-scroll-down {
939
+ display: none;
940
+ position: absolute;
941
+ bottom: 0;
942
+ left: 0;
943
+ width: 100%;
944
+ height: 25px;
945
+ }
946
+ .highslide-thumbstrip-vertical .highslide-scroll-down div {
947
+ margin-left: 10px;
948
+ cursor: pointer;
949
+ background: url(graphics/scrollarrows.png) bottom center no-repeat;
950
+ height: 25px;
951
+ }
952
+ .highslide-thumbstrip-vertical table {
953
+ margin: 10px 0 0 10px;
954
+ }
955
+ .highslide-thumbstrip-vertical img {
956
+ max-width: 60px;
957
+ }
958
+ .highslide-thumbstrip-vertical .highslide-marker {
959
+ left: 0;
960
+ margin-top: 8px;
961
+ border-top-width: 6px;
962
+ border-bottom-width: 6px;
963
+ border-left: 6px solid gray;
964
+ }
965
+ .dark .highslide-thumbstrip-vertical .highslide-marker, .highslide-viewport .highslide-thumbstrip-vertical .highslide-marker {
966
+ border-left-color: white;
967
+ }
968
+
969
+ .highslide-viewport .highslide-thumbstrip-float {
970
+ overflow: auto;
971
+ }
972
+ .highslide-thumbstrip-float ul {
973
+ margin: 2px 0;
974
+ padding: 0;
975
+ }
976
+ .highslide-thumbstrip-float li {
977
+ display: block;
978
+ height: 60px;
979
+ margin: 0 2px;
980
+ list-style: none;
981
+ float: left;
982
+ }
983
+ .highslide-thumbstrip-float img {
984
+ display: inline;
985
+ border-color: silver;
986
+ max-height: 56px;
987
+ }
988
+ .highslide-thumbstrip-float .highslide-active-anchor img {
989
+ border-color: black;
990
+ }
991
+ .highslide-thumbstrip-float .highslide-scroll-up div, .highslide-thumbstrip-float .highslide-scroll-down div {
992
+ display: none;
993
+ }
994
+ .highslide-thumbstrip-float .highslide-marker {
995
+ display: none;
996
+ }
lightbox-gallery.js CHANGED
@@ -1,28 +1,29 @@
1
  // You do not need to change the following path if you installed WordPress into the root directory.
2
  var lightbox_path = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/';
 
3
 
4
- jQuery(document).ready(function () {
 
5
 
6
  // If you make images display slowly, use following two lines;
7
  // var i = 0;
8
  // showImg(i);
9
 
10
- jQuery('a[rel*=lightbox]').lightBox();
11
- jQuery('.gallery1 a').lightBox({captionPosition:'gallery'});
12
- jQuery('.gallery1 a').tooltip({track:true, delay:0, showURL: false});
13
-
14
  // Add these lines if you want to handle multiple galleries in one page.
15
  // You need to add into a [gallery] shorttag. ex) [gallery class="gallery2"]
16
  // jQuery('.gallery2 a').lightBox({captionPosition:'gallery'});
17
- // jQuery('.gallery2 a').tooltip({track:true, delay:0, showURL: false});
18
  // jQuery('.gallery3 a').lightBox({captionPosition:'gallery'});
19
- // jQuery('.gallery3 a').tooltip({track:true, delay:0, showURL: false});
20
- });
21
 
22
- function showImg(i){
23
- if(i == jQuery('img').length){
24
- return;
25
- }else{
26
- jQuery(jQuery('img')[i]).animate({opacity:'show'},"normal",function(){i++;showImg(i)});
 
27
  }
28
  }
1
  // You do not need to change the following path if you installed WordPress into the root directory.
2
  var lightbox_path = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/';
3
+ if ( typeof hs != "undefined" ) hs.graphicsDir = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/graphics/';
4
 
5
+ if ( typeof hs == "undefined" ) {
6
+ jQuery(document).ready(function () {
7
 
8
  // If you make images display slowly, use following two lines;
9
  // var i = 0;
10
  // showImg(i);
11
 
12
+ jQuery('a[rel*=lightbox]').lightBox();
13
+ jQuery('.gallery a').tooltip({track:true, delay:0, showURL: false});
14
+ jQuery('.gallery1 a').lightBox({captionPosition:'gallery'});
15
+
16
  // Add these lines if you want to handle multiple galleries in one page.
17
  // You need to add into a [gallery] shorttag. ex) [gallery class="gallery2"]
18
  // jQuery('.gallery2 a').lightBox({captionPosition:'gallery'});
 
19
  // jQuery('.gallery3 a').lightBox({captionPosition:'gallery'});
20
+ });
 
21
 
22
+ function showImg(i){
23
+ if(i == jQuery('img').length){
24
+ return;
25
+ }else{
26
+ jQuery(jQuery('img')[i]).animate({opacity:'show'},"normal",function(){i++;showImg(i)});
27
+ }
28
  }
29
  }
lightbox-gallery.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Lightbox Gallery
4
  Plugin URI: http://wpgogo.com/development/lightbox-gallery.html
5
  Description: Changes to the lightbox view in galleries.
6
  Author: Hiroaki Miyashita
7
- Version: 0.5
8
  Author URI: http://wpgogo.com/
9
  */
10
 
@@ -83,6 +83,9 @@ function add_lightbox_gallery_jquery() {
83
  global $wp_query;
84
  $options = get_option('lightbox_gallery_data');
85
 
 
 
 
86
  if ( !defined('WP_PLUGIN_DIR') )
87
  $plugin_dir = str_replace( ABSPATH, '', dirname(__FILE__) );
88
  else
@@ -122,19 +125,23 @@ function add_lightbox_gallery_jquery() {
122
  endif;
123
  endif;
124
 
125
- if ( !is_admin() && $flag ) {
126
- wp_enqueue_script( 'jquery');
127
- wp_enqueue_script( 'dimensions', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.dimensions.js', array('jquery') );
128
- wp_enqueue_script( 'bgiframe', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.bgiframe.js', array('jquery') ) ;
129
- wp_enqueue_script( 'lightbox', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js', array('jquery') );
130
- wp_enqueue_script( 'tooltip', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.tooltip.js', array('jquery') );
131
- if (@file_exists(TEMPLATEPATH.'/lightbox-gallery.js')) {
 
 
 
 
132
  $template = get_template();
133
- wp_enqueue_script( 'lightbox-gallery', '/wp-content/themes/' . $template . '/lightbox-gallery.js', array('jquery') );
134
- } else {
135
- wp_enqueue_script( 'lightbox-gallery', '/' . PLUGINDIR . '/' . $plugin_dir . '/lightbox-gallery.js', array('jquery') );
136
- }
137
- }
138
  }
139
 
140
  function lightbox_gallery_plugin_action_links($links, $file){
@@ -190,6 +197,15 @@ function lightbox_gallery_admin() {
190
  <table class="form-table" style="margin-bottom:5px;">
191
  <tbody>
192
  <tr><td>
 
 
 
 
 
 
 
 
 
193
  <p><label for="lightbox_gallery_categories"><?php _e('In case that you would like to use the lightbox in certain categories (comma-deliminated)', 'lightbox-gallery'); ?></label>:<br />
194
  <input type="text" name="lightbox_gallery_categories" id="lightbox_gallery_categories" value="<?php echo $options['global_settings']['lightbox_gallery_categories']; ?>" /></p>
195
  </td></tr>
@@ -218,6 +234,14 @@ function lightbox_gallery_admin() {
218
  <input type="text" name="lightbox_gallery_lightboxsize" id="lightbox_gallery_lightboxsize" value="<?php echo $options['global_settings']['lightbox_gallery_lightboxsize']; ?>" /> thumbnail medium large full</p>
219
  </td></tr>
220
  <tr><td>
 
 
 
 
 
 
 
 
221
  <p><input type="submit" name="lightbox_gallery_global_settings_submit" value="<?php _e('Update Options &raquo;', 'lightbox-gallery'); ?>" class="button-primary" /></p>
222
  </td></tr>
223
  </tbody>
@@ -319,6 +343,8 @@ function lightbox_gallery($attr) {
319
  'captiontag' => 'dd',
320
  'columns' => $columns,
321
  'size' => $size,
 
 
322
  'lightboxsize' => $lightboxsize,
323
  'meta' => 'false',
324
  'class' => 'gallery1',
@@ -333,7 +359,24 @@ function lightbox_gallery($attr) {
333
  ), $attr));
334
 
335
  $id = intval($id);
336
- $attachments = get_children( array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
 
338
  if ( empty($attachments) )
339
  return '';
@@ -370,6 +413,18 @@ function lightbox_gallery($attr) {
370
  endif;
371
 
372
  $output = apply_filters('gallery_style', $column_css."<div class='gallery {$class}'>");
 
 
 
 
 
 
 
 
 
 
 
 
373
 
374
  foreach ( $attachments as $id => $attachment ) {
375
  if ( $attachment->post_type == 'attachment' ) {
@@ -398,27 +453,29 @@ function lightbox_gallery($attr) {
398
  $metadata .= __('created_timestamp', 'lightbox-gallery') . ": ". date('Y:m:d H:i:s', $imagedata['image_meta']['created_timestamp']);
399
  }
400
 
401
- $output .= "<{$itemtag} class='gallery-item'>";
402
- $output .= "
403
- <{$icontag} class='gallery-icon'>
404
- <a href='{$lightbox_link[0]}' title='{$attachment->post_excerpt}'";
405
- if ( $nofollow == "true" ) $output .= " rel='nofollow'";
406
- $output .= "><img src='{$thumbnail_link[0]}' width='{$thumbnail_link[1]}' height='{$thumbnail_link[2]}' alt='{$attachment->post_excerpt}' /></a>
407
- </{$icontag}>";
 
 
408
  if ( $captiontag && (trim($attachment->post_excerpt) || trim($attachment->post_content) || $metadata) ) {
409
- $output .= "<{$captiontag} class='gallery-caption'>";
410
  if($attachment->post_excerpt) $output .= $attachment->post_excerpt . "<br />\n";
411
  if($attachment->post_content) $output .= $attachment->post_content . "<br />\n";
412
  if($metadata) $output .= $metadata;
413
- $output .= "</{$captiontag}>";
414
  }
415
- $output .= "</{$itemtag}>";
416
  if ( $columns > 0 && ++$i % $columns == 0 )
417
- $output .= '<div style="clear: both"></div>';
418
  }
419
  }
420
 
421
- $output .= '<div style="clear: both"></div></div>';
422
  $output .= wp_link_pages_for_lightbox_gallery(array('before' => $before, 'after' => $after, 'link_before' => $link_before, 'link_after' => $link_after, 'next_or_number' => $next_or_number, 'nextpagelink' => $nextpagelink, 'previouspagelink' => $previouspagelink, 'pagelink' => $pagelink, 'page' => $page, 'numpages' => $numpages, 'pagenavi' => $pagenavi));
423
 
424
  return $output;
4
  Plugin URI: http://wpgogo.com/development/lightbox-gallery.html
5
  Description: Changes to the lightbox view in galleries.
6
  Author: Hiroaki Miyashita
7
+ Version: 0.6
8
  Author URI: http://wpgogo.com/
9
  */
10
 
83
  global $wp_query;
84
  $options = get_option('lightbox_gallery_data');
85
 
86
+ if ( $options['global_settings']['lightbox_gallery_script_loading_point'] == 'footer' ) $in_footer = true;
87
+ else $in_footer = false;
88
+
89
  if ( !defined('WP_PLUGIN_DIR') )
90
  $plugin_dir = str_replace( ABSPATH, '', dirname(__FILE__) );
91
  else
125
  endif;
126
  endif;
127
 
128
+ if ( !is_admin() && $flag ) :
129
+ wp_enqueue_script( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '', $in_footer );
130
+ if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
131
+ wp_enqueue_script( 'highslide', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js', false, '', $in_footer );
132
+ else :
133
+ wp_enqueue_script( 'dimensions', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.dimensions.js', array('jquery'), '', $in_footer );
134
+ wp_enqueue_script( 'bgiframe', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.bgiframe.js', array('jquery'), '', $in_footer ) ;
135
+ wp_enqueue_script( 'lightbox', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js', array('jquery'), '', $in_footer );
136
+ wp_enqueue_script( 'tooltip', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.tooltip.js', array('jquery'), '', $in_footer );
137
+ endif;
138
+ if (@file_exists(TEMPLATEPATH.'/lightbox-gallery.js')) :
139
  $template = get_template();
140
+ wp_enqueue_script( 'lightbox-gallery', '/wp-content/themes/' . $template . '/lightbox-gallery.js', array('jquery'), '', $in_footer );
141
+ else :
142
+ wp_enqueue_script( 'lightbox-gallery', '/' . PLUGINDIR . '/' . $plugin_dir . '/lightbox-gallery.js', array('jquery'), '', $in_footer );
143
+ endif;
144
+ endif;
145
  }
146
 
147
  function lightbox_gallery_plugin_action_links($links, $file){
197
  <table class="form-table" style="margin-bottom:5px;">
198
  <tbody>
199
  <tr><td>
200
+ <?php
201
+ if ( !isset($options['global_settings']['lightbox_gallery_loading_type']) ) $options['global_settings']['lightbox_gallery_loading_type'] = 'lightbox';
202
+ ?>
203
+ <p><label for="lightbox_gallery_loading_type"><?php _e('Choose the gallery loading type', 'lightbox-gallery'); ?></label>:<br />
204
+ <input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="lightbox"<?php checked('lightbox', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Lightbox', 'lightbox-gallery'); ?><br />
205
+ <input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="highslide"<?php checked('highslide', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Highslide JS', 'lightbox-gallery'); ?><br />
206
+ <?php echo sprintf(__('Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author\'s permission to use Highslide JS on commercial websites. <a href="%s" target="_blank">Please look at the author\'s website.</a>', 'lightbox-gallery'), 'http://highslide.com/'); ?></p>
207
+ </td></tr>
208
+ <tr><td>
209
  <p><label for="lightbox_gallery_categories"><?php _e('In case that you would like to use the lightbox in certain categories (comma-deliminated)', 'lightbox-gallery'); ?></label>:<br />
210
  <input type="text" name="lightbox_gallery_categories" id="lightbox_gallery_categories" value="<?php echo $options['global_settings']['lightbox_gallery_categories']; ?>" /></p>
211
  </td></tr>
234
  <input type="text" name="lightbox_gallery_lightboxsize" id="lightbox_gallery_lightboxsize" value="<?php echo $options['global_settings']['lightbox_gallery_lightboxsize']; ?>" /> thumbnail medium large full</p>
235
  </td></tr>
236
  <tr><td>
237
+ <?php
238
+ if ( !isset($options['global_settings']['lightbox_gallery_script_loading_point']) ) $options['global_settings']['lightbox_gallery_script_loading_point'] = 'header';
239
+ ?>
240
+ <p><label for="lightbox_gallery_script_loading_point"><?php _e('Choose the script loading point', 'lightbox-gallery'); ?></label>:<br />
241
+ <input type="radio" name="lightbox_gallery_script_loading_point" id="lightbox_gallery_script_loading_point" value="header"<?php checked('header', $options['global_settings']['lightbox_gallery_script_loading_point']); ?> /> <?php _e('Header', 'lightbox-gallery'); ?><br />
242
+ <input type="radio" name="lightbox_gallery_script_loading_point" id="lightbox_gallery_script_loading_point" value="footer"<?php checked('footer', $options['global_settings']['lightbox_gallery_script_loading_point']); ?> /> <?php _e('Footer', 'lightbox-gallery'); ?></p>
243
+ </td></tr>
244
+ <tr><td>
245
  <p><input type="submit" name="lightbox_gallery_global_settings_submit" value="<?php _e('Update Options &raquo;', 'lightbox-gallery'); ?>" class="button-primary" /></p>
246
  </td></tr>
247
  </tbody>
343
  'captiontag' => 'dd',
344
  'columns' => $columns,
345
  'size' => $size,
346
+ 'include' => '',
347
+ 'exclude' => '',
348
  'lightboxsize' => $lightboxsize,
349
  'meta' => 'false',
350
  'class' => 'gallery1',
359
  ), $attr));
360
 
361
  $id = intval($id);
362
+
363
+ if ( 'RAND' == $order )
364
+ $orderby = 'none';
365
+
366
+ if ( !empty($include) ) {
367
+ $include = preg_replace( '/[^0-9,]+/', '', $include );
368
+ $_attachments = get_posts( array('include' => $include, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
369
+
370
+ $attachments = array();
371
+ foreach ( $_attachments as $key => $val ) {
372
+ $attachments[$val->ID] = $_attachments[$key];
373
+ }
374
+ } elseif ( !empty($exclude) ) {
375
+ $exclude = preg_replace( '/[^0-9,]+/', '', $exclude );
376
+ $attachments = get_children( array('post_parent' => $id, 'exclude' => $exclude, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
377
+ } else {
378
+ $attachments = get_children( array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
379
+ }
380
 
381
  if ( empty($attachments) )
382
  return '';
413
  endif;
414
 
415
  $output = apply_filters('gallery_style', $column_css."<div class='gallery {$class}'>");
416
+
417
+ if ( $class ) :
418
+ $output .= '<script type="text/javascript">
419
+ // <![CDATA[
420
+ jQuery(document).ready(function () {
421
+ jQuery(".'.$class.' a").lightBox({captionPosition:"gallery"});
422
+ });
423
+ // ]]>
424
+ </script>'."\n";
425
+
426
+
427
+ endif;
428
 
429
  foreach ( $attachments as $id => $attachment ) {
430
  if ( $attachment->post_type == 'attachment' ) {
453
  $metadata .= __('created_timestamp', 'lightbox-gallery') . ": ". date('Y:m:d H:i:s', $imagedata['image_meta']['created_timestamp']);
454
  }
455
 
456
+ $output .= '<'.$itemtag.' class="gallery-item">'."\n";
457
+ $output .= '<'.$icontag.' class="gallery-icon">
458
+ <a href="'.$lightbox_link[0].'" title="'.$attachment->post_excerpt.'"';
459
+ if ( $nofollow == "true" ) $output .= ' rel="nofollow"';
460
+ if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
461
+ $output .= ' class="highslide" onclick="return hs.expand(this,{captionId:'."'caption".$attachment->ID."'".'})"';
462
+ endif;
463
+ $output .= '><img src="'.$thumbnail_link[0].'" width="'.$thumbnail_link[1].'" height="'.$thumbnail_link[2].'" alt="'.$attachment->post_excerpt.'" /></a>
464
+ </'.$icontag.'>';
465
  if ( $captiontag && (trim($attachment->post_excerpt) || trim($attachment->post_content) || $metadata) ) {
466
+ $output .= '<'.$captiontag.' class="gallery-caption" id="caption'.$attachment->ID.'">';
467
  if($attachment->post_excerpt) $output .= $attachment->post_excerpt . "<br />\n";
468
  if($attachment->post_content) $output .= $attachment->post_content . "<br />\n";
469
  if($metadata) $output .= $metadata;
470
+ $output .= '</'.$captiontag.'>';
471
  }
472
+ $output .= '</'.$itemtag.'>';
473
  if ( $columns > 0 && ++$i % $columns == 0 )
474
+ $output .= '<div style="clear: both;"></div>';
475
  }
476
  }
477
 
478
+ $output .= '<div style="clear: both;"></div></div>';
479
  $output .= wp_link_pages_for_lightbox_gallery(array('before' => $before, 'after' => $after, 'link_before' => $link_before, 'link_after' => $link_after, 'next_or_number' => $next_or_number, 'nextpagelink' => $nextpagelink, 'previouspagelink' => $previouspagelink, 'pagelink' => $pagelink, 'page' => $page, 'numpages' => $numpages, 'pagenavi' => $pagenavi));
480
 
481
  return $output;
lightbox-gallery.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-09-10 09:39+0900\n"
6
- "PO-Revision-Date: 2009-09-10 09:39+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -13,126 +13,155 @@ msgstr ""
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
15
 
16
- #: lightbox-gallery/lightbox-gallery.php:146
17
  msgid "Settings"
18
  msgstr ""
19
 
20
- #: lightbox-gallery/lightbox-gallery.php:154
21
- #: lightbox-gallery/lightbox-gallery.php:180
22
  msgid "Lightbox Gallery"
23
  msgstr ""
24
 
25
- #: lightbox-gallery/lightbox-gallery.php:168
26
  msgid "Options updated."
27
  msgstr ""
28
 
29
- #: lightbox-gallery/lightbox-gallery.php:172
30
  msgid "Options deleted."
31
  msgstr ""
32
 
33
- #: lightbox-gallery/lightbox-gallery.php:186
34
- #: lightbox-gallery/lightbox-gallery.php:230
35
- #: lightbox-gallery/lightbox-gallery.php:246
36
  msgid "Click to toggle"
37
  msgstr ""
38
 
39
- #: lightbox-gallery/lightbox-gallery.php:187
40
  msgid "Lightbox Gallery Options"
41
  msgstr ""
42
 
43
- #: lightbox-gallery/lightbox-gallery.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
45
  msgstr ""
46
 
47
- #: lightbox-gallery/lightbox-gallery.php:197
48
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
49
  msgstr ""
50
 
51
- #: lightbox-gallery/lightbox-gallery.php:201
52
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
53
  msgstr ""
54
 
55
- #: lightbox-gallery/lightbox-gallery.php:202
56
  msgid "Do not use the lightbox-gallery.css"
57
  msgstr ""
58
 
59
- #: lightbox-gallery/lightbox-gallery.php:205
60
  msgid "In case that you would like to disable to load the column inline css"
61
  msgstr ""
62
 
63
- #: lightbox-gallery/lightbox-gallery.php:206
64
  msgid "Do not use the column inline css"
65
  msgstr ""
66
 
67
- #: lightbox-gallery/lightbox-gallery.php:209
68
  msgid "In case that you would like to set the default number of columns"
69
  msgstr ""
70
 
71
- #: lightbox-gallery/lightbox-gallery.php:213
72
  msgid "In case that you would like to set the default thumbnail size"
73
  msgstr ""
74
 
75
- #: lightbox-gallery/lightbox-gallery.php:217
76
  msgid "In case that you would like to set the default lightbox size"
77
  msgstr ""
78
 
79
- #: lightbox-gallery/lightbox-gallery.php:221
 
 
 
 
 
 
 
 
 
 
 
 
80
  msgid "Update Options &raquo;"
81
  msgstr ""
82
 
83
- #: lightbox-gallery/lightbox-gallery.php:231
84
  msgid "Delete Options"
85
  msgstr ""
86
 
87
- #: lightbox-gallery/lightbox-gallery.php:233
88
  msgid "Are you sure to delete options? Options you set will be deleted."
89
  msgstr ""
90
 
91
- #: lightbox-gallery/lightbox-gallery.php:237
92
  msgid "Delete Options &raquo;"
93
  msgstr ""
94
 
95
- #: lightbox-gallery/lightbox-gallery.php:247
96
  msgid "Donation"
97
  msgstr ""
98
 
99
- #: lightbox-gallery/lightbox-gallery.php:249
100
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
101
  msgstr ""
102
 
103
- #: lightbox-gallery/lightbox-gallery.php:329
104
  msgid "Pages:"
105
  msgstr ""
106
 
107
- #: lightbox-gallery/lightbox-gallery.php:331
108
  msgid "Next page"
109
  msgstr ""
110
 
111
- #: lightbox-gallery/lightbox-gallery.php:332
112
  msgid "Previous page"
113
  msgstr ""
114
 
115
- #: lightbox-gallery/lightbox-gallery.php:385
116
  msgid "camera"
117
  msgstr ""
118
 
119
- #: lightbox-gallery/lightbox-gallery.php:387
120
  msgid "aperture"
121
  msgstr ""
122
 
123
- #: lightbox-gallery/lightbox-gallery.php:389
124
  msgid "focal_length"
125
  msgstr ""
126
 
127
- #: lightbox-gallery/lightbox-gallery.php:391
128
  msgid "ISO"
129
  msgstr ""
130
 
131
- #: lightbox-gallery/lightbox-gallery.php:395
132
  msgid "shutter_speed"
133
  msgstr ""
134
 
135
- #: lightbox-gallery/lightbox-gallery.php:398
136
  msgid "created_timestamp"
137
  msgstr ""
138
 
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-08 19:00+0900\n"
6
+ "PO-Revision-Date: 2009-11-08 19:00+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
15
 
16
+ #: lightbox-gallery/lightbox-gallery.php:160
17
  msgid "Settings"
18
  msgstr ""
19
 
20
+ #: lightbox-gallery/lightbox-gallery.php:168
21
+ #: lightbox-gallery/lightbox-gallery.php:194
22
  msgid "Lightbox Gallery"
23
  msgstr ""
24
 
25
+ #: lightbox-gallery/lightbox-gallery.php:182
26
  msgid "Options updated."
27
  msgstr ""
28
 
29
+ #: lightbox-gallery/lightbox-gallery.php:186
30
  msgid "Options deleted."
31
  msgstr ""
32
 
33
+ #: lightbox-gallery/lightbox-gallery.php:200
34
+ #: lightbox-gallery/lightbox-gallery.php:261
35
+ #: lightbox-gallery/lightbox-gallery.php:277
36
  msgid "Click to toggle"
37
  msgstr ""
38
 
39
+ #: lightbox-gallery/lightbox-gallery.php:201
40
  msgid "Lightbox Gallery Options"
41
  msgstr ""
42
 
43
+ #: lightbox-gallery/lightbox-gallery.php:210
44
+ msgid "Choose the gallery loading type"
45
+ msgstr ""
46
+
47
+ #: lightbox-gallery/lightbox-gallery.php:211
48
+ msgid "Lightbox"
49
+ msgstr ""
50
+
51
+ #: lightbox-gallery/lightbox-gallery.php:212
52
+ msgid "Highslide JS"
53
+ msgstr ""
54
+
55
+ #: lightbox-gallery/lightbox-gallery.php:213
56
+ #, php-format
57
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
58
+ msgstr ""
59
+
60
+ #: lightbox-gallery/lightbox-gallery.php:216
61
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
62
  msgstr ""
63
 
64
+ #: lightbox-gallery/lightbox-gallery.php:220
65
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
66
  msgstr ""
67
 
68
+ #: lightbox-gallery/lightbox-gallery.php:224
69
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
70
  msgstr ""
71
 
72
+ #: lightbox-gallery/lightbox-gallery.php:225
73
  msgid "Do not use the lightbox-gallery.css"
74
  msgstr ""
75
 
76
+ #: lightbox-gallery/lightbox-gallery.php:228
77
  msgid "In case that you would like to disable to load the column inline css"
78
  msgstr ""
79
 
80
+ #: lightbox-gallery/lightbox-gallery.php:229
81
  msgid "Do not use the column inline css"
82
  msgstr ""
83
 
84
+ #: lightbox-gallery/lightbox-gallery.php:232
85
  msgid "In case that you would like to set the default number of columns"
86
  msgstr ""
87
 
88
+ #: lightbox-gallery/lightbox-gallery.php:236
89
  msgid "In case that you would like to set the default thumbnail size"
90
  msgstr ""
91
 
92
+ #: lightbox-gallery/lightbox-gallery.php:240
93
  msgid "In case that you would like to set the default lightbox size"
94
  msgstr ""
95
 
96
+ #: lightbox-gallery/lightbox-gallery.php:247
97
+ msgid "Choose the script loading point"
98
+ msgstr ""
99
+
100
+ #: lightbox-gallery/lightbox-gallery.php:248
101
+ msgid "Header"
102
+ msgstr ""
103
+
104
+ #: lightbox-gallery/lightbox-gallery.php:249
105
+ msgid "Footer"
106
+ msgstr ""
107
+
108
+ #: lightbox-gallery/lightbox-gallery.php:252
109
  msgid "Update Options &raquo;"
110
  msgstr ""
111
 
112
+ #: lightbox-gallery/lightbox-gallery.php:262
113
  msgid "Delete Options"
114
  msgstr ""
115
 
116
+ #: lightbox-gallery/lightbox-gallery.php:264
117
  msgid "Are you sure to delete options? Options you set will be deleted."
118
  msgstr ""
119
 
120
+ #: lightbox-gallery/lightbox-gallery.php:268
121
  msgid "Delete Options &raquo;"
122
  msgstr ""
123
 
124
+ #: lightbox-gallery/lightbox-gallery.php:278
125
  msgid "Donation"
126
  msgstr ""
127
 
128
+ #: lightbox-gallery/lightbox-gallery.php:280
129
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
130
  msgstr ""
131
 
132
+ #: lightbox-gallery/lightbox-gallery.php:362
133
  msgid "Pages:"
134
  msgstr ""
135
 
136
+ #: lightbox-gallery/lightbox-gallery.php:364
137
  msgid "Next page"
138
  msgstr ""
139
 
140
+ #: lightbox-gallery/lightbox-gallery.php:365
141
  msgid "Previous page"
142
  msgstr ""
143
 
144
+ #: lightbox-gallery/lightbox-gallery.php:435
145
  msgid "camera"
146
  msgstr ""
147
 
148
+ #: lightbox-gallery/lightbox-gallery.php:437
149
  msgid "aperture"
150
  msgstr ""
151
 
152
+ #: lightbox-gallery/lightbox-gallery.php:439
153
  msgid "focal_length"
154
  msgstr ""
155
 
156
+ #: lightbox-gallery/lightbox-gallery.php:441
157
  msgid "ISO"
158
  msgstr ""
159
 
160
+ #: lightbox-gallery/lightbox-gallery.php:445
161
  msgid "shutter_speed"
162
  msgstr ""
163
 
164
+ #: lightbox-gallery/lightbox-gallery.php:448
165
  msgid "created_timestamp"
166
  msgstr ""
167
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Lightbox Gallery ===
2
  Contributors: Hiroaki Miyashita
3
  Donate link: http://wpgogo.com/development/lightbox-gallery.html
4
- Tags: lightbox, gallery, image, images, album, photo, photos, picture, pictures
5
  Requires at least: 2.5
6
- Tested up to: 2.8.4
7
- Stable tag: 0.5
8
 
9
  This plugin changes the view of galleries to the lightbox.
10
 
@@ -18,6 +18,7 @@ The Lightbox Gallery plugin changes the view of galleries to the lightbox.
18
  * Divides Gallery into several pages
19
  * Extends the default Gallery options
20
  * Additional settings are set in the option page
 
21
 
22
  You can also make regular images appear in a lightbox. See Faq.
23
 
@@ -32,6 +33,8 @@ Localization
32
  * Dutch (nl_NL) - [Peter Arends](http://www.peterarends.net/)
33
  * Polish (pl_PL) - Otmar
34
  * Russian (ru_RU) - [Fat Cow](http://www.fatcow.com/)
 
 
35
 
36
  If you have translated into your language, please let me know.
37
 
@@ -57,13 +60,8 @@ Just add rel="lightbox" into "a" tag. Here is a sample.
57
 
58
  * How can I handle multiple galleries in one page as separate ones?
59
 
60
- You need to do two steps. If you would like to handle galleries separately,
61
- add different class names into [gallery] and add codes as many as class names
62
- into `lightbox-gallery.js`.
63
-
64
-
65
- 1. Edit `lightbox-gallery.js` and add some codes. Look at the comment of the file.
66
- 2. Add a class into [gallery]. ex) [gallery class="gallery2"]
67
 
68
  == Screenshots ==
69
 
@@ -120,6 +118,12 @@ If you would like not to show the navigation, set `0`. The default is `1`.
120
 
121
  == Changelog ==
122
 
 
 
 
 
 
 
123
  = 0.5 =
124
  * Brazilian Portuguese (pt_BR) - Emmanuel Carvalho
125
  * Belorussian (be_BY) - ilyuha
1
  === Lightbox Gallery ===
2
  Contributors: Hiroaki Miyashita
3
  Donate link: http://wpgogo.com/development/lightbox-gallery.html
4
+ Tags: lightbox, gallery, image, images, album, photo, photos, picture, pictures, jQuery, Highslide
5
  Requires at least: 2.5
6
+ Tested up to: 2.8.5
7
+ Stable tag: 0.6
8
 
9
  This plugin changes the view of galleries to the lightbox.
10
 
18
  * Divides Gallery into several pages
19
  * Extends the default Gallery options
20
  * Additional settings are set in the option page
21
+ * Switch to the Highslide JS display
22
 
23
  You can also make regular images appear in a lightbox. See Faq.
24
 
33
  * Dutch (nl_NL) - [Peter Arends](http://www.peterarends.net/)
34
  * Polish (pl_PL) - Otmar
35
  * Russian (ru_RU) - [Fat Cow](http://www.fatcow.com/)
36
+ * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/)
37
+ * Ukrainian (uk_UA) - [Vitalij Lew](http://wpp.pp.ua/)
38
 
39
  If you have translated into your language, please let me know.
40
 
60
 
61
  * How can I handle multiple galleries in one page as separate ones?
62
 
63
+ If you would like to handle galleries separately, add different class names
64
+ into [gallery]. ex) [gallery class="gallery2"]
 
 
 
 
 
65
 
66
  == Screenshots ==
67
 
118
 
119
  == Changelog ==
120
 
121
+ = 0.6 =
122
+ * If you set the `class` attribute into [gallery], galleries are handled separately. ex) [gallery class="gallery2"]
123
+ * Support for the Highslide JS.
124
+ * Support for the javascript loading in the footer.
125
+ * Turkish (tr_TR) - Hakan Demiray
126
+
127
  = 0.5 =
128
  * Brazilian Portuguese (pt_BR) - Emmanuel Carvalho
129
  * Belorussian (be_BY) - ilyuha