Merge lp:~guiona/bilboplanet/665159 into lp:~greg-theclimber/bilboplanet/testing
- 665159
- Merge into testing
Proposed by
Guiona
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 104 | ||||
Proposed branch: | lp:~guiona/bilboplanet/665159 | ||||
Merge into: | lp:~greg-theclimber/bilboplanet/testing | ||||
Diff against target: |
6647 lines (+1569/-4657) 31 files modified
javascript/fancy.js (+3/-0) javascript/fancybox/fancybox.css (+0/-315) javascript/jquery.easing-1.3.pack.js (+72/-0) javascript/jquery.easing.1.3.js (+0/-205) javascript/jquery.fancybox-1.2.1.js (+0/-547) javascript/jquery.fancybox-1.2.1.pack.js (+0/-9) javascript/jquery.fancybox-1.3.2.pack.js (+46/-0) javascript/links.js (+0/-346) javascript/mobile.js (+0/-8) javascript/smothscroll.js (+0/-144) javascript/votes.js (+0/-32) themes/aragorn/css/jquery.fancybox-1.3.2.css (+359/-0) themes/aragorn/index.tpl (+3/-2) themes/aragorn/js/jquery.easing.1.3.js (+0/-205) themes/aragorn/js/jquery.fancybox-1.2.1.js (+0/-547) themes/aragorn/js/jquery.fancybox-1.2.1.pack.js (+0/-9) themes/gandalf/css/jquery.fancybox-1.3.2.css (+359/-0) themes/gandalf/index.tpl (+3/-1) themes/gandalf/js/jquery.easing.1.3.js (+0/-205) themes/gandalf/js/jquery.fancybox-1.2.1.js (+0/-547) themes/gandalf/js/jquery.fancybox-1.2.1.pack.js (+0/-9) themes/gil-galad/css/jquery.fancybox-1.3.2.css (+359/-0) themes/gil-galad/index.tpl (+3/-2) themes/gil-galad/js/jquery.easing.1.3.js (+0/-205) themes/gil-galad/js/jquery.fancybox-1.2.1.js (+0/-547) themes/gil-galad/js/jquery.fancybox-1.2.1.pack.js (+0/-9) themes/legolas/css/jquery.fancybox-1.3.2.css (+359/-0) themes/legolas/index.tpl (+3/-2) themes/legolas/js/jquery.easing.1.3.js (+0/-205) themes/legolas/js/jquery.fancybox-1.2.1.js (+0/-547) themes/legolas/js/jquery.fancybox-1.2.1.pack.js (+0/-9) |
||||
To merge this branch: | bzr merge lp:~guiona/bilboplanet/665159 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gregoire de Hemptinne | Pending | ||
Review via email: mp+39266@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'javascript/fancy.js' |
2 | --- javascript/fancy.js 2010-09-21 14:34:02 +0000 |
3 | +++ javascript/fancy.js 2010-10-25 11:38:45 +0000 |
4 | @@ -14,6 +14,9 @@ |
5 | $(document).ready(function() { |
6 | var allPageTags = new Array(); |
7 | var allPageTags=document.getElementsByClassName("contenu_article"); |
8 | + if(allPageTags.length == '0') { |
9 | + var allPageTags=document.getElementsByClassName("post_content"); |
10 | + } |
11 | for (i=0; i<allPageTags.length; i++) { |
12 | var allImgTags = new Array(); |
13 | allImgTags = allPageTags[i].getElementsByTagName("img"); |
14 | |
15 | === removed directory 'javascript/fancybox' |
16 | === removed file 'javascript/fancybox/fancy_closebox.png' |
17 | Binary files javascript/fancybox/fancy_closebox.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_closebox.png 1970-01-01 00:00:00 +0000 differ |
18 | === removed file 'javascript/fancybox/fancy_left.png' |
19 | Binary files javascript/fancybox/fancy_left.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_left.png 1970-01-01 00:00:00 +0000 differ |
20 | === removed file 'javascript/fancybox/fancy_progress.png' |
21 | Binary files javascript/fancybox/fancy_progress.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_progress.png 1970-01-01 00:00:00 +0000 differ |
22 | === removed file 'javascript/fancybox/fancy_right.png' |
23 | Binary files javascript/fancybox/fancy_right.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_right.png 1970-01-01 00:00:00 +0000 differ |
24 | === removed file 'javascript/fancybox/fancy_shadow_e.png' |
25 | Binary files javascript/fancybox/fancy_shadow_e.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_e.png 1970-01-01 00:00:00 +0000 differ |
26 | === removed file 'javascript/fancybox/fancy_shadow_n.png' |
27 | Binary files javascript/fancybox/fancy_shadow_n.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_n.png 1970-01-01 00:00:00 +0000 differ |
28 | === removed file 'javascript/fancybox/fancy_shadow_ne.png' |
29 | Binary files javascript/fancybox/fancy_shadow_ne.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_ne.png 1970-01-01 00:00:00 +0000 differ |
30 | === removed file 'javascript/fancybox/fancy_shadow_nw.png' |
31 | Binary files javascript/fancybox/fancy_shadow_nw.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_nw.png 1970-01-01 00:00:00 +0000 differ |
32 | === removed file 'javascript/fancybox/fancy_shadow_s.png' |
33 | Binary files javascript/fancybox/fancy_shadow_s.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_s.png 1970-01-01 00:00:00 +0000 differ |
34 | === removed file 'javascript/fancybox/fancy_shadow_se.png' |
35 | Binary files javascript/fancybox/fancy_shadow_se.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_se.png 1970-01-01 00:00:00 +0000 differ |
36 | === removed file 'javascript/fancybox/fancy_shadow_sw.png' |
37 | Binary files javascript/fancybox/fancy_shadow_sw.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_sw.png 1970-01-01 00:00:00 +0000 differ |
38 | === removed file 'javascript/fancybox/fancy_shadow_w.png' |
39 | Binary files javascript/fancybox/fancy_shadow_w.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_shadow_w.png 1970-01-01 00:00:00 +0000 differ |
40 | === removed file 'javascript/fancybox/fancy_title_left.png' |
41 | Binary files javascript/fancybox/fancy_title_left.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_title_left.png 1970-01-01 00:00:00 +0000 differ |
42 | === removed file 'javascript/fancybox/fancy_title_main.png' |
43 | Binary files javascript/fancybox/fancy_title_main.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_title_main.png 1970-01-01 00:00:00 +0000 differ |
44 | === removed file 'javascript/fancybox/fancy_title_right.png' |
45 | Binary files javascript/fancybox/fancy_title_right.png 2010-10-08 14:13:57 +0000 and javascript/fancybox/fancy_title_right.png 1970-01-01 00:00:00 +0000 differ |
46 | === removed file 'javascript/fancybox/fancybox.css' |
47 | --- javascript/fancybox/fancybox.css 2010-10-08 14:13:57 +0000 |
48 | +++ javascript/fancybox/fancybox.css 1970-01-01 00:00:00 +0000 |
49 | @@ -1,315 +0,0 @@ |
50 | -html, body { |
51 | - height: 100%; |
52 | -} |
53 | - |
54 | -div#fancy_overlay { |
55 | - position: fixed; |
56 | - top: 0; |
57 | - left: 0; |
58 | - width: 100%; |
59 | - height: 100%; |
60 | - background-color: #666; |
61 | - display: none; |
62 | - z-index: 30; |
63 | -} |
64 | - |
65 | -* html div#fancy_overlay { |
66 | - position: absolute; |
67 | - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); |
68 | -} |
69 | - |
70 | -div#fancy_wrap { |
71 | - text-align: left; |
72 | -} |
73 | - |
74 | -div#fancy_loading { |
75 | - position: absolute; |
76 | - height: 40px; |
77 | - width: 40px; |
78 | - cursor: pointer; |
79 | - display: none; |
80 | - overflow: hidden; |
81 | - background: transparent; |
82 | - z-index: 100; |
83 | -} |
84 | - |
85 | -div#fancy_loading div { |
86 | - position: absolute; |
87 | - top: 0; |
88 | - left: 0; |
89 | - width: 40px; |
90 | - height: 480px; |
91 | - background: transparent url('fancy_progress.png') no-repeat; |
92 | -} |
93 | - |
94 | -div#fancy_loading_overlay { |
95 | - position: absolute; |
96 | - background-color: #FFF; |
97 | - z-index: 30; |
98 | -} |
99 | - |
100 | -div#fancy_loading_icon { |
101 | - position: absolute; |
102 | - background: url('fancy_loading.gif') no-repeat; |
103 | - z-index: 35; |
104 | - width: 16px; |
105 | - height: 16px; |
106 | -} |
107 | - |
108 | -div#fancy_outer { |
109 | - position: absolute; |
110 | - top: 0; |
111 | - left: 0; |
112 | - z-index: 90; |
113 | - padding: 18px 18px 33px 18px; |
114 | - margin: 0; |
115 | - overflow: hidden; |
116 | - background: transparent; |
117 | - display: none; |
118 | -} |
119 | - |
120 | -div#fancy_inner { |
121 | - position: relative; |
122 | - width:100%; |
123 | - height:100%; |
124 | - border: 1px solid #BBB; |
125 | - background: #FFF; |
126 | -} |
127 | - |
128 | -div#fancy_content { |
129 | - margin: 0; |
130 | - z-index: 100; |
131 | - position: absolute; |
132 | -} |
133 | - |
134 | -div#fancy_div { |
135 | - background: #000; |
136 | - color: #FFF; |
137 | - height: 100%; |
138 | - width: 100%; |
139 | - z-index: 100; |
140 | -} |
141 | - |
142 | -img#fancy_img { |
143 | - position: absolute; |
144 | - top: 0; |
145 | - left: 0; |
146 | - border:0; |
147 | - padding: 0; |
148 | - margin: 0; |
149 | - z-index: 100; |
150 | - width: 100%; |
151 | - height: 100%; |
152 | -} |
153 | - |
154 | -div#fancy_close { |
155 | - position: absolute; |
156 | - top: -12px; |
157 | - right: -15px; |
158 | - height: 30px; |
159 | - width: 30px; |
160 | - background: url('fancy_closebox.png') top left no-repeat; |
161 | - cursor: pointer; |
162 | - z-index: 181; |
163 | - display: none; |
164 | -} |
165 | - |
166 | -#fancy_frame { |
167 | - position: relative; |
168 | - width: 100%; |
169 | - height: 100%; |
170 | - display: none; |
171 | -} |
172 | - |
173 | -#fancy_ajax { |
174 | - width: 100%; |
175 | - height: 100%; |
176 | - overflow: auto; |
177 | -} |
178 | - |
179 | -a#fancy_left, a#fancy_right { |
180 | - position: absolute; |
181 | - bottom: 0px; |
182 | - height: 100%; |
183 | - width: 35%; |
184 | - cursor: pointer; |
185 | - z-index: 111; |
186 | - display: none; |
187 | - background-image: url(data:image/gif;base64,AAAA); |
188 | - outline: none; |
189 | -} |
190 | - |
191 | -a#fancy_left { |
192 | - left: 0px; |
193 | -} |
194 | - |
195 | -a#fancy_right { |
196 | - right: 0px; |
197 | -} |
198 | - |
199 | -span.fancy_ico { |
200 | - position: absolute; |
201 | - top: 50%; |
202 | - margin-top: -15px; |
203 | - width: 30px; |
204 | - height: 30px; |
205 | - z-index: 112; |
206 | - cursor: pointer; |
207 | - display: block; |
208 | -} |
209 | - |
210 | -span#fancy_left_ico { |
211 | - left: -9999px; |
212 | - background: transparent url('fancy_left.png') no-repeat; |
213 | -} |
214 | - |
215 | -span#fancy_right_ico { |
216 | - right: -9999px; |
217 | - background: transparent url('fancy_right.png') no-repeat; |
218 | -} |
219 | - |
220 | -a#fancy_left:hover { |
221 | - visibility: visible; |
222 | -} |
223 | - |
224 | -a#fancy_right:hover { |
225 | - visibility: visible; |
226 | -} |
227 | - |
228 | -a#fancy_left:hover span { |
229 | - left: 20px; |
230 | -} |
231 | - |
232 | -a#fancy_right:hover span { |
233 | - right: 20px; |
234 | -} |
235 | - |
236 | -.fancy_bigIframe { |
237 | - position: absolute; |
238 | - top: 0; |
239 | - left: 0; |
240 | - width: 100%; |
241 | - height: 100%; |
242 | - background: transparent; |
243 | -} |
244 | - |
245 | -div#fancy_bg { |
246 | - position: absolute; |
247 | - top: 0; left: 0; |
248 | - width: 100%; |
249 | - height: 100%; |
250 | - z-index: 70; |
251 | - border: 0; |
252 | - padding: 0; |
253 | - margin: 0; |
254 | -} |
255 | - |
256 | -div.fancy_bg { |
257 | - position: absolute; |
258 | - display: block; |
259 | - z-index: 70; |
260 | - border: 0; |
261 | - padding: 0; |
262 | - margin: 0; |
263 | -} |
264 | - |
265 | -div.fancy_bg_n { |
266 | - top: -18px; |
267 | - width: 100%; |
268 | - height: 18px; |
269 | - background: transparent url('fancy_shadow_n.png') repeat-x; |
270 | -} |
271 | - |
272 | -div.fancy_bg_ne { |
273 | - top: -18px; |
274 | - right: -13px; |
275 | - width: 13px; |
276 | - height: 18px; |
277 | - background: transparent url('fancy_shadow_ne.png') no-repeat; |
278 | -} |
279 | - |
280 | -div.fancy_bg_e { |
281 | - right: -13px; |
282 | - height: 100%; |
283 | - width: 13px; |
284 | - background: transparent url('fancy_shadow_e.png') repeat-y; |
285 | -} |
286 | - |
287 | -div.fancy_bg_se { |
288 | - bottom: -18px; |
289 | - right: -13px; |
290 | - width: 13px; |
291 | - height: 18px; |
292 | - background: transparent url('fancy_shadow_se.png') no-repeat; |
293 | -} |
294 | - |
295 | -div.fancy_bg_s { |
296 | - bottom: -18px; |
297 | - width: 100%; |
298 | - height: 18px; |
299 | - background: transparent url('fancy_shadow_s.png') repeat-x; |
300 | -} |
301 | - |
302 | -div.fancy_bg_sw { |
303 | - bottom: -18px; |
304 | - left: -13px; |
305 | - width: 13px; |
306 | - height: 18px; |
307 | - background: transparent url('fancy_shadow_sw.png') no-repeat; |
308 | -} |
309 | - |
310 | -div.fancy_bg_w { |
311 | - left: -13px; |
312 | - height: 100%; |
313 | - width: 13px; |
314 | - background: transparent url('fancy_shadow_w.png') repeat-y; |
315 | -} |
316 | - |
317 | -div.fancy_bg_nw { |
318 | - top: -18px; |
319 | - left: -13px; |
320 | - width: 13px; |
321 | - height: 18px; |
322 | - background: transparent url('fancy_shadow_nw.png') no-repeat; |
323 | -} |
324 | - |
325 | -div#fancy_title { |
326 | - position: absolute; |
327 | - bottom: -33px; |
328 | - left: 0; |
329 | - width: 100%; |
330 | - z-index: 100; |
331 | - display: none; |
332 | -} |
333 | - |
334 | -div#fancy_title div { |
335 | - color: #FFF; |
336 | - font: bold 12px Arial; |
337 | - padding-bottom: 3px; |
338 | -} |
339 | - |
340 | -div#fancy_title table { |
341 | - margin: 0 auto; |
342 | -} |
343 | - |
344 | -div#fancy_title table td { |
345 | - padding: 0; |
346 | - vertical-align: middle; |
347 | -} |
348 | - |
349 | -td#fancy_title_left { |
350 | - height: 32px; |
351 | - width: 15px; |
352 | - background: transparent url(fancy_title_left.png) repeat-x; |
353 | -} |
354 | - |
355 | -td#fancy_title_main { |
356 | - height: 32px; |
357 | - background: transparent url(fancy_title_main.png) repeat-x; |
358 | -} |
359 | - |
360 | -td#fancy_title_right { |
361 | - height: 32px; |
362 | - width: 15px; |
363 | - background: transparent url(fancy_title_right.png) repeat-x; |
364 | -} |
365 | \ No newline at end of file |
366 | |
367 | === added file 'javascript/jquery.easing-1.3.pack.js' |
368 | --- javascript/jquery.easing-1.3.pack.js 1970-01-01 00:00:00 +0000 |
369 | +++ javascript/jquery.easing-1.3.pack.js 2010-10-25 11:38:45 +0000 |
370 | @@ -0,0 +1,72 @@ |
371 | +/* |
372 | + * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ |
373 | + * |
374 | + * Uses the built in easing capabilities added In jQuery 1.1 |
375 | + * to offer multiple easing options |
376 | + * |
377 | + * TERMS OF USE - jQuery Easing |
378 | + * |
379 | + * Open source under the BSD License. |
380 | + * |
381 | + * Copyright © 2008 George McGinley Smith |
382 | + * All rights reserved. |
383 | + * |
384 | + * Redistribution and use in source and binary forms, with or without modification, |
385 | + * are permitted provided that the following conditions are met: |
386 | + * |
387 | + * Redistributions of source code must retain the above copyright notice, this list of |
388 | + * conditions and the following disclaimer. |
389 | + * Redistributions in binary form must reproduce the above copyright notice, this list |
390 | + * of conditions and the following disclaimer in the documentation and/or other materials |
391 | + * provided with the distribution. |
392 | + * |
393 | + * Neither the name of the author nor the names of contributors may be used to endorse |
394 | + * or promote products derived from this software without specific prior written permission. |
395 | + * |
396 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
397 | + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
398 | + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
399 | + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
400 | + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
401 | + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
402 | + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
403 | + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
404 | + * OF THE POSSIBILITY OF SUCH DAMAGE. |
405 | + * |
406 | +*/ |
407 | + |
408 | +// t: current time, b: begInnIng value, c: change In value, d: duration |
409 | +eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t<d/2)6 h.i.A(x,t*2,0,c,d)*.5+b;6 h.i.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|easing|pow|75|70158|else|sin|sqrt||5625|asin|||undefined|easeOutBounce|abs||def|swing|easeInBounce|525|cos|easeOutQuad|easeOutBack|easeInBack|easeInSine|easeOutElastic|easeInOutQuint|easeOutQuint|easeInQuint|easeInOutQuart|easeOutQuart|easeInQuart|extend|easeInElastic|easeInOutCirc|easeInOutCubic|easeOutCirc|easeInOutElastic|easeOutCubic|easeInCirc|easeInOutExpo|easeInCubic|easeOutExpo|easeInExpo||9375|easeInOutSine|easeInOutQuad|25|easeOutSine|easeInOutBack|easeInQuad|625|984375|jswing|easeInOutBounce'.split('|'),0,{})) |
410 | + |
411 | +/* |
412 | + * |
413 | + * TERMS OF USE - EASING EQUATIONS |
414 | + * |
415 | + * Open source under the BSD License. |
416 | + * |
417 | + * Copyright © 2001 Robert Penner |
418 | + * All rights reserved. |
419 | + * |
420 | + * Redistribution and use in source and binary forms, with or without modification, |
421 | + * are permitted provided that the following conditions are met: |
422 | + * |
423 | + * Redistributions of source code must retain the above copyright notice, this list of |
424 | + * conditions and the following disclaimer. |
425 | + * Redistributions in binary form must reproduce the above copyright notice, this list |
426 | + * of conditions and the following disclaimer in the documentation and/or other materials |
427 | + * provided with the distribution. |
428 | + * |
429 | + * Neither the name of the author nor the names of contributors may be used to endorse |
430 | + * or promote products derived from this software without specific prior written permission. |
431 | + * |
432 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
433 | + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
434 | + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
435 | + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
436 | + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
437 | + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
438 | + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
439 | + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
440 | + * OF THE POSSIBILITY OF SUCH DAMAGE. |
441 | + * |
442 | + */ |
443 | |
444 | === removed file 'javascript/jquery.easing.1.3.js' |
445 | --- javascript/jquery.easing.1.3.js 2010-10-08 14:13:57 +0000 |
446 | +++ javascript/jquery.easing.1.3.js 1970-01-01 00:00:00 +0000 |
447 | @@ -1,205 +0,0 @@ |
448 | -/* |
449 | - * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ |
450 | - * |
451 | - * Uses the built in easing capabilities added In jQuery 1.1 |
452 | - * to offer multiple easing options |
453 | - * |
454 | - * TERMS OF USE - jQuery Easing |
455 | - * |
456 | - * Open source under the BSD License. |
457 | - * |
458 | - * Copyright © 2008 George McGinley Smith |
459 | - * All rights reserved. |
460 | - * |
461 | - * Redistribution and use in source and binary forms, with or without modification, |
462 | - * are permitted provided that the following conditions are met: |
463 | - * |
464 | - * Redistributions of source code must retain the above copyright notice, this list of |
465 | - * conditions and the following disclaimer. |
466 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
467 | - * of conditions and the following disclaimer in the documentation and/or other materials |
468 | - * provided with the distribution. |
469 | - * |
470 | - * Neither the name of the author nor the names of contributors may be used to endorse |
471 | - * or promote products derived from this software without specific prior written permission. |
472 | - * |
473 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
474 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
475 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
476 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
477 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
478 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
479 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
480 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
481 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
482 | - * |
483 | -*/ |
484 | - |
485 | -// t: current time, b: begInnIng value, c: change In value, d: duration |
486 | -jQuery.easing['jswing'] = jQuery.easing['swing']; |
487 | - |
488 | -jQuery.extend( jQuery.easing, |
489 | -{ |
490 | - def: 'easeOutQuad', |
491 | - swing: function (x, t, b, c, d) { |
492 | - //alert(jQuery.easing.default); |
493 | - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); |
494 | - }, |
495 | - easeInQuad: function (x, t, b, c, d) { |
496 | - return c*(t/=d)*t + b; |
497 | - }, |
498 | - easeOutQuad: function (x, t, b, c, d) { |
499 | - return -c *(t/=d)*(t-2) + b; |
500 | - }, |
501 | - easeInOutQuad: function (x, t, b, c, d) { |
502 | - if ((t/=d/2) < 1) return c/2*t*t + b; |
503 | - return -c/2 * ((--t)*(t-2) - 1) + b; |
504 | - }, |
505 | - easeInCubic: function (x, t, b, c, d) { |
506 | - return c*(t/=d)*t*t + b; |
507 | - }, |
508 | - easeOutCubic: function (x, t, b, c, d) { |
509 | - return c*((t=t/d-1)*t*t + 1) + b; |
510 | - }, |
511 | - easeInOutCubic: function (x, t, b, c, d) { |
512 | - if ((t/=d/2) < 1) return c/2*t*t*t + b; |
513 | - return c/2*((t-=2)*t*t + 2) + b; |
514 | - }, |
515 | - easeInQuart: function (x, t, b, c, d) { |
516 | - return c*(t/=d)*t*t*t + b; |
517 | - }, |
518 | - easeOutQuart: function (x, t, b, c, d) { |
519 | - return -c * ((t=t/d-1)*t*t*t - 1) + b; |
520 | - }, |
521 | - easeInOutQuart: function (x, t, b, c, d) { |
522 | - if ((t/=d/2) < 1) return c/2*t*t*t*t + b; |
523 | - return -c/2 * ((t-=2)*t*t*t - 2) + b; |
524 | - }, |
525 | - easeInQuint: function (x, t, b, c, d) { |
526 | - return c*(t/=d)*t*t*t*t + b; |
527 | - }, |
528 | - easeOutQuint: function (x, t, b, c, d) { |
529 | - return c*((t=t/d-1)*t*t*t*t + 1) + b; |
530 | - }, |
531 | - easeInOutQuint: function (x, t, b, c, d) { |
532 | - if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; |
533 | - return c/2*((t-=2)*t*t*t*t + 2) + b; |
534 | - }, |
535 | - easeInSine: function (x, t, b, c, d) { |
536 | - return -c * Math.cos(t/d * (Math.PI/2)) + c + b; |
537 | - }, |
538 | - easeOutSine: function (x, t, b, c, d) { |
539 | - return c * Math.sin(t/d * (Math.PI/2)) + b; |
540 | - }, |
541 | - easeInOutSine: function (x, t, b, c, d) { |
542 | - return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; |
543 | - }, |
544 | - easeInExpo: function (x, t, b, c, d) { |
545 | - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; |
546 | - }, |
547 | - easeOutExpo: function (x, t, b, c, d) { |
548 | - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; |
549 | - }, |
550 | - easeInOutExpo: function (x, t, b, c, d) { |
551 | - if (t==0) return b; |
552 | - if (t==d) return b+c; |
553 | - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; |
554 | - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; |
555 | - }, |
556 | - easeInCirc: function (x, t, b, c, d) { |
557 | - return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; |
558 | - }, |
559 | - easeOutCirc: function (x, t, b, c, d) { |
560 | - return c * Math.sqrt(1 - (t=t/d-1)*t) + b; |
561 | - }, |
562 | - easeInOutCirc: function (x, t, b, c, d) { |
563 | - if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; |
564 | - return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; |
565 | - }, |
566 | - easeInElastic: function (x, t, b, c, d) { |
567 | - var s=1.70158;var p=0;var a=c; |
568 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
569 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
570 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
571 | - return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
572 | - }, |
573 | - easeOutElastic: function (x, t, b, c, d) { |
574 | - var s=1.70158;var p=0;var a=c; |
575 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
576 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
577 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
578 | - return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; |
579 | - }, |
580 | - easeInOutElastic: function (x, t, b, c, d) { |
581 | - var s=1.70158;var p=0;var a=c; |
582 | - if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); |
583 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
584 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
585 | - if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
586 | - return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; |
587 | - }, |
588 | - easeInBack: function (x, t, b, c, d, s) { |
589 | - if (s == undefined) s = 1.70158; |
590 | - return c*(t/=d)*t*((s+1)*t - s) + b; |
591 | - }, |
592 | - easeOutBack: function (x, t, b, c, d, s) { |
593 | - if (s == undefined) s = 1.70158; |
594 | - return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; |
595 | - }, |
596 | - easeInOutBack: function (x, t, b, c, d, s) { |
597 | - if (s == undefined) s = 1.70158; |
598 | - if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; |
599 | - return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; |
600 | - }, |
601 | - easeInBounce: function (x, t, b, c, d) { |
602 | - return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; |
603 | - }, |
604 | - easeOutBounce: function (x, t, b, c, d) { |
605 | - if ((t/=d) < (1/2.75)) { |
606 | - return c*(7.5625*t*t) + b; |
607 | - } else if (t < (2/2.75)) { |
608 | - return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; |
609 | - } else if (t < (2.5/2.75)) { |
610 | - return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; |
611 | - } else { |
612 | - return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; |
613 | - } |
614 | - }, |
615 | - easeInOutBounce: function (x, t, b, c, d) { |
616 | - if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; |
617 | - return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; |
618 | - } |
619 | -}); |
620 | - |
621 | -/* |
622 | - * |
623 | - * TERMS OF USE - EASING EQUATIONS |
624 | - * |
625 | - * Open source under the BSD License. |
626 | - * |
627 | - * Copyright © 2001 Robert Penner |
628 | - * All rights reserved. |
629 | - * |
630 | - * Redistribution and use in source and binary forms, with or without modification, |
631 | - * are permitted provided that the following conditions are met: |
632 | - * |
633 | - * Redistributions of source code must retain the above copyright notice, this list of |
634 | - * conditions and the following disclaimer. |
635 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
636 | - * of conditions and the following disclaimer in the documentation and/or other materials |
637 | - * provided with the distribution. |
638 | - * |
639 | - * Neither the name of the author nor the names of contributors may be used to endorse |
640 | - * or promote products derived from this software without specific prior written permission. |
641 | - * |
642 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
643 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
644 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
645 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
646 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
647 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
648 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
649 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
650 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
651 | - * |
652 | - */ |
653 | \ No newline at end of file |
654 | |
655 | === removed file 'javascript/jquery.fancybox-1.2.1.js' |
656 | --- javascript/jquery.fancybox-1.2.1.js 2010-10-08 14:13:57 +0000 |
657 | +++ javascript/jquery.fancybox-1.2.1.js 1970-01-01 00:00:00 +0000 |
658 | @@ -1,547 +0,0 @@ |
659 | -/* |
660 | - * FancyBox - simple and fancy jQuery plugin |
661 | - * Examples and documentation at: http://fancy.klade.lv/ |
662 | - * Version: 1.2.1 (13/03/2009) |
663 | - * Copyright (c) 2009 Janis Skarnelis |
664 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
665 | - * Requires: jQuery v1.3+ |
666 | -*/ |
667 | -;(function($) { |
668 | - |
669 | - $.fn.fixPNG = function() { |
670 | - return this.each(function () { |
671 | - var image = $(this).css('backgroundImage'); |
672 | - |
673 | - if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) { |
674 | - image = RegExp.$1; |
675 | - $(this).css({ |
676 | - 'backgroundImage': 'none', |
677 | - 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')" |
678 | - }).each(function () { |
679 | - var position = $(this).css('position'); |
680 | - if (position != 'absolute' && position != 'relative') |
681 | - $(this).css('position', 'relative'); |
682 | - }); |
683 | - } |
684 | - }); |
685 | - }; |
686 | - |
687 | - var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; |
688 | - var isIE = ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 8); |
689 | - |
690 | - $.fn.fancybox = function(settings) { |
691 | - settings = $.extend({}, $.fn.fancybox.defaults, settings); |
692 | - |
693 | - var matchedGroup = this; |
694 | - |
695 | - function _initialize() { |
696 | - elem = this; |
697 | - opts = settings; |
698 | - |
699 | - _start(); |
700 | - |
701 | - return false; |
702 | - }; |
703 | - |
704 | - function _start() { |
705 | - if (busy) return; |
706 | - |
707 | - if ($.isFunction(opts.callbackOnStart)) { |
708 | - opts.callbackOnStart(); |
709 | - } |
710 | - |
711 | - opts.itemArray = []; |
712 | - opts.itemCurrent = 0; |
713 | - |
714 | - if (settings.itemArray.length > 0) { |
715 | - opts.itemArray = settings.itemArray; |
716 | - |
717 | - } else { |
718 | - var item = {}; |
719 | - |
720 | - if (!elem.rel || elem.rel == '') { |
721 | - var item = {href: elem.href, title: elem.title}; |
722 | - |
723 | - if ($(elem).children("img:first").length) { |
724 | - item.orig = $(elem).children("img:first"); |
725 | - } |
726 | - |
727 | - opts.itemArray.push( item ); |
728 | - |
729 | - } else { |
730 | - |
731 | - var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]"); |
732 | - |
733 | - var item = {}; |
734 | - |
735 | - for (var i = 0; i < subGroup.length; i++) { |
736 | - item = {href: subGroup[i].href, title: subGroup[i].title}; |
737 | - |
738 | - if ($(subGroup[i]).children("img:first").length) { |
739 | - item.orig = $(subGroup[i]).children("img:first"); |
740 | - } |
741 | - |
742 | - opts.itemArray.push( item ); |
743 | - } |
744 | - |
745 | - while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) { |
746 | - opts.itemCurrent++; |
747 | - } |
748 | - } |
749 | - } |
750 | - |
751 | - if (opts.overlayShow) { |
752 | - if (isIE) { |
753 | - $('embed, object, select').css('visibility', 'hidden'); |
754 | - } |
755 | - |
756 | - $("#fancy_overlay").css('opacity', opts.overlayOpacity).show(); |
757 | - } |
758 | - |
759 | - _change_item(); |
760 | - }; |
761 | - |
762 | - function _change_item() { |
763 | - $("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide(); |
764 | - |
765 | - var href = opts.itemArray[ opts.itemCurrent ].href; |
766 | - |
767 | - if (href.match(/#/)) { |
768 | - var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#')); |
769 | - |
770 | - _set_content('<div id="fancy_div">' + $(target).html() + '</div>', opts.frameWidth, opts.frameHeight); |
771 | - |
772 | - } else if (href.match(imageRegExp)) { |
773 | - imagePreloader = new Image; imagePreloader.src = href; |
774 | - |
775 | - if (imagePreloader.complete) { |
776 | - _proceed_image(); |
777 | - |
778 | - } else { |
779 | - $.fn.fancybox.showLoading(); |
780 | - |
781 | - $(imagePreloader).unbind().bind('load', function() { |
782 | - $(".fancy_loading").hide(); |
783 | - |
784 | - _proceed_image(); |
785 | - }); |
786 | - } |
787 | - |
788 | - } else if (href.match("iframe") || elem.className.indexOf("iframe") >= 0) { |
789 | - _set_content('<iframe id="fancy_frame" onload="$.fn.fancybox.showIframe()" name="fancy_iframe' + Math.round(Math.random()*1000) + '" frameborder="0" hspace="0" src="' + href + '"></iframe>', opts.frameWidth, opts.frameHeight); |
790 | - |
791 | - } else { |
792 | - $.get(href, function(data) { |
793 | - _set_content( '<div id="fancy_ajax">' + data + '</div>', opts.frameWidth, opts.frameHeight ); |
794 | - }); |
795 | - } |
796 | - }; |
797 | - |
798 | - function _proceed_image() { |
799 | - if (opts.imageScale) { |
800 | - var w = $.fn.fancybox.getViewport(); |
801 | - |
802 | - var r = Math.min(Math.min(w[0] - 36, imagePreloader.width) / imagePreloader.width, Math.min(w[1] - 60, imagePreloader.height) / imagePreloader.height); |
803 | - |
804 | - var width = Math.round(r * imagePreloader.width); |
805 | - var height = Math.round(r * imagePreloader.height); |
806 | - |
807 | - } else { |
808 | - var width = imagePreloader.width; |
809 | - var height = imagePreloader.height; |
810 | - } |
811 | - |
812 | - _set_content('<img alt="" id="fancy_img" src="' + imagePreloader.src + '" />', width, height); |
813 | - }; |
814 | - |
815 | - function _preload_neighbor_images() { |
816 | - if ((opts.itemArray.length -1) > opts.itemCurrent) { |
817 | - var href = opts.itemArray[opts.itemCurrent + 1].href; |
818 | - |
819 | - if (href.match(imageRegExp)) { |
820 | - objNext = new Image(); |
821 | - objNext.src = href; |
822 | - } |
823 | - } |
824 | - |
825 | - if (opts.itemCurrent > 0) { |
826 | - var href = opts.itemArray[opts.itemCurrent -1].href; |
827 | - |
828 | - if (href.match(imageRegExp)) { |
829 | - objNext = new Image(); |
830 | - objNext.src = href; |
831 | - } |
832 | - } |
833 | - }; |
834 | - |
835 | - function _set_content(value, width, height) { |
836 | - busy = true; |
837 | - |
838 | - var pad = opts.padding; |
839 | - |
840 | - if (isIE) { |
841 | - $("#fancy_content")[0].style.removeExpression("height"); |
842 | - $("#fancy_content")[0].style.removeExpression("width"); |
843 | - } |
844 | - |
845 | - if (pad > 0) { |
846 | - width += pad * 2; |
847 | - height += pad * 2; |
848 | - |
849 | - $("#fancy_content").css({ |
850 | - 'top' : pad + 'px', |
851 | - 'right' : pad + 'px', |
852 | - 'bottom' : pad + 'px', |
853 | - 'left' : pad + 'px', |
854 | - 'width' : 'auto', |
855 | - 'height' : 'auto' |
856 | - }); |
857 | - |
858 | - if (isIE) { |
859 | - $("#fancy_content")[0].style.setExpression('height', '(this.parentNode.clientHeight - 20)'); |
860 | - $("#fancy_content")[0].style.setExpression('width', '(this.parentNode.clientWidth - 20)'); |
861 | - } |
862 | - |
863 | - } else { |
864 | - $("#fancy_content").css({ |
865 | - 'top' : 0, |
866 | - 'right' : 0, |
867 | - 'bottom' : 0, |
868 | - 'left' : 0, |
869 | - 'width' : '100%', |
870 | - 'height' : '100%' |
871 | - }); |
872 | - } |
873 | - |
874 | - if ($("#fancy_outer").is(":visible") && width == $("#fancy_outer").width() && height == $("#fancy_outer").height()) { |
875 | - $("#fancy_content").fadeOut("fast", function() { |
876 | - $("#fancy_content").empty().append($(value)).fadeIn("normal", function() { |
877 | - _finish(); |
878 | - }); |
879 | - }); |
880 | - |
881 | - return; |
882 | - } |
883 | - |
884 | - var w = $.fn.fancybox.getViewport(); |
885 | - |
886 | - var itemLeft = (width + 36) > w[0] ? w[2] : (w[2] + Math.round((w[0] - width - 36) / 2)); |
887 | - var itemTop = (height + 50) > w[1] ? w[3] : (w[3] + Math.round((w[1] - height - 50) / 2)); |
888 | - |
889 | - var itemOpts = { |
890 | - 'left': itemLeft, |
891 | - 'top': itemTop, |
892 | - 'width': width + 'px', |
893 | - 'height': height + 'px' |
894 | - }; |
895 | - |
896 | - if ($("#fancy_outer").is(":visible")) { |
897 | - $("#fancy_content").fadeOut("normal", function() { |
898 | - $("#fancy_content").empty(); |
899 | - $("#fancy_outer").animate(itemOpts, opts.zoomSpeedChange, opts.easingChange, function() { |
900 | - $("#fancy_content").append($(value)).fadeIn("normal", function() { |
901 | - _finish(); |
902 | - }); |
903 | - }); |
904 | - }); |
905 | - |
906 | - } else { |
907 | - |
908 | - if (opts.zoomSpeedIn > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) { |
909 | - $("#fancy_content").empty().append($(value)); |
910 | - |
911 | - var orig_item = opts.itemArray[opts.itemCurrent].orig; |
912 | - var orig_pos = $.fn.fancybox.getPosition(orig_item); |
913 | - |
914 | - $("#fancy_outer").css({ |
915 | - 'left': (orig_pos.left - 18) + 'px', |
916 | - 'top': (orig_pos.top - 18) + 'px', |
917 | - 'width': $(orig_item).width(), |
918 | - 'height': $(orig_item).height() |
919 | - }); |
920 | - |
921 | - if (opts.zoomOpacity) { |
922 | - itemOpts.opacity = 'show'; |
923 | - } |
924 | - |
925 | - $("#fancy_outer").animate(itemOpts, opts.zoomSpeedIn, opts.easingIn, function() { |
926 | - _finish(); |
927 | - }); |
928 | - |
929 | - } else { |
930 | - |
931 | - $("#fancy_content").hide().empty().append($(value)).show(); |
932 | - $("#fancy_outer").css(itemOpts).fadeIn("normal", function() { |
933 | - _finish(); |
934 | - }); |
935 | - } |
936 | - } |
937 | - }; |
938 | - |
939 | - function _set_navigation() { |
940 | - if (opts.itemCurrent != 0) { |
941 | - $("#fancy_left, #fancy_left_ico").unbind().bind("click", function(e) { |
942 | - e.stopPropagation(); |
943 | - |
944 | - opts.itemCurrent--; |
945 | - _change_item(); |
946 | - |
947 | - return false; |
948 | - }); |
949 | - |
950 | - $("#fancy_left").show(); |
951 | - } |
952 | - |
953 | - if (opts.itemCurrent != ( opts.itemArray.length -1)) { |
954 | - $("#fancy_right, #fancy_right_ico").unbind().bind("click", function(e) { |
955 | - e.stopPropagation(); |
956 | - |
957 | - opts.itemCurrent++; |
958 | - _change_item(); |
959 | - |
960 | - return false; |
961 | - }); |
962 | - |
963 | - $("#fancy_right").show(); |
964 | - } |
965 | - }; |
966 | - |
967 | - function _finish() { |
968 | - _set_navigation(); |
969 | - |
970 | - _preload_neighbor_images(); |
971 | - |
972 | - $(document).keydown(function(e) { |
973 | - if (e.keyCode == 27) { |
974 | - $.fn.fancybox.close(); |
975 | - $(document).unbind("keydown"); |
976 | - |
977 | - } else if(e.keyCode == 37 && opts.itemCurrent != 0) { |
978 | - opts.itemCurrent--; |
979 | - _change_item(); |
980 | - $(document).unbind("keydown"); |
981 | - |
982 | - } else if(e.keyCode == 39 && opts.itemCurrent != (opts.itemArray.length - 1)) { |
983 | - opts.itemCurrent++; |
984 | - _change_item(); |
985 | - $(document).unbind("keydown"); |
986 | - } |
987 | - }); |
988 | - |
989 | - if (opts.centerOnScroll) { |
990 | - $(window).bind("resize scroll", $.fn.fancybox.scrollBox); |
991 | - } else { |
992 | - $("div#fancy_outer").css("position", "absolute"); |
993 | - } |
994 | - |
995 | - if (opts.hideOnContentClick) { |
996 | - $("#fancy_wrap").click($.fn.fancybox.close); |
997 | - } |
998 | - |
999 | - $("#fancy_overlay, #fancy_close").bind("click", $.fn.fancybox.close); |
1000 | - |
1001 | - $("#fancy_close").show(); |
1002 | - |
1003 | - if (opts.itemArray[ opts.itemCurrent ].title !== undefined && opts.itemArray[ opts.itemCurrent ].title.length > 0) { |
1004 | - $('#fancy_title div').html(opts.itemArray[ opts.itemCurrent ].title); |
1005 | - $('#fancy_title').show(); |
1006 | - } |
1007 | - |
1008 | - if (opts.overlayShow && isIE) { |
1009 | - $('embed, object, select', $('#fancy_content')).css('visibility', 'visible'); |
1010 | - } |
1011 | - |
1012 | - if ($.isFunction(opts.callbackOnShow)) { |
1013 | - opts.callbackOnShow(); |
1014 | - } |
1015 | - |
1016 | - busy = false; |
1017 | - }; |
1018 | - |
1019 | - return this.unbind('click').click(_initialize); |
1020 | - }; |
1021 | - |
1022 | - $.fn.fancybox.scrollBox = function() { |
1023 | - var pos = $.fn.fancybox.getViewport(); |
1024 | - |
1025 | - $("#fancy_outer").css('left', (($("#fancy_outer").width() + 36) > pos[0] ? pos[2] : pos[2] + Math.round((pos[0] - $("#fancy_outer").width() - 36) / 2))); |
1026 | - $("#fancy_outer").css('top', (($("#fancy_outer").height() + 50) > pos[1] ? pos[3] : pos[3] + Math.round((pos[1] - $("#fancy_outer").height() - 50) / 2))); |
1027 | - }; |
1028 | - |
1029 | - $.fn.fancybox.getNumeric = function(el, prop) { |
1030 | - return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0; |
1031 | - }; |
1032 | - |
1033 | - $.fn.fancybox.getPosition = function(el) { |
1034 | - var pos = el.offset(); |
1035 | - |
1036 | - pos.top += $.fn.fancybox.getNumeric(el, 'paddingTop'); |
1037 | - pos.top += $.fn.fancybox.getNumeric(el, 'borderTopWidth'); |
1038 | - |
1039 | - pos.left += $.fn.fancybox.getNumeric(el, 'paddingLeft'); |
1040 | - pos.left += $.fn.fancybox.getNumeric(el, 'borderLeftWidth'); |
1041 | - |
1042 | - return pos; |
1043 | - }; |
1044 | - |
1045 | - $.fn.fancybox.showIframe = function() { |
1046 | - $(".fancy_loading").hide(); |
1047 | - $("#fancy_frame").show(); |
1048 | - }; |
1049 | - |
1050 | - $.fn.fancybox.getViewport = function() { |
1051 | - return [$(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ]; |
1052 | - }; |
1053 | - |
1054 | - $.fn.fancybox.animateLoading = function() { |
1055 | - if (!$("#fancy_loading").is(':visible')){ |
1056 | - clearInterval(loadingTimer); |
1057 | - return; |
1058 | - } |
1059 | - |
1060 | - $("#fancy_loading > div").css('top', (loadingFrame * -40) + 'px'); |
1061 | - |
1062 | - loadingFrame = (loadingFrame + 1) % 12; |
1063 | - }; |
1064 | - |
1065 | - $.fn.fancybox.showLoading = function() { |
1066 | - clearInterval(loadingTimer); |
1067 | - |
1068 | - var pos = $.fn.fancybox.getViewport(); |
1069 | - |
1070 | - $("#fancy_loading").css({'left': ((pos[0] - 40) / 2 + pos[2]), 'top': ((pos[1] - 40) / 2 + pos[3])}).show(); |
1071 | - $("#fancy_loading").bind('click', $.fn.fancybox.close); |
1072 | - |
1073 | - loadingTimer = setInterval($.fn.fancybox.animateLoading, 66); |
1074 | - }; |
1075 | - |
1076 | - $.fn.fancybox.close = function() { |
1077 | - busy = true; |
1078 | - |
1079 | - $(imagePreloader).unbind(); |
1080 | - |
1081 | - $("#fancy_overlay, #fancy_close").unbind(); |
1082 | - |
1083 | - if (opts.hideOnContentClick) { |
1084 | - $("#fancy_wrap").unbind(); |
1085 | - } |
1086 | - |
1087 | - $("#fancy_close, .fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide(); |
1088 | - |
1089 | - if (opts.centerOnScroll) { |
1090 | - $(window).unbind("resize scroll"); |
1091 | - } |
1092 | - |
1093 | - __cleanup = function() { |
1094 | - $("#fancy_overlay, #fancy_outer").hide(); |
1095 | - |
1096 | - if (opts.centerOnScroll) { |
1097 | - $(window).unbind("resize scroll"); |
1098 | - } |
1099 | - |
1100 | - if (isIE) { |
1101 | - $('embed, object, select').css('visibility', 'visible'); |
1102 | - } |
1103 | - |
1104 | - if ($.isFunction(opts.callbackOnClose)) { |
1105 | - opts.callbackOnClose(); |
1106 | - } |
1107 | - |
1108 | - busy = false; |
1109 | - }; |
1110 | - |
1111 | - if ($("#fancy_outer").is(":visible") !== false) { |
1112 | - if (opts.zoomSpeedOut > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) { |
1113 | - var orig_item = opts.itemArray[opts.itemCurrent].orig; |
1114 | - var orig_pos = $.fn.fancybox.getPosition(orig_item); |
1115 | - |
1116 | - var itemOpts = { |
1117 | - 'left': (orig_pos.left - 18) + 'px', |
1118 | - 'top': (orig_pos.top - 18) + 'px', |
1119 | - 'width': $(orig_item).width(), |
1120 | - 'height': $(orig_item).height() |
1121 | - }; |
1122 | - |
1123 | - if (opts.zoomOpacity) { |
1124 | - itemOpts.opacity = 'hide'; |
1125 | - } |
1126 | - |
1127 | - $("#fancy_outer").stop(false, true).animate(itemOpts, opts.zoomSpeedOut, opts.easingOut, __cleanup); |
1128 | - |
1129 | - } else { |
1130 | - $("#fancy_outer").stop(false, true).fadeOut("fast", __cleanup); |
1131 | - } |
1132 | - |
1133 | - } else { |
1134 | - __cleanup(); |
1135 | - } |
1136 | - |
1137 | - return false; |
1138 | - }; |
1139 | - |
1140 | - $.fn.fancybox.build = function() { |
1141 | - var html = ''; |
1142 | - |
1143 | - html += '<div id="fancy_overlay"></div>'; |
1144 | - |
1145 | - html += '<div id="fancy_wrap">'; |
1146 | - |
1147 | - html += '<div class="fancy_loading" id="fancy_loading"><div></div></div>'; |
1148 | - |
1149 | - html += '<div id="fancy_outer">'; |
1150 | - |
1151 | - html += '<div id="fancy_inner">'; |
1152 | - |
1153 | - html += '<div id="fancy_close"></div>'; |
1154 | - |
1155 | - html += '<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div>'; |
1156 | - |
1157 | - html += '<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>'; |
1158 | - |
1159 | - html += '<div id="fancy_content"></div>'; |
1160 | - |
1161 | - html += '<div id="fancy_title"></div>'; |
1162 | - |
1163 | - html += '</div>'; |
1164 | - |
1165 | - html += '</div>'; |
1166 | - |
1167 | - html += '</div>'; |
1168 | - |
1169 | - $(html).appendTo("body"); |
1170 | - |
1171 | - $('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title'); |
1172 | - |
1173 | - if (isIE) { |
1174 | - $("#fancy_inner").prepend('<iframe class="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>'); |
1175 | - $("#fancy_close, .fancy_bg, .fancy_title, .fancy_ico").fixPNG(); |
1176 | - } |
1177 | - }; |
1178 | - |
1179 | - $.fn.fancybox.defaults = { |
1180 | - padding : 10, |
1181 | - imageScale : true, |
1182 | - zoomOpacity : false, |
1183 | - zoomSpeedIn : 0, |
1184 | - zoomSpeedOut : 0, |
1185 | - zoomSpeedChange : 300, |
1186 | - easingIn : 'swing', |
1187 | - easingOut : 'swing', |
1188 | - easingChange : 'swing', |
1189 | - frameWidth : 425, |
1190 | - frameHeight : 355, |
1191 | - overlayShow : true, |
1192 | - overlayOpacity : 0.3, |
1193 | - hideOnContentClick : true, |
1194 | - centerOnScroll : true, |
1195 | - itemArray : [], |
1196 | - callbackOnStart : null, |
1197 | - callbackOnShow : null, |
1198 | - callbackOnClose : null |
1199 | - }; |
1200 | - |
1201 | - $(document).ready(function() { |
1202 | - $.fn.fancybox.build(); |
1203 | - }); |
1204 | - |
1205 | -})(jQuery); |
1206 | \ No newline at end of file |
1207 | |
1208 | === removed file 'javascript/jquery.fancybox-1.2.1.pack.js' |
1209 | --- javascript/jquery.fancybox-1.2.1.pack.js 2010-10-08 14:13:57 +0000 |
1210 | +++ javascript/jquery.fancybox-1.2.1.pack.js 1970-01-01 00:00:00 +0000 |
1211 | @@ -1,9 +0,0 @@ |
1212 | -/* |
1213 | - * FancyBox - simple and fancy jQuery plugin |
1214 | - * Examples and documentation at: http://fancy.klade.lv/ |
1215 | - * Version: 1.2.1 (13/03/2009) |
1216 | - * Copyright (c) 2009 Janis Skarnelis |
1217 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
1218 | - * Requires: jQuery v1.3+ |
1219 | -*/ |
1220 | -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(7($){$.b.2Q=7(){u B.2t(7(){9 1J=$(B).n(\'2Z\');5(1J.1c(/^3w\\(["\']?(.*\\.2p)["\']?\\)$/i)){1J=3t.$1;$(B).n({\'2Z\':\'45\',\'2o\':"3W:3R.4m.4d(3h=F, 3T="+($(B).n(\'41\')==\'2J-3Z\'?\'4c\':\'3N\')+", Q=\'"+1J+"\')"}).2t(7(){9 1b=$(B).n(\'1b\');5(1b!=\'2e\'&&1b!=\'2n\')$(B).n(\'1b\',\'2n\')})}})};9 A,4,16=D,s=1t 1o,1w,1v=1,1y=/\\.(3A|3Y|2p|3c|3d)(.*)?$/i;9 P=($.2q.3K&&2f($.2q.3z.2k(0,1))<8);$.b.c=7(Y){Y=$.3x({},$.b.c.2R,Y);9 2s=B;7 2h(){A=B;4=Y;2r();u D};7 2r(){5(16)u;5($.1O(4.2c)){4.2c()}4.j=[];4.h=0;5(Y.j.N>0){4.j=Y.j}t{9 O={};5(!A.1H||A.1H==\'\'){9 O={d:A.d,X:A.X};5($(A).1G("1m:1D").N){O.1a=$(A).1G("1m:1D")}4.j.2j(O)}t{9 Z=$(2s).2o("a[1H="+A.1H+"]");9 O={};3C(9 i=0;i<Z.N;i++){O={d:Z[i].d,X:Z[i].X};5($(Z[i]).1G("1m:1D").N){O.1a=$(Z[i]).1G("1m:1D")}4.j.2j(O)}3F(4.j[4.h].d!=A.d){4.h++}}}5(4.23){5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'3s\')}$("#1i").n(\'25\',4.2U).J()}1d()};7 1d(){$("#1f, #1e, #V, #G").S();9 d=4.j[4.h].d;5(d.1c(/#/)){9 U=11.3r.d.3f(\'#\')[0];U=d.3g(U,\'\');U=U.2k(U.2l(\'#\'));1k(\'<6 l="3e">\'+$(U).o()+\'</6>\',4.1I,4.1x)}t 5(d.1c(1y)){s=1t 1o;s.Q=d;5(s.3a){1K()}t{$.b.c.34();$(s).x().14(\'3b\',7(){$(".I").S();1K()})}}t 5(d.1c("17")||A.3j.2l("17")>=0){1k(\'<17 l="35" 3q="$.b.c.38()" 3o="3n\'+C.T(C.3l()*3m)+\'" 2K="0" 3E="0" Q="\'+d+\'"></17>\',4.1I,4.1x)}t{$.4p(d,7(2m){1k(\'<6 l="3L">\'+2m+\'</6>\',4.1I,4.1x)})}};7 1K(){5(4.30){9 w=$.b.c.1n();9 r=C.1M(C.1M(w[0]-36,s.g)/s.g,C.1M(w[1]-4b,s.f)/s.f);9 g=C.T(r*s.g);9 f=C.T(r*s.f)}t{9 g=s.g;9 f=s.f}1k(\'<1m 48="" l="49" Q="\'+s.Q+\'" />\',g,f)};7 2F(){5((4.j.N-1)>4.h){9 d=4.j[4.h+1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}5(4.h>0){9 d=4.j[4.h-1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}};7 1k(1j,g,f){16=F;9 L=4.2Y;5(P){$("#q")[0].1E.2u("f");$("#q")[0].1E.2u("g")}5(L>0){g+=L*2;f+=L*2;$("#q").n({\'v\':L+\'z\',\'2E\':L+\'z\',\'2i\':L+\'z\',\'y\':L+\'z\',\'g\':\'2B\',\'f\':\'2B\'});5(P){$("#q")[0].1E.2C(\'f\',\'(B.2D.4j - 20)\');$("#q")[0].1E.2C(\'g\',\'(B.2D.3S - 20)\')}}t{$("#q").n({\'v\':0,\'2E\':0,\'2i\':0,\'y\':0,\'g\':\'2z%\',\'f\':\'2z%\'})}5($("#k").1u(":19")&&g==$("#k").g()&&f==$("#k").f()){$("#q").1Z("2N",7(){$("#q").1C().1F($(1j)).21("1s",7(){1g()})});u}9 w=$.b.c.1n();9 2v=(g+36)>w[0]?w[2]:(w[2]+C.T((w[0]-g-36)/2));9 2w=(f+1z)>w[1]?w[3]:(w[3]+C.T((w[1]-f-1z)/2));9 K={\'y\':2v,\'v\':2w,\'g\':g+\'z\',\'f\':f+\'z\'};5($("#k").1u(":19")){$("#q").1Z("1s",7(){$("#q").1C();$("#k").24(K,4.2X,4.2T,7(){$("#q").1F($(1j)).21("1s",7(){1g()})})})}t{5(4.1W>0&&4.j[4.h].1a!==1L){$("#q").1C().1F($(1j));9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);$("#k").n({\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()});5(4.1X){K.25=\'J\'}$("#k").24(K,4.1W,4.2W,7(){1g()})}t{$("#q").S().1C().1F($(1j)).J();$("#k").n(K).21("1s",7(){1g()})}}};7 2y(){5(4.h!=0){$("#1e, #2O").x().14("R",7(e){e.2x();4.h--;1d();u D});$("#1e").J()}5(4.h!=(4.j.N-1)){$("#1f, #2M").x().14("R",7(e){e.2x();4.h++;1d();u D});$("#1f").J()}};7 1g(){2y();2F();$(W).1B(7(e){5(e.29==27){$.b.c.1l();$(W).x("1B")}t 5(e.29==37&&4.h!=0){4.h--;1d();$(W).x("1B")}t 5(e.29==39&&4.h!=(4.j.N-1)){4.h++;1d();$(W).x("1B")}});5(4.1r){$(11).14("1N 1T",$.b.c.2g)}t{$("6#k").n("1b","2e")}5(4.2b){$("#22").R($.b.c.1l)}$("#1i, #V").14("R",$.b.c.1l);$("#V").J();5(4.j[4.h].X!==1L&&4.j[4.h].X.N>0){$(\'#G 6\').o(4.j[4.h].X);$(\'#G\').J()}5(4.23&&P){$(\'1U, 1Q, 1P\',$(\'#q\')).n(\'1S\',\'19\')}5($.1O(4.2a)){4.2a()}16=D};u B.x(\'R\').R(2h)};$.b.c.2g=7(){9 m=$.b.c.1n();$("#k").n(\'y\',(($("#k").g()+36)>m[0]?m[2]:m[2]+C.T((m[0]-$("#k").g()-36)/2)));$("#k").n(\'v\',(($("#k").f()+1z)>m[1]?m[3]:m[3]+C.T((m[1]-$("#k").f()-1z)/2)))};$.b.c.1h=7(H,2A){u 2f($.3I(H.3u?H[0]:H,2A,F))||0};$.b.c.1R=7(H){9 m=H.4g();m.v+=$.b.c.1h(H,\'3k\');m.v+=$.b.c.1h(H,\'3J\');m.y+=$.b.c.1h(H,\'3H\');m.y+=$.b.c.1h(H,\'3D\');u m};$.b.c.38=7(){$(".I").S();$("#35").J()};$.b.c.1n=7(){u[$(11).g(),$(11).f(),$(W).3i(),$(W).3p()]};$.b.c.2G=7(){5(!$("#I").1u(\':19\')){33(1w);u}$("#I > 6").n(\'v\',(1v*-40)+\'z\');1v=(1v+1)%12};$.b.c.34=7(){33(1w);9 m=$.b.c.1n();$("#I").n({\'y\':((m[0]-40)/2+m[2]),\'v\':((m[1]-40)/2+m[3])}).J();$("#I").14(\'R\',$.b.c.1l);1w=3Q($.b.c.2G,3X)};$.b.c.1l=7(){16=F;$(s).x();$("#1i, #V").x();5(4.2b){$("#22").x()}$("#V, .I, #1e, #1f, #G").S();5(4.1r){$(11).x("1N 1T")}1q=7(){$("#1i, #k").S();5(4.1r){$(11).x("1N 1T")}5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'19\')}5($.1O(4.1V)){4.1V()}16=D};5($("#k").1u(":19")!==D){5(4.26>0&&4.j[4.h].1a!==1L){9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);9 K={\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()};5(4.1X){K.25=\'S\'}$("#k").31(D,F).24(K,4.26,4.2S,1q)}t{$("#k").31(D,F).1Z("2N",1q)}}t{1q()}u D};$.b.c.2V=7(){9 o=\'\';o+=\'<6 l="1i"></6>\';o+=\'<6 l="22">\';o+=\'<6 p="I" l="I"><6></6></6>\';o+=\'<6 l="k">\';o+=\'<6 l="2I">\';o+=\'<6 l="V"></6>\';o+=\'<6 l="E"><6 p="E 44"></6><6 p="E 43"></6><6 p="E 42"></6><6 p="E 3V"></6><6 p="E 3U"></6><6 p="E 3O"></6><6 p="E 3M"></6><6 p="E 3P"></6></6>\';o+=\'<a d="2P:;" l="1e"><1p p="1Y" l="2O"></1p></a><a d="2P:;" l="1f"><1p p="1Y" l="2M"></1p></a>\';o+=\'<6 l="q"></6>\';o+=\'<6 l="G"></6>\';o+=\'</6>\';o+=\'</6>\';o+=\'</6>\';$(o).2H("46");$(\'<32 4i="0" 4h="0" 4k="0"><2L><13 p="G" l="4l"></13><13 p="G" l="4o"><6></6></13><13 p="G" l="4n"></13></2L></32>\').2H(\'#G\');5(P){$("#2I").47(\'<17 p="4a" 4e="2J" 2K="0"></17>\');$("#V, .E, .G, .1Y").2Q()}};$.b.c.2R={2Y:10,30:F,1X:D,1W:0,26:0,2X:3G,2W:\'28\',2S:\'28\',2T:\'28\',1I:3B,1x:3v,23:F,2U:0.3,2b:F,1r:F,j:[],2c:2d,2a:2d,1V:2d};$(W).3y(7(){$.b.c.2V()})})(4f);',62,274,'||||opts|if|div|function||var||fn|fancybox|href||height|width|itemCurrent||itemArray|fancy_outer|id|pos|css|html|class|fancy_content||imagePreloader|else|return|top||unbind|left|px|elem|this|Math|false|fancy_bg|true|fancy_title|el|fancy_loading|show|itemOpts|pad|orig_item|length|item|isIE|src|click|hide|round|target|fancy_close|document|title|settings|subGroup||window||td|bind|orig_pos|busy|iframe||visible|orig|position|match|_change_item|fancy_left|fancy_right|_finish|getNumeric|fancy_overlay|value|_set_content|close|img|getViewport|Image|span|__cleanup|centerOnScroll|normal|new|is|loadingFrame|loadingTimer|frameHeight|imageRegExp|50|objNext|keydown|empty|first|style|append|children|rel|frameWidth|image|_proceed_image|undefined|min|resize|isFunction|select|object|getPosition|visibility|scroll|embed|callbackOnClose|zoomSpeedIn|zoomOpacity|fancy_ico|fadeOut||fadeIn|fancy_wrap|overlayShow|animate|opacity|zoomSpeedOut||swing|keyCode|callbackOnShow|hideOnContentClick|callbackOnStart|null|absolute|parseInt|scrollBox|_initialize|bottom|push|substr|indexOf|data|relative|filter|png|browser|_start|matchedGroup|each|removeExpression|itemLeft|itemTop|stopPropagation|_set_navigation|100|prop|auto|setExpression|parentNode|right|_preload_neighbor_images|animateLoading|appendTo|fancy_inner|no|frameborder|tr|fancy_right_ico|fast|fancy_left_ico|javascript|fixPNG|defaults|easingOut|easingChange|overlayOpacity|build|easingIn|zoomSpeedChange|padding|backgroundImage|imageScale|stop|table|clearInterval|showLoading|fancy_frame|||showIframe||complete|load|bmp|jpeg|fancy_div|split|replace|enabled|scrollLeft|className|paddingTop|random|1000|fancy_iframe|name|scrollTop|onload|location|hidden|RegExp|jquery|355|url|extend|ready|version|jpg|425|for|borderLeftWidth|hspace|while|300|paddingLeft|curCSS|borderTopWidth|msie|fancy_ajax|fancy_bg_w|scale|fancy_bg_sw|fancy_bg_nw|setInterval|DXImageTransform|clientWidth|sizingMethod|fancy_bg_s|fancy_bg_se|progid|66|gif|repeat||backgroundRepeat|fancy_bg_e|fancy_bg_ne|fancy_bg_n|none|body|prepend|alt|fancy_img|fancy_bigIframe|60|crop|AlphaImageLoader|scrolling|jQuery|offset|cellpadding|cellspacing|clientHeight|border|fancy_title_left|Microsoft|fancy_title_right|fancy_title_main|get'.split('|'),0,{})) |
1221 | |
1222 | === added file 'javascript/jquery.fancybox-1.3.2.pack.js' |
1223 | --- javascript/jquery.fancybox-1.3.2.pack.js 1970-01-01 00:00:00 +0000 |
1224 | +++ javascript/jquery.fancybox-1.3.2.pack.js 2010-10-25 11:38:45 +0000 |
1225 | @@ -0,0 +1,46 @@ |
1226 | +/* |
1227 | + * FancyBox - jQuery Plugin |
1228 | + * Simple and fancy lightbox alternative |
1229 | + * |
1230 | + * Examples and documentation at: http://fancybox.net |
1231 | + * |
1232 | + * Copyright (c) 2008 - 2010 Janis Skarnelis |
1233 | + * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. |
1234 | + * |
1235 | + * Version: 1.3.2 (20/10/2010) |
1236 | + * Requires: jQuery v1.3+ |
1237 | + * |
1238 | + * Dual licensed under the MIT and GPL licenses: |
1239 | + * http://www.opensource.org/licenses/mit-license.php |
1240 | + * http://www.gnu.org/licenses/gpl.html |
1241 | + */ |
1242 | + |
1243 | +;(function(a){var m,t,u,f,D,h,E,n,z,A,q=0,e={},o=[],p=0,c={},l=[],I=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,j,i=false,B=a.extend(a("<div/>")[0],{prop:0}),M=a.browser.msie&&a.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;I&&I.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();i=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>'); |
1244 | +F()}},H=function(){var b=o[q],d,g,k,C,P,w;N();e=a.extend({},a.fn.fancybox.defaults,typeof a(b).data("fancybox")=="undefined"?e:a(b).data("fancybox"));w=e.onStart(o,q,e);if(w===false)i=false;else{if(typeof w=="object")e=a.extend(e,w);k=e.title||(b.nodeName?a(b).attr("title"):b.title)||"";if(b.nodeName&&!e.orig)e.orig=a(b).children("img:first").length?a(b).children("img:first"):a(b);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");d=e.href||(b.nodeName?a(b).attr("href"):b.href)||null;if(/^(?:javascript)/i.test(d)|| |
1245 | +d=="#")d=null;if(e.type){g=e.type;if(!d)d=e.content}else if(e.content)g="html";else if(d)g=d.match(J)?"image":d.match(W)?"swf":a(b).hasClass("iframe")?"iframe":d.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){b=d.substr(d.indexOf("#"));g=a(b).length>0?"inline":"ajax"}e.type=g;e.href=d;e.title=k;if(e.autoDimensions&&e.type!=="iframe"&&e.type!=="swf"){e.width="auto";e.height="auto"}if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=false;e.enableEscapeButton=false; |
1246 | +e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);a(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){a(this).replaceWith(h.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(a(b).parent().is("#fancybox-content")===true){i=false;break}a('<div class="fancybox-inline-tmp" />').hide().insertBefore(a(b)).bind("fancybox-cleanup",function(){a(this).replaceWith(h.children())}).bind("fancybox-cancel", |
1247 | +function(){a(this).replaceWith(m.children())});a(b).appendTo(m);F();break;case "image":i=false;a.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){i=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;a("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=d;break;case "swf":C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+d+'"></param>';P=""; |
1248 | +a.each(e.swf,function(x,G){C+='<param name="'+x+'" value="'+G+'"></param>';P+=" "+x+'="'+G+'"'});C+='<embed src="'+d+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case "ajax":i=false;a.fancybox.showActivity();e.ajax.win=e.ajax.success;I=a.ajax(a.extend({},e.ajax,{url:d,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,G,U){if(U.status==200){if(typeof e.ajax.win=="function"){w=e.ajax.win(d,x,G, |
1249 | +U);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){m.width(e.width);m.height(e.height);if(e.width=="auto")e.width=m.width();if(e.height=="auto")e.height=m.height();Q()},Q=function(){var b,d;t.hide();if(f.is(":visible")&&false===c.onCleanup(l,p,c)){a.event.trigger("fancybox-cancel");i=false}else{i=true;a(h.add(u)).unbind();a(window).unbind("resize.fb scroll.fb");a(document).unbind("keydown.fb");f.is(":visible")&& |
1250 | +c.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;c=e;if(c.overlayShow){u.css({"background-color":c.overlayColor,opacity:c.overlayOpacity,cursor:c.hideOnOverlayClick?"pointer":"auto",height:a(document).height()});if(!u.is(":visible")){M&&a("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();h.get(0).scrollTop=0;h.get(0).scrollLeft= |
1251 | +0;j=X();s=c.title||"";y=0;n.empty().removeAttr("style").removeClass();if(c.titleShow!==false){if(a.isFunction(c.titleFormat))b=c.titleFormat(s,l,p,c);else b=s&&s.length?c.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+c.titlePosition+'">'+s+"</div>":false;s=b;if(!(!s||s==="")){n.addClass("fancybox-title-"+ |
1252 | +c.titlePosition).html(s).appendTo("body").show();switch(c.titlePosition){case "inside":n.css({width:j.width-c.padding*2,marginLeft:c.padding,marginRight:c.padding});y=n.outerHeight(true);n.appendTo(D);j.height+=y;break;case "over":n.css({marginLeft:c.padding,width:j.width-c.padding*2,bottom:c.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-j.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:j.width-c.padding*2,paddingLeft:c.padding,paddingRight:c.padding}).appendTo(f)}}}n.hide(); |
1253 | +if(f.is(":visible")){a(E.add(z).add(A)).hide();b=f.position();r={top:b.top,left:b.left,width:f.width(),height:f.height()};d=r.width==j.width&&r.height==j.height;h.fadeTo(c.changeFade,0.3,function(){var g=function(){h.html(m.contents()).fadeTo(c.changeFade,1,R)};a.event.trigger("fancybox-change");h.empty().removeAttr("filter").css({"border-width":c.padding,width:j.width-c.padding*2,height:c.type=="image"||c.type=="swf"||c.type=="iframe"?j.height-y-c.padding*2:"auto"});if(d)g();else{B.prop=0;a(B).animate({prop:1}, |
1254 | +{duration:c.changeSpeed,easing:c.easingChange,step:S,complete:g})}})}else{f.removeAttr("style");h.css("border-width",c.padding);if(c.transitionIn=="elastic"){r=V();h.html(m.contents());f.show();if(c.opacity)j.opacity=0;B.prop=0;a(B).animate({prop:1},{duration:c.speedIn,easing:c.easingIn,step:S,complete:R})}else{c.titlePosition=="inside"&&y>0&&n.show();h.css({width:j.width-c.padding*2,height:c.type=="image"||c.type=="swf"||c.type=="iframe"?j.height-y-c.padding*2:"auto"}).html(m.contents());f.css(j).fadeIn(c.transitionIn== |
1255 | +"none"?0:c.fadeIn,R)}}}},Y=function(){if(c.enableEscapeButton||c.enableKeyboardNav)a(document).bind("keydown.fb",function(b){if(b.keyCode==27&&c.enableEscapeButton){b.preventDefault();a.fancybox.close()}else if((b.keyCode==37||b.keyCode==39)&&c.enableKeyboardNav&&b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&b.target.tagName!=="SELECT"){b.preventDefault();a.fancybox[b.keyCode==37?"prev":"next"]()}});if(c.showNavArrows){if(c.cyclic&&l.length>1||p!==0)z.show();if(c.cyclic&&l.length>1|| |
1256 | +p!=l.length-1)A.show()}else{z.hide();A.hide()}},R=function(){if(!a.support.opacity){h.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}f.css("height","auto");c.type!=="image"&&c.type!=="swf"&&c.type!=="iframe"&&h.css("height","auto");s&&s.length&&n.show();c.showCloseButton&&E.show();Y();c.hideOnContentClick&&h.bind("click",a.fancybox.close);c.hideOnOverlayClick&&u.bind("click",a.fancybox.close);a(window).bind("resize.fb",a.fancybox.resize);c.centerOnScroll&&a(window).bind("scroll.fb", |
1257 | +a.fancybox.center);if(c.type=="iframe")a('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(a.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+c.href+'"></iframe>').appendTo(h);f.show();i=false;a.fancybox.center();c.onComplete(l,p,c);var b,d;if(l.length-1>p){b=l[p+1].href;if(typeof b!=="undefined"&&b.match(J)){d=new Image;d.src=b}}if(p>0){b=l[p-1].href;if(typeof b!=="undefined"&&b.match(J)){d=new Image;d.src=b}}}, |
1258 | +S=function(b){var d={width:parseInt(r.width+(j.width-r.width)*b,10),height:parseInt(r.height+(j.height-r.height)*b,10),top:parseInt(r.top+(j.top-r.top)*b,10),left:parseInt(r.left+(j.left-r.left)*b,10)};if(typeof j.opacity!=="undefined")d.opacity=b<0.5?0.5:b;f.css(d);h.css({width:d.width-c.padding*2,height:d.height-y*b-c.padding*2})},T=function(){return[a(window).width()-c.margin*2,a(window).height()-c.margin*2,a(document).scrollLeft()+c.margin,a(document).scrollTop()+c.margin]},X=function(){var b= |
1259 | +T(),d={},g=c.autoScale,k=c.padding*2;d.width=c.width.toString().indexOf("%")>-1?parseInt(b[0]*parseFloat(c.width)/100,10):c.width+k;d.height=c.height.toString().indexOf("%")>-1?parseInt(b[1]*parseFloat(c.height)/100,10):c.height+k;if(g&&(d.width>b[0]||d.height>b[1]))if(e.type=="image"||e.type=="swf"){g=c.width/c.height;if(d.width>b[0]){d.width=b[0];d.height=parseInt((d.width-k)/g+k,10)}if(d.height>b[1]){d.height=b[1];d.width=parseInt((d.height-k)*g+k,10)}}else{d.width=Math.min(d.width,b[0]);d.height= |
1260 | +Math.min(d.height,b[1])}d.top=parseInt(Math.max(b[3]-20,b[3]+(b[1]-d.height-40)*0.5),10);d.left=parseInt(Math.max(b[2]-20,b[2]+(b[0]-d.width-40)*0.5),10);return d},V=function(){var b=e.orig?a(e.orig):false,d={};if(b&&b.length){d=b.offset();d.top+=parseInt(b.css("paddingTop"),10)||0;d.left+=parseInt(b.css("paddingLeft"),10)||0;d.top+=parseInt(b.css("border-top-width"),10)||0;d.left+=parseInt(b.css("border-left-width"),10)||0;d.width=b.width();d.height=b.height();d={width:d.width+c.padding*2,height:d.height+ |
1261 | +c.padding*2,top:d.top-c.padding-20,left:d.left-c.padding-20}}else{b=T();d={width:c.padding*2,height:c.padding*2,top:parseInt(b[3]+b[1]*0.5,10),left:parseInt(b[2]+b[0]*0.5,10)}}return d},Z=function(){if(t.is(":visible")){a("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};a.fn.fancybox=function(b){if(!a(this).length)return this;a(this).data("fancybox",a.extend({},b,a.metadata?a(this).metadata():{})).unbind("click.fb").bind("click.fb",function(d){d.preventDefault();if(!i){i=true;a(this).blur(); |
1262 | +o=[];q=0;d=a(this).attr("rel")||"";if(!d||d==""||d==="nofollow")o.push(this);else{o=a("a[rel="+d+"], area[rel="+d+"]");q=o.index(this)}H()}});return this};a.fancybox=function(b,d){var g;if(!i){i=true;g=typeof d!=="undefined"?d:{};o=[];q=parseInt(g.index,10)||0;if(a.isArray(b)){for(var k=0,C=b.length;k<C;k++)if(typeof b[k]=="object")a(b[k]).data("fancybox",a.extend({},g,b[k]));else b[k]=a({}).data("fancybox",a.extend({content:b[k]},g));o=jQuery.merge(o,b)}else{if(typeof b=="object")a(b).data("fancybox", |
1263 | +a.extend({},g,b));else b=a({}).data("fancybox",a.extend({content:b},g));o.push(b)}if(q>o.length||q<0)q=0;H()}};a.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};a.fancybox.hideActivity=function(){t.hide()};a.fancybox.next=function(){return a.fancybox.pos(p+1)};a.fancybox.prev=function(){return a.fancybox.pos(p-1)};a.fancybox.pos=function(b){if(!i){b=parseInt(b);o=l;if(b>-1&&b<l.length){q=b;H()}else if(c.cyclic&&l.length>1){q=b>=l.length?0:l.length-1;H()}}};a.fancybox.cancel= |
1264 | +function(){if(!i){i=true;a.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);i=false}};a.fancybox.close=function(){function b(){u.fadeOut("fast");n.empty().hide();f.hide();a.event.trigger("fancybox-cleanup");h.empty();c.onClosed(l,p,c);l=e=[];p=q=0;c=e={};i=false}if(!(i||f.is(":hidden"))){i=true;if(c&&false===c.onCleanup(l,p,c))i=false;else{N();a(E.add(z).add(A)).hide();a(h.add(u)).unbind();a(window).unbind("resize.fb scroll.fb");a(document).unbind("keydown.fb");h.find("iframe").attr("src",M&& |
1265 | +/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");c.titlePosition!=="inside"&&n.empty();f.stop();if(c.transitionOut=="elastic"){r=V();var d=f.position();j={top:d.top,left:d.left,width:f.width(),height:f.height()};if(c.opacity)j.opacity=1;n.empty().hide();B.prop=1;a(B).animate({prop:0},{duration:c.speedOut,easing:c.easingOut,step:S,complete:b})}else f.fadeOut(c.transitionOut=="none"?0:c.speedOut,b)}}};a.fancybox.resize=function(){u.is(":visible")&&u.css("height",a(document).height()); |
1266 | +a.fancybox.center(true)};a.fancybox.center=function(b){var d,g;if(!i){g=b===true?1:0;d=T();!g&&(f.width()>d[0]||f.height()>d[1])||f.stop().animate({top:parseInt(Math.max(d[3]-20,d[3]+(d[1]-h.height()-40)*0.5-c.padding)),left:parseInt(Math.max(d[2]-20,d[2]+(d[0]-h.width()-40)*0.5-c.padding))},typeof b=="number"?b:200)}};a.fancybox.init=function(){if(!a("#fancybox-wrap").length){a("body").append(m=a('<div id="fancybox-tmp"></div>'),t=a('<div id="fancybox-loading"><div></div></div>'),u=a('<div id="fancybox-overlay"></div>'), |
1267 | +f=a('<div id="fancybox-wrap"></div>'));D=a('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f); |
1268 | +D.append(h=a('<div id="fancybox-content"></div>'),E=a('<a id="fancybox-close"></a>'),n=a('<div id="fancybox-title"></div>'),z=a('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=a('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(a.fancybox.close);t.click(a.fancybox.cancel);z.click(function(b){b.preventDefault();a.fancybox.prev()});A.click(function(b){b.preventDefault();a.fancybox.next()}); |
1269 | +a.fn.mousewheel&&f.bind("mousewheel.fb",function(b,d){b.preventDefault();a.fancybox[d>0?"prev":"next"]()});a.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");a('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};a.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false, |
1270 | +scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true, |
1271 | +enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};a(document).ready(function(){a.fancybox.init()})})(jQuery); |
1272 | \ No newline at end of file |
1273 | |
1274 | === removed file 'javascript/links.js' |
1275 | --- javascript/links.js 2010-10-08 14:13:57 +0000 |
1276 | +++ javascript/links.js 1970-01-01 00:00:00 +0000 |
1277 | @@ -1,346 +0,0 @@ |
1278 | -// original code by Stuart Langridge 2003-11 |
1279 | -// with additions to the code by other good people |
1280 | -// http://www.kryogenix.org/code/browser/nicetitle/ |
1281 | -// thank you, sir |
1282 | - |
1283 | -// modified by Peter Janes 2003-03-25 |
1284 | -// http://peterjanes.ca/blog/archives/2003/03/25/nicetitles-for-ins-and-del |
1285 | -// added in ins and del tags |
1286 | - |
1287 | -// modified by Dunstan Orchard 2003-11-18 |
1288 | -// http://1976design.com/blog/ |
1289 | -// added in accesskey information |
1290 | -// tried ever-so-hard, but couldn't work out how to do what Ethan did |
1291 | - |
1292 | -// final genius touch by by Ethan Marcotte 2003-11-18 |
1293 | -// http://www.sidesh0w.com/ |
1294 | -// worked out how to delay showing the popups to make them more like the browser's own |
1295 | - |
1296 | - |
1297 | -// set the namespace |
1298 | -var XHTMLNS = 'http://www.w3.org/1999/xhtml'; |
1299 | -var CURRENT_NICE_TITLE; |
1300 | - |
1301 | -// browser sniff |
1302 | -var browser = new Browser(); |
1303 | - |
1304 | - |
1305 | - |
1306 | -// determine browser and version. |
1307 | -function Browser() |
1308 | - { |
1309 | - var ua, s, i; |
1310 | - |
1311 | - this.isIE = false; |
1312 | - this.isNS = false; |
1313 | - this.version = null; |
1314 | - |
1315 | - ua = navigator.userAgent; |
1316 | - |
1317 | - s = 'MSIE'; |
1318 | - if ((i = ua.indexOf(s)) >= 0) |
1319 | - { |
1320 | - this.isIE = true; |
1321 | - this.version = parseFloat(ua.substr(i + s.length)); |
1322 | - return; |
1323 | - } |
1324 | - |
1325 | - s = 'Netscape6/'; |
1326 | - if ((i = ua.indexOf(s)) >= 0) |
1327 | - { |
1328 | - this.isNS = true; |
1329 | - this.version = parseFloat(ua.substr(i + s.length)); |
1330 | - return; |
1331 | - } |
1332 | - |
1333 | - // treat any other 'Gecko' browser as NS 6.1. |
1334 | - s = 'Gecko'; |
1335 | - if ((i = ua.indexOf(s)) >= 0) |
1336 | - { |
1337 | - this.isNS = true; |
1338 | - this.version = 6.1; |
1339 | - return; |
1340 | - } |
1341 | - } |
1342 | - |
1343 | - |
1344 | - |
1345 | -// 2003-11-19 sidesh0w |
1346 | -// set delay vars to emulate normal hover delay |
1347 | -var delay; |
1348 | -var interval = 0.60; |
1349 | - |
1350 | - |
1351 | - |
1352 | -// this function runs on window load |
1353 | -// it runs through all the links on the page as starts listening for actions |
1354 | -function makeNiceTitles() |
1355 | - { |
1356 | - if (!document.createElement || !document.getElementsByTagName) return; |
1357 | - if (!document.createElementNS) |
1358 | - { |
1359 | - document.createElementNS = function(ns, elt) |
1360 | - { |
1361 | - return document.createElement(elt); |
1362 | - } |
1363 | - } |
1364 | - |
1365 | - // do regular links |
1366 | - if (!document.links) |
1367 | - { |
1368 | - document.links = document.getElementsByTagName('a'); |
1369 | - } |
1370 | - for (var ti=0; ti<document.links.length; ti++) |
1371 | - { |
1372 | - var lnk = document.links[ti]; |
1373 | - if (lnk.title) |
1374 | - { |
1375 | - lnk.setAttribute('nicetitle', lnk.title); |
1376 | - lnk.removeAttribute('title'); |
1377 | - addEvent(lnk, 'mouseover', showDelay); |
1378 | - addEvent(lnk, 'mouseout', hideNiceTitle); |
1379 | - addEvent(lnk, 'focus', showDelay); |
1380 | - addEvent(lnk, 'blur', hideNiceTitle); |
1381 | - } |
1382 | - } |
1383 | - |
1384 | - // 2003-03-25 Peter Janes |
1385 | - // do ins and del tags |
1386 | - var tags = new Array(2); |
1387 | - tags[0] = document.getElementsByTagName('ins'); |
1388 | - tags[1] = document.getElementsByTagName('del'); |
1389 | - for (var tt=0; tt<tags.length; tt++) |
1390 | - { |
1391 | - if (tags[tt]) |
1392 | - { |
1393 | - for (var ti=0; ti<tags[tt].length; ti++) |
1394 | - { |
1395 | - var tag = tags[tt][ti]; |
1396 | - if (tag.dateTime) |
1397 | - { |
1398 | - var strDate = tag.dateTime; |
1399 | - // HTML/ISO8601 date: yyyy-mm-ddThh:mm:ssTZD (Z, -hh:mm, +hh:mm) |
1400 | - var month = strDate.substring(5,7); |
1401 | - var day = strDate.substring(8,10); |
1402 | - if (month[0] == '0') |
1403 | - { |
1404 | - month = month[1]; |
1405 | - } |
1406 | - if (day[0] == '0') |
1407 | - { |
1408 | - day = day[1]; |
1409 | - } |
1410 | - var dtIns = new Date(strDate.substring(0,4), month-1, day, strDate.substring(11,13), strDate.substring(14,16), strDate.substring(17,19)); |
1411 | - tag.setAttribute('nicetitle', (tt == 0 ? 'Added' : 'Deleted') + ' on ' + dtIns.toString()); |
1412 | - addEvent(tag, 'mouseover', showDelay); |
1413 | - addEvent(tag, 'mouseout', hideNiceTitle); |
1414 | - addEvent(tag, 'focus', showDelay); |
1415 | - addEvent(tag, 'blur', hideNiceTitle); |
1416 | - } |
1417 | - } |
1418 | - } |
1419 | - } |
1420 | - } |
1421 | - |
1422 | - |
1423 | - |
1424 | -// by Scott Andrew |
1425 | -// add an eventlistener to browsers that can do it somehow. |
1426 | -function addEvent(obj, evType, fn) |
1427 | - { |
1428 | - if (obj.addEventListener) |
1429 | - { |
1430 | - obj.addEventListener(evType, fn, true); |
1431 | - return true; |
1432 | - } |
1433 | - else if (obj.attachEvent) |
1434 | - { |
1435 | - var r = obj.attachEvent('on'+evType, fn); |
1436 | - return r; |
1437 | - } |
1438 | - else |
1439 | - { |
1440 | - return false; |
1441 | - } |
1442 | - } |
1443 | - |
1444 | - |
1445 | - |
1446 | -function findPosition(oLink) |
1447 | - { |
1448 | - if (oLink.offsetParent) |
1449 | - { |
1450 | - for (var posX = 0, posY = 0; oLink.offsetParent; oLink = oLink.offsetParent) |
1451 | - { |
1452 | - posX += oLink.offsetLeft; |
1453 | - posY += oLink.offsetTop; |
1454 | - } |
1455 | - return [posX, posY]; |
1456 | - } |
1457 | - else |
1458 | - { |
1459 | - return [oLink.x, oLink.y]; |
1460 | - } |
1461 | - } |
1462 | - |
1463 | - |
1464 | - |
1465 | -function getParent(el, pTagName) |
1466 | - { |
1467 | - if (el == null) |
1468 | - { |
1469 | - return null; |
1470 | - } |
1471 | - // gecko bug, supposed to be uppercase |
1472 | - else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase()) |
1473 | - { |
1474 | - return el; |
1475 | - } |
1476 | - else |
1477 | - { |
1478 | - return getParent(el.parentNode, pTagName); |
1479 | - } |
1480 | - } |
1481 | - |
1482 | - |
1483 | - |
1484 | -// 2003-11-19 sidesh0w |
1485 | -// trailerpark wrapper function |
1486 | -function showDelay(e) |
1487 | - { |
1488 | - if (window.event && window.event.srcElement) |
1489 | - { |
1490 | - lnk = window.event.srcElement |
1491 | - } |
1492 | - else if (e && e.target) |
1493 | - { |
1494 | - lnk = e.target |
1495 | - } |
1496 | - if (!lnk) return; |
1497 | - |
1498 | - // lnk is a textnode or an elementnode that's not ins/del |
1499 | - if (lnk.nodeType == 3 || (lnk.nodeType == 1 && lnk.tagName.toLowerCase() != 'ins' && lnk.tagName.toLowerCase() != 'del')) |
1500 | - { |
1501 | - // ascend parents until we hit a link |
1502 | - lnk = getParent(lnk, 'a'); |
1503 | - } |
1504 | - |
1505 | - delay = setTimeout("showNiceTitle(lnk)", interval * 1000); |
1506 | - } |
1507 | - |
1508 | - |
1509 | - |
1510 | -// build and show the nice titles |
1511 | -function showNiceTitle(link) |
1512 | - { |
1513 | - if (CURRENT_NICE_TITLE) hideNiceTitle(CURRENT_NICE_TITLE); |
1514 | - if (!document.getElementsByTagName) return; |
1515 | - |
1516 | - nicetitle = lnk.getAttribute('nicetitle'); |
1517 | - |
1518 | - var d = document.createElementNS(XHTMLNS, 'div'); |
1519 | - d.className = 'nicetitle'; |
1520 | - tnt = document.createTextNode(nicetitle); |
1521 | - pat = document.createElementNS(XHTMLNS, 'p'); |
1522 | - pat.className = 'titletext'; |
1523 | - pat.appendChild(tnt); |
1524 | - |
1525 | - // 2003-11-18 Dunstan Orchard |
1526 | - // added in accesskey info |
1527 | - if (lnk.accessKey) |
1528 | - { |
1529 | - axs = document.createTextNode(' [' + lnk.accessKey + ']'); |
1530 | - axsk = document.createElementNS(XHTMLNS, 'span'); |
1531 | - axsk.className = 'accesskey'; |
1532 | - axsk.appendChild(axs); |
1533 | - pat.appendChild(axsk); |
1534 | - } |
1535 | - d.appendChild(pat); |
1536 | - |
1537 | - if (lnk.href) |
1538 | - { |
1539 | - tnd = document.createTextNode(lnk.href); |
1540 | - pad = document.createElementNS(XHTMLNS, 'p'); |
1541 | - pad.className = 'destination'; |
1542 | - pad.appendChild(tnd); |
1543 | - d.appendChild(pad); |
1544 | - } |
1545 | - |
1546 | - STD_WIDTH = 300; |
1547 | - |
1548 | - if (lnk.href) |
1549 | - { |
1550 | - h = lnk.href.length; |
1551 | - } |
1552 | - else |
1553 | - { |
1554 | - h = nicetitle.length; |
1555 | - } |
1556 | - |
1557 | - if (nicetitle.length) |
1558 | - { |
1559 | - t = nicetitle.length; |
1560 | - } |
1561 | - |
1562 | - h_pixels = h*6; |
1563 | - t_pixels = t*10; |
1564 | - |
1565 | - if (h_pixels > STD_WIDTH) |
1566 | - { |
1567 | - w = h_pixels; |
1568 | - } |
1569 | - else if ((STD_WIDTH>t_pixels) && (t_pixels>h_pixels)) |
1570 | - { |
1571 | - w = t_pixels; |
1572 | - } |
1573 | - else if ((STD_WIDTH>t_pixels) && (h_pixels>t_pixels)) |
1574 | - { |
1575 | - w = h_pixels; |
1576 | - } |
1577 | - else |
1578 | - { |
1579 | - w = STD_WIDTH; |
1580 | - } |
1581 | - |
1582 | - d.style.width = w + 'px'; |
1583 | - |
1584 | - mpos = findPosition(lnk); |
1585 | - mx = mpos[0]; |
1586 | - my = mpos[1]; |
1587 | - |
1588 | - d.style.left = (mx+15) + 'px'; |
1589 | - d.style.top = (my+35) + 'px'; |
1590 | - |
1591 | - if (window.innerWidth && ((mx+w) > window.innerWidth)) |
1592 | - { |
1593 | - d.style.left = (window.innerWidth - w - 25) + 'px'; |
1594 | - } |
1595 | - if (document.body.scrollWidth && ((mx+w) > document.body.scrollWidth)) |
1596 | - { |
1597 | - d.style.left = (document.body.scrollWidth - w - 25) + 'px'; |
1598 | - } |
1599 | - |
1600 | - document.getElementsByTagName('body')[0].appendChild(d); |
1601 | - |
1602 | - CURRENT_NICE_TITLE = d; |
1603 | - } |
1604 | - |
1605 | - |
1606 | - |
1607 | - |
1608 | -function hideNiceTitle(e) |
1609 | - { |
1610 | - // 2003-11-19 sidesh0w |
1611 | - // clearTimeout |
1612 | - if (delay) clearTimeout(delay); |
1613 | - if (!document.getElementsByTagName) return; |
1614 | - if (CURRENT_NICE_TITLE) |
1615 | - { |
1616 | - document.getElementsByTagName('body')[0].removeChild(CURRENT_NICE_TITLE); |
1617 | - CURRENT_NICE_TITLE = null; |
1618 | - } |
1619 | - } |
1620 | - |
1621 | -window.onload = function(e) { |
1622 | -makeNiceTitles(); |
1623 | -} |
1624 | \ No newline at end of file |
1625 | |
1626 | === removed file 'javascript/mobile.js' |
1627 | --- javascript/mobile.js 2010-10-08 14:13:57 +0000 |
1628 | +++ javascript/mobile.js 1970-01-01 00:00:00 +0000 |
1629 | @@ -1,8 +0,0 @@ |
1630 | -(function () { |
1631 | - if(/iPhone|iPod|android|opera mobile|blackberry|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|windows ce; ppc;|windows ce; smartphone;|windows ce; iemobile/i.test(navigator.userAgent)){ |
1632 | - var question = confirm("Do you want to see the mobile version of this site ?") |
1633 | - if (question){ |
1634 | - window.location = "./mobile.php"; |
1635 | - } |
1636 | - } |
1637 | -}()); |
1638 | |
1639 | === removed file 'javascript/smothscroll.js' |
1640 | --- javascript/smothscroll.js 2010-10-08 14:13:57 +0000 |
1641 | +++ javascript/smothscroll.js 1970-01-01 00:00:00 +0000 |
1642 | @@ -1,144 +0,0 @@ |
1643 | -/* Smooth scrolling |
1644 | - Changes links that link to other parts of this page to scroll |
1645 | - smoothly to those links rather than jump to them directly, which |
1646 | - can be a little disorienting. |
1647 | - |
1648 | - sil, http://www.kryogenix.org/ |
1649 | - |
1650 | - v1.0 2003-11-11 |
1651 | - v1.1 2005-06-16 wrap it up in an object |
1652 | -*/ |
1653 | - |
1654 | -var ss = { |
1655 | - fixAllLinks: function() { |
1656 | - // Get a list of all links in the page |
1657 | - var allLinks = document.getElementsByTagName('a'); |
1658 | - // Walk through the list |
1659 | - for (var i=0;i<allLinks.length;i++) { |
1660 | - var lnk = allLinks[i]; |
1661 | - if ((lnk.href && lnk.href.indexOf('#') != -1) && |
1662 | - ( (lnk.pathname == location.pathname) || |
1663 | - ('/'+lnk.pathname == location.pathname) ) && |
1664 | - (lnk.search == location.search)) { |
1665 | - // If the link is internal to the page (begins in #) |
1666 | - // then attach the smoothScroll function as an onclick |
1667 | - // event handler |
1668 | - ss.addEvent(lnk,'click',ss.smoothScroll); |
1669 | - } |
1670 | - } |
1671 | - }, |
1672 | - |
1673 | - smoothScroll: function(e) { |
1674 | - // This is an event handler; get the clicked on element, |
1675 | - // in a cross-browser fashion |
1676 | - if (window.event) { |
1677 | - target = window.event.srcElement; |
1678 | - } else if (e) { |
1679 | - target = e.target; |
1680 | - } else return; |
1681 | - |
1682 | - // Make sure that the target is an element, not a text node |
1683 | - // within an element |
1684 | - if (target.nodeName.toLowerCase() != 'a') { |
1685 | - target = target.parentNode; |
1686 | - } |
1687 | - |
1688 | - // Paranoia; check this is an A tag |
1689 | - if (target.nodeName.toLowerCase() != 'a') return; |
1690 | - |
1691 | - // Find the <a name> tag corresponding to this href |
1692 | - // First strip off the hash (first character) |
1693 | - anchor = target.hash.substr(1); |
1694 | - // Now loop all A tags until we find one with that name |
1695 | - var allLinks = document.getElementsByTagName('a'); |
1696 | - var destinationLink = null; |
1697 | - for (var i=0;i<allLinks.length;i++) { |
1698 | - var lnk = allLinks[i]; |
1699 | - if (lnk.name && (lnk.name == anchor)) { |
1700 | - destinationLink = lnk; |
1701 | - break; |
1702 | - } |
1703 | - } |
1704 | - |
1705 | - // If we didn't find a destination, give up and let the browser do |
1706 | - // its thing |
1707 | - if (!destinationLink) return true; |
1708 | - |
1709 | - // Find the destination's position |
1710 | - var destx = destinationLink.offsetLeft; |
1711 | - var desty = destinationLink.offsetTop; |
1712 | - var thisNode = destinationLink; |
1713 | - while (thisNode.offsetParent && |
1714 | - (thisNode.offsetParent != document.body)) { |
1715 | - thisNode = thisNode.offsetParent; |
1716 | - destx += thisNode.offsetLeft; |
1717 | - desty += thisNode.offsetTop; |
1718 | - } |
1719 | - |
1720 | - // Stop any current scrolling |
1721 | - clearInterval(ss.INTERVAL); |
1722 | - |
1723 | - cypos = ss.getCurrentYPos(); |
1724 | - |
1725 | - ss_stepsize = parseInt((desty-cypos)/ss.STEPS); |
1726 | - ss.INTERVAL = |
1727 | -setInterval('ss.scrollWindow('+ss_stepsize+','+desty+',"'+anchor+'")',10); |
1728 | - |
1729 | - // And stop the actual click happening |
1730 | - if (window.event) { |
1731 | - window.event.cancelBubble = true; |
1732 | - window.event.returnValue = false; |
1733 | - } |
1734 | - if (e && e.preventDefault && e.stopPropagation) { |
1735 | - e.preventDefault(); |
1736 | - e.stopPropagation(); |
1737 | - } |
1738 | - }, |
1739 | - |
1740 | - scrollWindow: function(scramount,dest,anchor) { |
1741 | - wascypos = ss.getCurrentYPos(); |
1742 | - isAbove = (wascypos < dest); |
1743 | - window.scrollTo(0,wascypos + scramount); |
1744 | - iscypos = ss.getCurrentYPos(); |
1745 | - isAboveNow = (iscypos < dest); |
1746 | - if ((isAbove != isAboveNow) || (wascypos == iscypos)) { |
1747 | - // if we've just scrolled past the destination, or |
1748 | - // we haven't moved from the last scroll (i.e., we're at the |
1749 | - // bottom of the page) then scroll exactly to the link |
1750 | - window.scrollTo(0,dest); |
1751 | - // cancel the repeating timer |
1752 | - clearInterval(ss.INTERVAL); |
1753 | - // and jump to the link directly so the URL's right |
1754 | - location.hash = anchor; |
1755 | - } |
1756 | - }, |
1757 | - |
1758 | - getCurrentYPos: function() { |
1759 | - if (document.body && document.body.scrollTop) |
1760 | - return document.body.scrollTop; |
1761 | - if (document.documentElement && document.documentElement.scrollTop) |
1762 | - return document.documentElement.scrollTop; |
1763 | - if (window.pageYOffset) |
1764 | - return window.pageYOffset; |
1765 | - return 0; |
1766 | - }, |
1767 | - |
1768 | - addEvent: function(elm, evType, fn, useCapture) { |
1769 | - // addEvent and removeEvent |
1770 | - // cross-browser event handling for IE5+, NS6 and Mozilla |
1771 | - // By Scott Andrew |
1772 | - if (elm.addEventListener){ |
1773 | - elm.addEventListener(evType, fn, useCapture); |
1774 | - return true; |
1775 | - } else if (elm.attachEvent){ |
1776 | - var r = elm.attachEvent("on"+evType, fn); |
1777 | - return r; |
1778 | - } else { |
1779 | - alert("Handler could not be removed"); |
1780 | - } |
1781 | - } |
1782 | -} |
1783 | - |
1784 | -ss.STEPS = 25; |
1785 | - |
1786 | -ss.addEvent(window,"load",ss.fixAllLinks); |
1787 | |
1788 | === removed file 'javascript/votes.js' |
1789 | --- javascript/votes.js 2010-10-08 14:13:57 +0000 |
1790 | +++ javascript/votes.js 1970-01-01 00:00:00 +0000 |
1791 | @@ -1,32 +0,0 @@ |
1792 | -/* Fonction de vote */ |
1793 | -function vote(num_article, token, type) { |
1794 | - $.ajax({ |
1795 | - type: "POST", |
1796 | - url: "api/votes.php", |
1797 | - data: "num_article=" + num_article + "&token=" + token + "&type=" + type, |
1798 | - success: function(msg){ |
1799 | - if(type == "positif") { |
1800 | - val = parseInt( $.trim($("#vote" + num_article).html()) ) + 1; |
1801 | - } else { |
1802 | - val = parseInt( $.trim($("#vote" + num_article).html()) ) - 1; |
1803 | - } |
1804 | - |
1805 | - /* On supprime les liens de votes */ |
1806 | - $("#aoui" + num_article).remove(); |
1807 | - $("#anon" + num_article).remove(); |
1808 | - |
1809 | - /* On incremente le compteur de vote */ |
1810 | - $("#vote" + num_article).text(val.toString()); |
1811 | - |
1812 | - /* on rajoute un class au nombre de vote pour changer la couleur */ |
1813 | - $("#vote" + num_article).removeClass("vote"); |
1814 | - $("#vote" + num_article).addClass("avote"); |
1815 | - |
1816 | - /* On reaffiche les images de votes sans possibilite de vote */ |
1817 | - $("#vote" + num_article).after("<span class='avote'> votes<br/><span id='imgoui' title='vote oui'></span><span id='imgnon' title='vote non'></span>"); |
1818 | - }, |
1819 | - error: function() { |
1820 | - alert("Error : this should not happen"); |
1821 | - } |
1822 | - }); |
1823 | -} |
1824 | |
1825 | === added file 'themes/aragorn/css/jquery.fancybox-1.3.2.css' |
1826 | --- themes/aragorn/css/jquery.fancybox-1.3.2.css 1970-01-01 00:00:00 +0000 |
1827 | +++ themes/aragorn/css/jquery.fancybox-1.3.2.css 2010-10-25 11:38:45 +0000 |
1828 | @@ -0,0 +1,359 @@ |
1829 | +/* |
1830 | + * FancyBox - jQuery Plugin |
1831 | + * Simple and fancy lightbox alternative |
1832 | + * |
1833 | + * Examples and documentation at: http://fancybox.net |
1834 | + * |
1835 | + * Copyright (c) 2008 - 2010 Janis Skarnelis |
1836 | + * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. |
1837 | + * |
1838 | + * Version: 1.3.2 (20/10/2010) |
1839 | + * Requires: jQuery v1.3+ |
1840 | + * |
1841 | + * Dual licensed under the MIT and GPL licenses: |
1842 | + * http://www.opensource.org/licenses/mit-license.php |
1843 | + * http://www.gnu.org/licenses/gpl.html |
1844 | + */ |
1845 | + |
1846 | +#fancybox-loading { |
1847 | + position: fixed; |
1848 | + top: 50%; |
1849 | + left: 50%; |
1850 | + width: 40px; |
1851 | + height: 40px; |
1852 | + margin-top: -20px; |
1853 | + margin-left: -20px; |
1854 | + cursor: pointer; |
1855 | + overflow: hidden; |
1856 | + z-index: 1104; |
1857 | + display: none; |
1858 | +} |
1859 | + |
1860 | +#fancybox-loading div { |
1861 | + position: absolute; |
1862 | + top: 0; |
1863 | + left: 0; |
1864 | + width: 40px; |
1865 | + height: 480px; |
1866 | + background-image: url('../images/fancybox.png'); |
1867 | +} |
1868 | + |
1869 | +#fancybox-overlay { |
1870 | + position: absolute; |
1871 | + top: 0; |
1872 | + left: 0; |
1873 | + width: 100%; |
1874 | + height: 100%; |
1875 | + z-index: 1100; |
1876 | + display: none; |
1877 | +} |
1878 | + |
1879 | +#fancybox-tmp { |
1880 | + padding: 0; |
1881 | + margin: 0; |
1882 | + border: 0; |
1883 | + overflow: auto; |
1884 | + display: none; |
1885 | +} |
1886 | + |
1887 | +#fancybox-wrap { |
1888 | + position: absolute; |
1889 | + top: 0; |
1890 | + left: 0; |
1891 | + padding: 20px; |
1892 | + z-index: 1101; |
1893 | + outline: none; |
1894 | + display: none; |
1895 | +} |
1896 | + |
1897 | +#fancybox-outer { |
1898 | + position: relative; |
1899 | + width: 100%; |
1900 | + height: 100%; |
1901 | + background: #fff; |
1902 | +} |
1903 | + |
1904 | +#fancybox-content { |
1905 | + width: 0; |
1906 | + height: 0; |
1907 | + padding: 0; |
1908 | + outline: none; |
1909 | + position: relative; |
1910 | + overflow: hidden; |
1911 | + z-index: 1102; |
1912 | + border: 0px solid #fff; |
1913 | +} |
1914 | + |
1915 | +#fancybox-hide-sel-frame { |
1916 | + position: absolute; |
1917 | + top: 0; |
1918 | + left: 0; |
1919 | + width: 100%; |
1920 | + height: 100%; |
1921 | + background: transparent; |
1922 | + z-index: 1101; |
1923 | +} |
1924 | + |
1925 | +#fancybox-close { |
1926 | + position: absolute; |
1927 | + top: -15px; |
1928 | + right: -15px; |
1929 | + width: 30px; |
1930 | + height: 30px; |
1931 | + background: transparent url('../images/fancybox.png') -40px 0px; |
1932 | + cursor: pointer; |
1933 | + z-index: 1103; |
1934 | + display: none; |
1935 | +} |
1936 | + |
1937 | +#fancybox-error { |
1938 | + color: #444; |
1939 | + font: normal 12px/20px Arial; |
1940 | + padding: 14px; |
1941 | + margin: 0; |
1942 | +} |
1943 | + |
1944 | +#fancybox-img { |
1945 | + width: 100%; |
1946 | + height: 100%; |
1947 | + padding: 0; |
1948 | + margin: 0; |
1949 | + border: none; |
1950 | + outline: none; |
1951 | + line-height: 0; |
1952 | + vertical-align: top; |
1953 | +} |
1954 | + |
1955 | +#fancybox-frame { |
1956 | + width: 100%; |
1957 | + height: 100%; |
1958 | + border: none; |
1959 | + display: block; |
1960 | +} |
1961 | + |
1962 | +#fancybox-left, #fancybox-right { |
1963 | + position: absolute; |
1964 | + bottom: 0px; |
1965 | + height: 100%; |
1966 | + width: 35%; |
1967 | + cursor: pointer; |
1968 | + outline: none; |
1969 | + background: transparent url('blank.gif'); |
1970 | + z-index: 1102; |
1971 | + display: none; |
1972 | +} |
1973 | + |
1974 | +#fancybox-left { |
1975 | + left: 0px; |
1976 | +} |
1977 | + |
1978 | +#fancybox-right { |
1979 | + right: 0px; |
1980 | +} |
1981 | + |
1982 | +#fancybox-left-ico, #fancybox-right-ico { |
1983 | + position: absolute; |
1984 | + top: 50%; |
1985 | + left: -9999px; |
1986 | + width: 30px; |
1987 | + height: 30px; |
1988 | + margin-top: -15px; |
1989 | + cursor: pointer; |
1990 | + z-index: 1102; |
1991 | + display: block; |
1992 | +} |
1993 | + |
1994 | +#fancybox-left-ico { |
1995 | + background-image: url('../images/fancybox.png'); |
1996 | + background-position: -40px -30px; |
1997 | +} |
1998 | + |
1999 | +#fancybox-right-ico { |
2000 | + background-image: url('../images/fancybox.png'); |
2001 | + background-position: -40px -60px; |
2002 | +} |
2003 | + |
2004 | +#fancybox-left:hover, #fancybox-right:hover { |
2005 | + visibility: visible; /* IE6 */ |
2006 | +} |
2007 | + |
2008 | +#fancybox-left:hover span { |
2009 | + left: 20px; |
2010 | +} |
2011 | + |
2012 | +#fancybox-right:hover span { |
2013 | + left: auto; |
2014 | + right: 20px; |
2015 | +} |
2016 | + |
2017 | +.fancybox-bg { |
2018 | + position: absolute; |
2019 | + padding: 0; |
2020 | + margin: 0; |
2021 | + border: 0; |
2022 | + width: 20px; |
2023 | + height: 20px; |
2024 | + z-index: 1001; |
2025 | +} |
2026 | + |
2027 | +#fancybox-bg-n { |
2028 | + top: -20px; |
2029 | + left: 0; |
2030 | + width: 100%; |
2031 | + background-image: url('../images/fancybox-x.png'); |
2032 | +} |
2033 | + |
2034 | +#fancybox-bg-ne { |
2035 | + top: -20px; |
2036 | + right: -20px; |
2037 | + background-image: url('../images/fancybox.png'); |
2038 | + background-position: -40px -162px; |
2039 | +} |
2040 | + |
2041 | +#fancybox-bg-e { |
2042 | + top: 0; |
2043 | + right: -20px; |
2044 | + height: 100%; |
2045 | + background-image: url('../images/fancybox-y.png'); |
2046 | + background-position: -20px 0px; |
2047 | +} |
2048 | + |
2049 | +#fancybox-bg-se { |
2050 | + bottom: -20px; |
2051 | + right: -20px; |
2052 | + background-image: url('../images/fancybox.png'); |
2053 | + background-position: -40px -182px; |
2054 | +} |
2055 | + |
2056 | +#fancybox-bg-s { |
2057 | + bottom: -20px; |
2058 | + left: 0; |
2059 | + width: 100%; |
2060 | + background-image: url('../images/fancybox-x.png'); |
2061 | + background-position: 0px -20px; |
2062 | +} |
2063 | + |
2064 | +#fancybox-bg-sw { |
2065 | + bottom: -20px; |
2066 | + left: -20px; |
2067 | + background-image: url('../images/fancybox.png'); |
2068 | + background-position: -40px -142px; |
2069 | +} |
2070 | + |
2071 | +#fancybox-bg-w { |
2072 | + top: 0; |
2073 | + left: -20px; |
2074 | + height: 100%; |
2075 | + background-image: url('../images/fancybox-y.png'); |
2076 | +} |
2077 | + |
2078 | +#fancybox-bg-nw { |
2079 | + top: -20px; |
2080 | + left: -20px; |
2081 | + background-image: url('../images/fancybox.png'); |
2082 | + background-position: -40px -122px; |
2083 | +} |
2084 | + |
2085 | +#fancybox-title { |
2086 | + font-family: Helvetica; |
2087 | + font-size: 12px; |
2088 | + z-index: 1102; |
2089 | +} |
2090 | + |
2091 | +.fancybox-title-inside { |
2092 | + padding-bottom: 10px; |
2093 | + text-align: center; |
2094 | + color: #333; |
2095 | + background: #fff; |
2096 | + position: relative; |
2097 | +} |
2098 | + |
2099 | +.fancybox-title-outside { |
2100 | + padding-top: 10px; |
2101 | + color: #fff; |
2102 | +} |
2103 | + |
2104 | +.fancybox-title-over { |
2105 | + position: absolute; |
2106 | + bottom: 0; |
2107 | + left: 0; |
2108 | + color: #FFF; |
2109 | + text-align: left; |
2110 | +} |
2111 | + |
2112 | +#fancybox-title-over { |
2113 | + padding: 10px; |
2114 | + background-image: url('../images/fancy_title_over.png'); |
2115 | + display: block; |
2116 | +} |
2117 | + |
2118 | +.fancybox-title-float { |
2119 | + position: absolute; |
2120 | + left: 0; |
2121 | + bottom: -20px; |
2122 | + height: 32px; |
2123 | +} |
2124 | + |
2125 | +#fancybox-title-float-wrap { |
2126 | + border: none; |
2127 | + border-collapse: collapse; |
2128 | + width: auto; |
2129 | +} |
2130 | + |
2131 | +#fancybox-title-float-wrap td { |
2132 | + white-space: nowrap; |
2133 | +} |
2134 | + |
2135 | +#fancybox-title-float-left { |
2136 | + padding-left: 15px; |
2137 | + background: url('../images/fancybox.png') -40px -90px no-repeat; |
2138 | +} |
2139 | + |
2140 | +#fancybox-title-float-main { |
2141 | + color: #FFF; |
2142 | + line-height: 29px; |
2143 | + font-weight: bold; |
2144 | + padding-bottom: 3px; |
2145 | + background: url('../images/fancybox-x.png') 0px -40px; |
2146 | +} |
2147 | + |
2148 | +#fancybox-title-float-right { |
2149 | + padding-left: 15px; |
2150 | + background: url('../images/fancybox.png') -55px -90px no-repeat; |
2151 | +} |
2152 | + |
2153 | +/* IE6 */ |
2154 | + |
2155 | +.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_close.png', sizingMethod='scale'); } |
2156 | + |
2157 | +.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_nav_left.png', sizingMethod='scale'); } |
2158 | +.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_nav_right.png', sizingMethod='scale'); } |
2159 | + |
2160 | +.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_over.png', sizingMethod='scale'); zoom: 1; } |
2161 | +.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_left.png', sizingMethod='scale'); } |
2162 | +.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_main.png', sizingMethod='scale'); } |
2163 | +.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_right.png', sizingMethod='scale'); } |
2164 | + |
2165 | +.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame { |
2166 | + height: expression(this.parentNode.clientHeight + "px"); |
2167 | +} |
2168 | + |
2169 | +#fancybox-loading.fancybox-ie6 { |
2170 | + position: absolute; margin-top: 0; |
2171 | + top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'); |
2172 | +} |
2173 | + |
2174 | +#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_loading.png', sizingMethod='scale'); } |
2175 | + |
2176 | +/* IE6, IE7, IE8 */ |
2177 | + |
2178 | +.fancybox-ie .fancybox-bg { background: transparent !important; } |
2179 | + |
2180 | +.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_n.png', sizingMethod='scale'); } |
2181 | +.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_ne.png', sizingMethod='scale'); } |
2182 | +.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_e.png', sizingMethod='scale'); } |
2183 | +.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_se.png', sizingMethod='scale'); } |
2184 | +.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_s.png', sizingMethod='scale'); } |
2185 | +.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_sw.png', sizingMethod='scale'); } |
2186 | +.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_w.png', sizingMethod='scale'); } |
2187 | +.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_nw.png', sizingMethod='scale'); } |
2188 | |
2189 | === added file 'themes/aragorn/images/blank.gif' |
2190 | Binary files themes/aragorn/images/blank.gif 1970-01-01 00:00:00 +0000 and themes/aragorn/images/blank.gif 2010-10-25 11:38:45 +0000 differ |
2191 | === added file 'themes/aragorn/images/fancy_close.png' |
2192 | Binary files themes/aragorn/images/fancy_close.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_close.png 2010-10-25 11:38:45 +0000 differ |
2193 | === added file 'themes/aragorn/images/fancy_loading.png' |
2194 | Binary files themes/aragorn/images/fancy_loading.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_loading.png 2010-10-25 11:38:45 +0000 differ |
2195 | === added file 'themes/aragorn/images/fancy_nav_left.png' |
2196 | Binary files themes/aragorn/images/fancy_nav_left.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_nav_left.png 2010-10-25 11:38:45 +0000 differ |
2197 | === added file 'themes/aragorn/images/fancy_nav_right.png' |
2198 | Binary files themes/aragorn/images/fancy_nav_right.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_nav_right.png 2010-10-25 11:38:45 +0000 differ |
2199 | === added file 'themes/aragorn/images/fancy_shadow_e.png' |
2200 | Binary files themes/aragorn/images/fancy_shadow_e.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_e.png 2010-10-25 11:38:45 +0000 differ |
2201 | === added file 'themes/aragorn/images/fancy_shadow_n.png' |
2202 | Binary files themes/aragorn/images/fancy_shadow_n.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_n.png 2010-10-25 11:38:45 +0000 differ |
2203 | === added file 'themes/aragorn/images/fancy_shadow_ne.png' |
2204 | Binary files themes/aragorn/images/fancy_shadow_ne.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_ne.png 2010-10-25 11:38:45 +0000 differ |
2205 | === added file 'themes/aragorn/images/fancy_shadow_nw.png' |
2206 | Binary files themes/aragorn/images/fancy_shadow_nw.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_nw.png 2010-10-25 11:38:45 +0000 differ |
2207 | === added file 'themes/aragorn/images/fancy_shadow_s.png' |
2208 | Binary files themes/aragorn/images/fancy_shadow_s.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_s.png 2010-10-25 11:38:45 +0000 differ |
2209 | === added file 'themes/aragorn/images/fancy_shadow_se.png' |
2210 | Binary files themes/aragorn/images/fancy_shadow_se.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_se.png 2010-10-25 11:38:45 +0000 differ |
2211 | === added file 'themes/aragorn/images/fancy_shadow_sw.png' |
2212 | Binary files themes/aragorn/images/fancy_shadow_sw.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_sw.png 2010-10-25 11:38:45 +0000 differ |
2213 | === added file 'themes/aragorn/images/fancy_shadow_w.png' |
2214 | Binary files themes/aragorn/images/fancy_shadow_w.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_shadow_w.png 2010-10-25 11:38:45 +0000 differ |
2215 | === added file 'themes/aragorn/images/fancy_title_left.png' |
2216 | Binary files themes/aragorn/images/fancy_title_left.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_title_left.png 2010-10-25 11:38:45 +0000 differ |
2217 | === added file 'themes/aragorn/images/fancy_title_main.png' |
2218 | Binary files themes/aragorn/images/fancy_title_main.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_title_main.png 2010-10-25 11:38:45 +0000 differ |
2219 | === added file 'themes/aragorn/images/fancy_title_over.png' |
2220 | Binary files themes/aragorn/images/fancy_title_over.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_title_over.png 2010-10-25 11:38:45 +0000 differ |
2221 | === added file 'themes/aragorn/images/fancy_title_right.png' |
2222 | Binary files themes/aragorn/images/fancy_title_right.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancy_title_right.png 2010-10-25 11:38:45 +0000 differ |
2223 | === added file 'themes/aragorn/images/fancybox-x.png' |
2224 | Binary files themes/aragorn/images/fancybox-x.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancybox-x.png 2010-10-25 11:38:45 +0000 differ |
2225 | === added file 'themes/aragorn/images/fancybox-y.png' |
2226 | Binary files themes/aragorn/images/fancybox-y.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancybox-y.png 2010-10-25 11:38:45 +0000 differ |
2227 | === added file 'themes/aragorn/images/fancybox.png' |
2228 | Binary files themes/aragorn/images/fancybox.png 1970-01-01 00:00:00 +0000 and themes/aragorn/images/fancybox.png 2010-10-25 11:38:45 +0000 differ |
2229 | === modified file 'themes/aragorn/index.tpl' |
2230 | --- themes/aragorn/index.tpl 2010-10-20 07:26:55 +0000 |
2231 | +++ themes/aragorn/index.tpl 2010-10-25 11:38:45 +0000 |
2232 | @@ -6,16 +6,17 @@ |
2233 | <title>{$params.title}</title> |
2234 | |
2235 | <link href="{$planet.url}/themes/{$planet.theme}/css/core.css" rel="stylesheet" type="text/css" /> |
2236 | + <link href="{$planet.url}/themes/{$planet.theme}/css/jquery.fancybox-1.3.2.css" rel="stylesheet" type="text/css" /> |
2237 | <link rel="alternate" type="application/rss+xml" title="RSS" href="{$planet.url}/feed.php?type=rss" /> |
2238 | <link rel="alternate" type="application/atom+xml" title="ATOM" href="{$planet.url}/feed.php?type=atom" /> |
2239 | <link rel="icon" type="image/ico" href="{$planet.url}/themes/{$planet.theme}/favicon.png" /> |
2240 | |
2241 | <script type="text/javascript" src="{$planet.url}/javascript/jquery.js"></script> |
2242 | + <script type="text/javascript" src="{$planet.url}/javascript/jquery.easing-1.3.pack.js" ></script> |
2243 | + <script type="text/javascript" src="{$planet.url}/javascript/jquery.fancybox-1.3.2.pack.js" ></script> |
2244 | |
2245 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/votes.js" ></script> |
2246 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/mobile.js" ></script> |
2247 | - <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/jquery.easing.1.3.js" ></script> |
2248 | - <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/jquery.fancybox-1.2.1.pack.js" ></script> |
2249 | |
2250 | </head> |
2251 | <body> |
2252 | |
2253 | === removed file 'themes/aragorn/js/jquery.easing.1.3.js' |
2254 | --- themes/aragorn/js/jquery.easing.1.3.js 2010-10-06 08:46:01 +0000 |
2255 | +++ themes/aragorn/js/jquery.easing.1.3.js 1970-01-01 00:00:00 +0000 |
2256 | @@ -1,205 +0,0 @@ |
2257 | -/* |
2258 | - * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ |
2259 | - * |
2260 | - * Uses the built in easing capabilities added In jQuery 1.1 |
2261 | - * to offer multiple easing options |
2262 | - * |
2263 | - * TERMS OF USE - jQuery Easing |
2264 | - * |
2265 | - * Open source under the BSD License. |
2266 | - * |
2267 | - * Copyright © 2008 George McGinley Smith |
2268 | - * All rights reserved. |
2269 | - * |
2270 | - * Redistribution and use in source and binary forms, with or without modification, |
2271 | - * are permitted provided that the following conditions are met: |
2272 | - * |
2273 | - * Redistributions of source code must retain the above copyright notice, this list of |
2274 | - * conditions and the following disclaimer. |
2275 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
2276 | - * of conditions and the following disclaimer in the documentation and/or other materials |
2277 | - * provided with the distribution. |
2278 | - * |
2279 | - * Neither the name of the author nor the names of contributors may be used to endorse |
2280 | - * or promote products derived from this software without specific prior written permission. |
2281 | - * |
2282 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
2283 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
2284 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
2285 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
2286 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
2287 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
2288 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
2289 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
2290 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
2291 | - * |
2292 | -*/ |
2293 | - |
2294 | -// t: current time, b: begInnIng value, c: change In value, d: duration |
2295 | -jQuery.easing['jswing'] = jQuery.easing['swing']; |
2296 | - |
2297 | -jQuery.extend( jQuery.easing, |
2298 | -{ |
2299 | - def: 'easeOutQuad', |
2300 | - swing: function (x, t, b, c, d) { |
2301 | - //alert(jQuery.easing.default); |
2302 | - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); |
2303 | - }, |
2304 | - easeInQuad: function (x, t, b, c, d) { |
2305 | - return c*(t/=d)*t + b; |
2306 | - }, |
2307 | - easeOutQuad: function (x, t, b, c, d) { |
2308 | - return -c *(t/=d)*(t-2) + b; |
2309 | - }, |
2310 | - easeInOutQuad: function (x, t, b, c, d) { |
2311 | - if ((t/=d/2) < 1) return c/2*t*t + b; |
2312 | - return -c/2 * ((--t)*(t-2) - 1) + b; |
2313 | - }, |
2314 | - easeInCubic: function (x, t, b, c, d) { |
2315 | - return c*(t/=d)*t*t + b; |
2316 | - }, |
2317 | - easeOutCubic: function (x, t, b, c, d) { |
2318 | - return c*((t=t/d-1)*t*t + 1) + b; |
2319 | - }, |
2320 | - easeInOutCubic: function (x, t, b, c, d) { |
2321 | - if ((t/=d/2) < 1) return c/2*t*t*t + b; |
2322 | - return c/2*((t-=2)*t*t + 2) + b; |
2323 | - }, |
2324 | - easeInQuart: function (x, t, b, c, d) { |
2325 | - return c*(t/=d)*t*t*t + b; |
2326 | - }, |
2327 | - easeOutQuart: function (x, t, b, c, d) { |
2328 | - return -c * ((t=t/d-1)*t*t*t - 1) + b; |
2329 | - }, |
2330 | - easeInOutQuart: function (x, t, b, c, d) { |
2331 | - if ((t/=d/2) < 1) return c/2*t*t*t*t + b; |
2332 | - return -c/2 * ((t-=2)*t*t*t - 2) + b; |
2333 | - }, |
2334 | - easeInQuint: function (x, t, b, c, d) { |
2335 | - return c*(t/=d)*t*t*t*t + b; |
2336 | - }, |
2337 | - easeOutQuint: function (x, t, b, c, d) { |
2338 | - return c*((t=t/d-1)*t*t*t*t + 1) + b; |
2339 | - }, |
2340 | - easeInOutQuint: function (x, t, b, c, d) { |
2341 | - if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; |
2342 | - return c/2*((t-=2)*t*t*t*t + 2) + b; |
2343 | - }, |
2344 | - easeInSine: function (x, t, b, c, d) { |
2345 | - return -c * Math.cos(t/d * (Math.PI/2)) + c + b; |
2346 | - }, |
2347 | - easeOutSine: function (x, t, b, c, d) { |
2348 | - return c * Math.sin(t/d * (Math.PI/2)) + b; |
2349 | - }, |
2350 | - easeInOutSine: function (x, t, b, c, d) { |
2351 | - return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; |
2352 | - }, |
2353 | - easeInExpo: function (x, t, b, c, d) { |
2354 | - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; |
2355 | - }, |
2356 | - easeOutExpo: function (x, t, b, c, d) { |
2357 | - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; |
2358 | - }, |
2359 | - easeInOutExpo: function (x, t, b, c, d) { |
2360 | - if (t==0) return b; |
2361 | - if (t==d) return b+c; |
2362 | - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; |
2363 | - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; |
2364 | - }, |
2365 | - easeInCirc: function (x, t, b, c, d) { |
2366 | - return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; |
2367 | - }, |
2368 | - easeOutCirc: function (x, t, b, c, d) { |
2369 | - return c * Math.sqrt(1 - (t=t/d-1)*t) + b; |
2370 | - }, |
2371 | - easeInOutCirc: function (x, t, b, c, d) { |
2372 | - if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; |
2373 | - return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; |
2374 | - }, |
2375 | - easeInElastic: function (x, t, b, c, d) { |
2376 | - var s=1.70158;var p=0;var a=c; |
2377 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
2378 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
2379 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
2380 | - return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
2381 | - }, |
2382 | - easeOutElastic: function (x, t, b, c, d) { |
2383 | - var s=1.70158;var p=0;var a=c; |
2384 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
2385 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
2386 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
2387 | - return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; |
2388 | - }, |
2389 | - easeInOutElastic: function (x, t, b, c, d) { |
2390 | - var s=1.70158;var p=0;var a=c; |
2391 | - if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); |
2392 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
2393 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
2394 | - if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
2395 | - return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; |
2396 | - }, |
2397 | - easeInBack: function (x, t, b, c, d, s) { |
2398 | - if (s == undefined) s = 1.70158; |
2399 | - return c*(t/=d)*t*((s+1)*t - s) + b; |
2400 | - }, |
2401 | - easeOutBack: function (x, t, b, c, d, s) { |
2402 | - if (s == undefined) s = 1.70158; |
2403 | - return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; |
2404 | - }, |
2405 | - easeInOutBack: function (x, t, b, c, d, s) { |
2406 | - if (s == undefined) s = 1.70158; |
2407 | - if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; |
2408 | - return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; |
2409 | - }, |
2410 | - easeInBounce: function (x, t, b, c, d) { |
2411 | - return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; |
2412 | - }, |
2413 | - easeOutBounce: function (x, t, b, c, d) { |
2414 | - if ((t/=d) < (1/2.75)) { |
2415 | - return c*(7.5625*t*t) + b; |
2416 | - } else if (t < (2/2.75)) { |
2417 | - return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; |
2418 | - } else if (t < (2.5/2.75)) { |
2419 | - return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; |
2420 | - } else { |
2421 | - return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; |
2422 | - } |
2423 | - }, |
2424 | - easeInOutBounce: function (x, t, b, c, d) { |
2425 | - if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; |
2426 | - return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; |
2427 | - } |
2428 | -}); |
2429 | - |
2430 | -/* |
2431 | - * |
2432 | - * TERMS OF USE - EASING EQUATIONS |
2433 | - * |
2434 | - * Open source under the BSD License. |
2435 | - * |
2436 | - * Copyright © 2001 Robert Penner |
2437 | - * All rights reserved. |
2438 | - * |
2439 | - * Redistribution and use in source and binary forms, with or without modification, |
2440 | - * are permitted provided that the following conditions are met: |
2441 | - * |
2442 | - * Redistributions of source code must retain the above copyright notice, this list of |
2443 | - * conditions and the following disclaimer. |
2444 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
2445 | - * of conditions and the following disclaimer in the documentation and/or other materials |
2446 | - * provided with the distribution. |
2447 | - * |
2448 | - * Neither the name of the author nor the names of contributors may be used to endorse |
2449 | - * or promote products derived from this software without specific prior written permission. |
2450 | - * |
2451 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
2452 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
2453 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
2454 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
2455 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
2456 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
2457 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
2458 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
2459 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
2460 | - * |
2461 | - */ |
2462 | \ No newline at end of file |
2463 | |
2464 | === removed file 'themes/aragorn/js/jquery.fancybox-1.2.1.js' |
2465 | --- themes/aragorn/js/jquery.fancybox-1.2.1.js 2010-10-06 08:46:01 +0000 |
2466 | +++ themes/aragorn/js/jquery.fancybox-1.2.1.js 1970-01-01 00:00:00 +0000 |
2467 | @@ -1,547 +0,0 @@ |
2468 | -/* |
2469 | - * FancyBox - simple and fancy jQuery plugin |
2470 | - * Examples and documentation at: http://fancy.klade.lv/ |
2471 | - * Version: 1.2.1 (13/03/2009) |
2472 | - * Copyright (c) 2009 Janis Skarnelis |
2473 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
2474 | - * Requires: jQuery v1.3+ |
2475 | -*/ |
2476 | -;(function($) { |
2477 | - |
2478 | - $.fn.fixPNG = function() { |
2479 | - return this.each(function () { |
2480 | - var image = $(this).css('backgroundImage'); |
2481 | - |
2482 | - if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) { |
2483 | - image = RegExp.$1; |
2484 | - $(this).css({ |
2485 | - 'backgroundImage': 'none', |
2486 | - 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')" |
2487 | - }).each(function () { |
2488 | - var position = $(this).css('position'); |
2489 | - if (position != 'absolute' && position != 'relative') |
2490 | - $(this).css('position', 'relative'); |
2491 | - }); |
2492 | - } |
2493 | - }); |
2494 | - }; |
2495 | - |
2496 | - var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; |
2497 | - var isIE = ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 8); |
2498 | - |
2499 | - $.fn.fancybox = function(settings) { |
2500 | - settings = $.extend({}, $.fn.fancybox.defaults, settings); |
2501 | - |
2502 | - var matchedGroup = this; |
2503 | - |
2504 | - function _initialize() { |
2505 | - elem = this; |
2506 | - opts = settings; |
2507 | - |
2508 | - _start(); |
2509 | - |
2510 | - return false; |
2511 | - }; |
2512 | - |
2513 | - function _start() { |
2514 | - if (busy) return; |
2515 | - |
2516 | - if ($.isFunction(opts.callbackOnStart)) { |
2517 | - opts.callbackOnStart(); |
2518 | - } |
2519 | - |
2520 | - opts.itemArray = []; |
2521 | - opts.itemCurrent = 0; |
2522 | - |
2523 | - if (settings.itemArray.length > 0) { |
2524 | - opts.itemArray = settings.itemArray; |
2525 | - |
2526 | - } else { |
2527 | - var item = {}; |
2528 | - |
2529 | - if (!elem.rel || elem.rel == '') { |
2530 | - var item = {href: elem.href, title: elem.title}; |
2531 | - |
2532 | - if ($(elem).children("img:first").length) { |
2533 | - item.orig = $(elem).children("img:first"); |
2534 | - } |
2535 | - |
2536 | - opts.itemArray.push( item ); |
2537 | - |
2538 | - } else { |
2539 | - |
2540 | - var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]"); |
2541 | - |
2542 | - var item = {}; |
2543 | - |
2544 | - for (var i = 0; i < subGroup.length; i++) { |
2545 | - item = {href: subGroup[i].href, title: subGroup[i].title}; |
2546 | - |
2547 | - if ($(subGroup[i]).children("img:first").length) { |
2548 | - item.orig = $(subGroup[i]).children("img:first"); |
2549 | - } |
2550 | - |
2551 | - opts.itemArray.push( item ); |
2552 | - } |
2553 | - |
2554 | - while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) { |
2555 | - opts.itemCurrent++; |
2556 | - } |
2557 | - } |
2558 | - } |
2559 | - |
2560 | - if (opts.overlayShow) { |
2561 | - if (isIE) { |
2562 | - $('embed, object, select').css('visibility', 'hidden'); |
2563 | - } |
2564 | - |
2565 | - $("#fancy_overlay").css('opacity', opts.overlayOpacity).show(); |
2566 | - } |
2567 | - |
2568 | - _change_item(); |
2569 | - }; |
2570 | - |
2571 | - function _change_item() { |
2572 | - $("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide(); |
2573 | - |
2574 | - var href = opts.itemArray[ opts.itemCurrent ].href; |
2575 | - |
2576 | - if (href.match(/#/)) { |
2577 | - var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#')); |
2578 | - |
2579 | - _set_content('<div id="fancy_div">' + $(target).html() + '</div>', opts.frameWidth, opts.frameHeight); |
2580 | - |
2581 | - } else if (href.match(imageRegExp)) { |
2582 | - imagePreloader = new Image; imagePreloader.src = href; |
2583 | - |
2584 | - if (imagePreloader.complete) { |
2585 | - _proceed_image(); |
2586 | - |
2587 | - } else { |
2588 | - $.fn.fancybox.showLoading(); |
2589 | - |
2590 | - $(imagePreloader).unbind().bind('load', function() { |
2591 | - $(".fancy_loading").hide(); |
2592 | - |
2593 | - _proceed_image(); |
2594 | - }); |
2595 | - } |
2596 | - |
2597 | - } else if (href.match("iframe") || elem.className.indexOf("iframe") >= 0) { |
2598 | - _set_content('<iframe id="fancy_frame" onload="$.fn.fancybox.showIframe()" name="fancy_iframe' + Math.round(Math.random()*1000) + '" frameborder="0" hspace="0" src="' + href + '"></iframe>', opts.frameWidth, opts.frameHeight); |
2599 | - |
2600 | - } else { |
2601 | - $.get(href, function(data) { |
2602 | - _set_content( '<div id="fancy_ajax">' + data + '</div>', opts.frameWidth, opts.frameHeight ); |
2603 | - }); |
2604 | - } |
2605 | - }; |
2606 | - |
2607 | - function _proceed_image() { |
2608 | - if (opts.imageScale) { |
2609 | - var w = $.fn.fancybox.getViewport(); |
2610 | - |
2611 | - var r = Math.min(Math.min(w[0] - 36, imagePreloader.width) / imagePreloader.width, Math.min(w[1] - 60, imagePreloader.height) / imagePreloader.height); |
2612 | - |
2613 | - var width = Math.round(r * imagePreloader.width); |
2614 | - var height = Math.round(r * imagePreloader.height); |
2615 | - |
2616 | - } else { |
2617 | - var width = imagePreloader.width; |
2618 | - var height = imagePreloader.height; |
2619 | - } |
2620 | - |
2621 | - _set_content('<img alt="" id="fancy_img" src="' + imagePreloader.src + '" />', width, height); |
2622 | - }; |
2623 | - |
2624 | - function _preload_neighbor_images() { |
2625 | - if ((opts.itemArray.length -1) > opts.itemCurrent) { |
2626 | - var href = opts.itemArray[opts.itemCurrent + 1].href; |
2627 | - |
2628 | - if (href.match(imageRegExp)) { |
2629 | - objNext = new Image(); |
2630 | - objNext.src = href; |
2631 | - } |
2632 | - } |
2633 | - |
2634 | - if (opts.itemCurrent > 0) { |
2635 | - var href = opts.itemArray[opts.itemCurrent -1].href; |
2636 | - |
2637 | - if (href.match(imageRegExp)) { |
2638 | - objNext = new Image(); |
2639 | - objNext.src = href; |
2640 | - } |
2641 | - } |
2642 | - }; |
2643 | - |
2644 | - function _set_content(value, width, height) { |
2645 | - busy = true; |
2646 | - |
2647 | - var pad = opts.padding; |
2648 | - |
2649 | - if (isIE) { |
2650 | - $("#fancy_content")[0].style.removeExpression("height"); |
2651 | - $("#fancy_content")[0].style.removeExpression("width"); |
2652 | - } |
2653 | - |
2654 | - if (pad > 0) { |
2655 | - width += pad * 2; |
2656 | - height += pad * 2; |
2657 | - |
2658 | - $("#fancy_content").css({ |
2659 | - 'top' : pad + 'px', |
2660 | - 'right' : pad + 'px', |
2661 | - 'bottom' : pad + 'px', |
2662 | - 'left' : pad + 'px', |
2663 | - 'width' : 'auto', |
2664 | - 'height' : 'auto' |
2665 | - }); |
2666 | - |
2667 | - if (isIE) { |
2668 | - $("#fancy_content")[0].style.setExpression('height', '(this.parentNode.clientHeight - 20)'); |
2669 | - $("#fancy_content")[0].style.setExpression('width', '(this.parentNode.clientWidth - 20)'); |
2670 | - } |
2671 | - |
2672 | - } else { |
2673 | - $("#fancy_content").css({ |
2674 | - 'top' : 0, |
2675 | - 'right' : 0, |
2676 | - 'bottom' : 0, |
2677 | - 'left' : 0, |
2678 | - 'width' : '100%', |
2679 | - 'height' : '100%' |
2680 | - }); |
2681 | - } |
2682 | - |
2683 | - if ($("#fancy_outer").is(":visible") && width == $("#fancy_outer").width() && height == $("#fancy_outer").height()) { |
2684 | - $("#fancy_content").fadeOut("fast", function() { |
2685 | - $("#fancy_content").empty().append($(value)).fadeIn("normal", function() { |
2686 | - _finish(); |
2687 | - }); |
2688 | - }); |
2689 | - |
2690 | - return; |
2691 | - } |
2692 | - |
2693 | - var w = $.fn.fancybox.getViewport(); |
2694 | - |
2695 | - var itemLeft = (width + 36) > w[0] ? w[2] : (w[2] + Math.round((w[0] - width - 36) / 2)); |
2696 | - var itemTop = (height + 50) > w[1] ? w[3] : (w[3] + Math.round((w[1] - height - 50) / 2)); |
2697 | - |
2698 | - var itemOpts = { |
2699 | - 'left': itemLeft, |
2700 | - 'top': itemTop, |
2701 | - 'width': width + 'px', |
2702 | - 'height': height + 'px' |
2703 | - }; |
2704 | - |
2705 | - if ($("#fancy_outer").is(":visible")) { |
2706 | - $("#fancy_content").fadeOut("normal", function() { |
2707 | - $("#fancy_content").empty(); |
2708 | - $("#fancy_outer").animate(itemOpts, opts.zoomSpeedChange, opts.easingChange, function() { |
2709 | - $("#fancy_content").append($(value)).fadeIn("normal", function() { |
2710 | - _finish(); |
2711 | - }); |
2712 | - }); |
2713 | - }); |
2714 | - |
2715 | - } else { |
2716 | - |
2717 | - if (opts.zoomSpeedIn > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) { |
2718 | - $("#fancy_content").empty().append($(value)); |
2719 | - |
2720 | - var orig_item = opts.itemArray[opts.itemCurrent].orig; |
2721 | - var orig_pos = $.fn.fancybox.getPosition(orig_item); |
2722 | - |
2723 | - $("#fancy_outer").css({ |
2724 | - 'left': (orig_pos.left - 18) + 'px', |
2725 | - 'top': (orig_pos.top - 18) + 'px', |
2726 | - 'width': $(orig_item).width(), |
2727 | - 'height': $(orig_item).height() |
2728 | - }); |
2729 | - |
2730 | - if (opts.zoomOpacity) { |
2731 | - itemOpts.opacity = 'show'; |
2732 | - } |
2733 | - |
2734 | - $("#fancy_outer").animate(itemOpts, opts.zoomSpeedIn, opts.easingIn, function() { |
2735 | - _finish(); |
2736 | - }); |
2737 | - |
2738 | - } else { |
2739 | - |
2740 | - $("#fancy_content").hide().empty().append($(value)).show(); |
2741 | - $("#fancy_outer").css(itemOpts).fadeIn("normal", function() { |
2742 | - _finish(); |
2743 | - }); |
2744 | - } |
2745 | - } |
2746 | - }; |
2747 | - |
2748 | - function _set_navigation() { |
2749 | - if (opts.itemCurrent != 0) { |
2750 | - $("#fancy_left, #fancy_left_ico").unbind().bind("click", function(e) { |
2751 | - e.stopPropagation(); |
2752 | - |
2753 | - opts.itemCurrent--; |
2754 | - _change_item(); |
2755 | - |
2756 | - return false; |
2757 | - }); |
2758 | - |
2759 | - $("#fancy_left").show(); |
2760 | - } |
2761 | - |
2762 | - if (opts.itemCurrent != ( opts.itemArray.length -1)) { |
2763 | - $("#fancy_right, #fancy_right_ico").unbind().bind("click", function(e) { |
2764 | - e.stopPropagation(); |
2765 | - |
2766 | - opts.itemCurrent++; |
2767 | - _change_item(); |
2768 | - |
2769 | - return false; |
2770 | - }); |
2771 | - |
2772 | - $("#fancy_right").show(); |
2773 | - } |
2774 | - }; |
2775 | - |
2776 | - function _finish() { |
2777 | - _set_navigation(); |
2778 | - |
2779 | - _preload_neighbor_images(); |
2780 | - |
2781 | - $(document).keydown(function(e) { |
2782 | - if (e.keyCode == 27) { |
2783 | - $.fn.fancybox.close(); |
2784 | - $(document).unbind("keydown"); |
2785 | - |
2786 | - } else if(e.keyCode == 37 && opts.itemCurrent != 0) { |
2787 | - opts.itemCurrent--; |
2788 | - _change_item(); |
2789 | - $(document).unbind("keydown"); |
2790 | - |
2791 | - } else if(e.keyCode == 39 && opts.itemCurrent != (opts.itemArray.length - 1)) { |
2792 | - opts.itemCurrent++; |
2793 | - _change_item(); |
2794 | - $(document).unbind("keydown"); |
2795 | - } |
2796 | - }); |
2797 | - |
2798 | - if (opts.centerOnScroll) { |
2799 | - $(window).bind("resize scroll", $.fn.fancybox.scrollBox); |
2800 | - } else { |
2801 | - $("div#fancy_outer").css("position", "absolute"); |
2802 | - } |
2803 | - |
2804 | - if (opts.hideOnContentClick) { |
2805 | - $("#fancy_wrap").click($.fn.fancybox.close); |
2806 | - } |
2807 | - |
2808 | - $("#fancy_overlay, #fancy_close").bind("click", $.fn.fancybox.close); |
2809 | - |
2810 | - $("#fancy_close").show(); |
2811 | - |
2812 | - if (opts.itemArray[ opts.itemCurrent ].title !== undefined && opts.itemArray[ opts.itemCurrent ].title.length > 0) { |
2813 | - $('#fancy_title div').html(opts.itemArray[ opts.itemCurrent ].title); |
2814 | - $('#fancy_title').show(); |
2815 | - } |
2816 | - |
2817 | - if (opts.overlayShow && isIE) { |
2818 | - $('embed, object, select', $('#fancy_content')).css('visibility', 'visible'); |
2819 | - } |
2820 | - |
2821 | - if ($.isFunction(opts.callbackOnShow)) { |
2822 | - opts.callbackOnShow(); |
2823 | - } |
2824 | - |
2825 | - busy = false; |
2826 | - }; |
2827 | - |
2828 | - return this.unbind('click').click(_initialize); |
2829 | - }; |
2830 | - |
2831 | - $.fn.fancybox.scrollBox = function() { |
2832 | - var pos = $.fn.fancybox.getViewport(); |
2833 | - |
2834 | - $("#fancy_outer").css('left', (($("#fancy_outer").width() + 36) > pos[0] ? pos[2] : pos[2] + Math.round((pos[0] - $("#fancy_outer").width() - 36) / 2))); |
2835 | - $("#fancy_outer").css('top', (($("#fancy_outer").height() + 50) > pos[1] ? pos[3] : pos[3] + Math.round((pos[1] - $("#fancy_outer").height() - 50) / 2))); |
2836 | - }; |
2837 | - |
2838 | - $.fn.fancybox.getNumeric = function(el, prop) { |
2839 | - return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0; |
2840 | - }; |
2841 | - |
2842 | - $.fn.fancybox.getPosition = function(el) { |
2843 | - var pos = el.offset(); |
2844 | - |
2845 | - pos.top += $.fn.fancybox.getNumeric(el, 'paddingTop'); |
2846 | - pos.top += $.fn.fancybox.getNumeric(el, 'borderTopWidth'); |
2847 | - |
2848 | - pos.left += $.fn.fancybox.getNumeric(el, 'paddingLeft'); |
2849 | - pos.left += $.fn.fancybox.getNumeric(el, 'borderLeftWidth'); |
2850 | - |
2851 | - return pos; |
2852 | - }; |
2853 | - |
2854 | - $.fn.fancybox.showIframe = function() { |
2855 | - $(".fancy_loading").hide(); |
2856 | - $("#fancy_frame").show(); |
2857 | - }; |
2858 | - |
2859 | - $.fn.fancybox.getViewport = function() { |
2860 | - return [$(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ]; |
2861 | - }; |
2862 | - |
2863 | - $.fn.fancybox.animateLoading = function() { |
2864 | - if (!$("#fancy_loading").is(':visible')){ |
2865 | - clearInterval(loadingTimer); |
2866 | - return; |
2867 | - } |
2868 | - |
2869 | - $("#fancy_loading > div").css('top', (loadingFrame * -40) + 'px'); |
2870 | - |
2871 | - loadingFrame = (loadingFrame + 1) % 12; |
2872 | - }; |
2873 | - |
2874 | - $.fn.fancybox.showLoading = function() { |
2875 | - clearInterval(loadingTimer); |
2876 | - |
2877 | - var pos = $.fn.fancybox.getViewport(); |
2878 | - |
2879 | - $("#fancy_loading").css({'left': ((pos[0] - 40) / 2 + pos[2]), 'top': ((pos[1] - 40) / 2 + pos[3])}).show(); |
2880 | - $("#fancy_loading").bind('click', $.fn.fancybox.close); |
2881 | - |
2882 | - loadingTimer = setInterval($.fn.fancybox.animateLoading, 66); |
2883 | - }; |
2884 | - |
2885 | - $.fn.fancybox.close = function() { |
2886 | - busy = true; |
2887 | - |
2888 | - $(imagePreloader).unbind(); |
2889 | - |
2890 | - $("#fancy_overlay, #fancy_close").unbind(); |
2891 | - |
2892 | - if (opts.hideOnContentClick) { |
2893 | - $("#fancy_wrap").unbind(); |
2894 | - } |
2895 | - |
2896 | - $("#fancy_close, .fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide(); |
2897 | - |
2898 | - if (opts.centerOnScroll) { |
2899 | - $(window).unbind("resize scroll"); |
2900 | - } |
2901 | - |
2902 | - __cleanup = function() { |
2903 | - $("#fancy_overlay, #fancy_outer").hide(); |
2904 | - |
2905 | - if (opts.centerOnScroll) { |
2906 | - $(window).unbind("resize scroll"); |
2907 | - } |
2908 | - |
2909 | - if (isIE) { |
2910 | - $('embed, object, select').css('visibility', 'visible'); |
2911 | - } |
2912 | - |
2913 | - if ($.isFunction(opts.callbackOnClose)) { |
2914 | - opts.callbackOnClose(); |
2915 | - } |
2916 | - |
2917 | - busy = false; |
2918 | - }; |
2919 | - |
2920 | - if ($("#fancy_outer").is(":visible") !== false) { |
2921 | - if (opts.zoomSpeedOut > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) { |
2922 | - var orig_item = opts.itemArray[opts.itemCurrent].orig; |
2923 | - var orig_pos = $.fn.fancybox.getPosition(orig_item); |
2924 | - |
2925 | - var itemOpts = { |
2926 | - 'left': (orig_pos.left - 18) + 'px', |
2927 | - 'top': (orig_pos.top - 18) + 'px', |
2928 | - 'width': $(orig_item).width(), |
2929 | - 'height': $(orig_item).height() |
2930 | - }; |
2931 | - |
2932 | - if (opts.zoomOpacity) { |
2933 | - itemOpts.opacity = 'hide'; |
2934 | - } |
2935 | - |
2936 | - $("#fancy_outer").stop(false, true).animate(itemOpts, opts.zoomSpeedOut, opts.easingOut, __cleanup); |
2937 | - |
2938 | - } else { |
2939 | - $("#fancy_outer").stop(false, true).fadeOut("fast", __cleanup); |
2940 | - } |
2941 | - |
2942 | - } else { |
2943 | - __cleanup(); |
2944 | - } |
2945 | - |
2946 | - return false; |
2947 | - }; |
2948 | - |
2949 | - $.fn.fancybox.build = function() { |
2950 | - var html = ''; |
2951 | - |
2952 | - html += '<div id="fancy_overlay"></div>'; |
2953 | - |
2954 | - html += '<div id="fancy_wrap">'; |
2955 | - |
2956 | - html += '<div class="fancy_loading" id="fancy_loading"><div></div></div>'; |
2957 | - |
2958 | - html += '<div id="fancy_outer">'; |
2959 | - |
2960 | - html += '<div id="fancy_inner">'; |
2961 | - |
2962 | - html += '<div id="fancy_close"></div>'; |
2963 | - |
2964 | - html += '<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div>'; |
2965 | - |
2966 | - html += '<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>'; |
2967 | - |
2968 | - html += '<div id="fancy_content"></div>'; |
2969 | - |
2970 | - html += '<div id="fancy_title"></div>'; |
2971 | - |
2972 | - html += '</div>'; |
2973 | - |
2974 | - html += '</div>'; |
2975 | - |
2976 | - html += '</div>'; |
2977 | - |
2978 | - $(html).appendTo("body"); |
2979 | - |
2980 | - $('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title'); |
2981 | - |
2982 | - if (isIE) { |
2983 | - $("#fancy_inner").prepend('<iframe class="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>'); |
2984 | - $("#fancy_close, .fancy_bg, .fancy_title, .fancy_ico").fixPNG(); |
2985 | - } |
2986 | - }; |
2987 | - |
2988 | - $.fn.fancybox.defaults = { |
2989 | - padding : 10, |
2990 | - imageScale : true, |
2991 | - zoomOpacity : false, |
2992 | - zoomSpeedIn : 0, |
2993 | - zoomSpeedOut : 0, |
2994 | - zoomSpeedChange : 300, |
2995 | - easingIn : 'swing', |
2996 | - easingOut : 'swing', |
2997 | - easingChange : 'swing', |
2998 | - frameWidth : 425, |
2999 | - frameHeight : 355, |
3000 | - overlayShow : true, |
3001 | - overlayOpacity : 0.3, |
3002 | - hideOnContentClick : true, |
3003 | - centerOnScroll : true, |
3004 | - itemArray : [], |
3005 | - callbackOnStart : null, |
3006 | - callbackOnShow : null, |
3007 | - callbackOnClose : null |
3008 | - }; |
3009 | - |
3010 | - $(document).ready(function() { |
3011 | - $.fn.fancybox.build(); |
3012 | - }); |
3013 | - |
3014 | -})(jQuery); |
3015 | \ No newline at end of file |
3016 | |
3017 | === removed file 'themes/aragorn/js/jquery.fancybox-1.2.1.pack.js' |
3018 | --- themes/aragorn/js/jquery.fancybox-1.2.1.pack.js 2010-10-06 08:46:01 +0000 |
3019 | +++ themes/aragorn/js/jquery.fancybox-1.2.1.pack.js 1970-01-01 00:00:00 +0000 |
3020 | @@ -1,9 +0,0 @@ |
3021 | -/* |
3022 | - * FancyBox - simple and fancy jQuery plugin |
3023 | - * Examples and documentation at: http://fancy.klade.lv/ |
3024 | - * Version: 1.2.1 (13/03/2009) |
3025 | - * Copyright (c) 2009 Janis Skarnelis |
3026 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
3027 | - * Requires: jQuery v1.3+ |
3028 | -*/ |
3029 | -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(7($){$.b.2Q=7(){u B.2t(7(){9 1J=$(B).n(\'2Z\');5(1J.1c(/^3w\\(["\']?(.*\\.2p)["\']?\\)$/i)){1J=3t.$1;$(B).n({\'2Z\':\'45\',\'2o\':"3W:3R.4m.4d(3h=F, 3T="+($(B).n(\'41\')==\'2J-3Z\'?\'4c\':\'3N\')+", Q=\'"+1J+"\')"}).2t(7(){9 1b=$(B).n(\'1b\');5(1b!=\'2e\'&&1b!=\'2n\')$(B).n(\'1b\',\'2n\')})}})};9 A,4,16=D,s=1t 1o,1w,1v=1,1y=/\\.(3A|3Y|2p|3c|3d)(.*)?$/i;9 P=($.2q.3K&&2f($.2q.3z.2k(0,1))<8);$.b.c=7(Y){Y=$.3x({},$.b.c.2R,Y);9 2s=B;7 2h(){A=B;4=Y;2r();u D};7 2r(){5(16)u;5($.1O(4.2c)){4.2c()}4.j=[];4.h=0;5(Y.j.N>0){4.j=Y.j}t{9 O={};5(!A.1H||A.1H==\'\'){9 O={d:A.d,X:A.X};5($(A).1G("1m:1D").N){O.1a=$(A).1G("1m:1D")}4.j.2j(O)}t{9 Z=$(2s).2o("a[1H="+A.1H+"]");9 O={};3C(9 i=0;i<Z.N;i++){O={d:Z[i].d,X:Z[i].X};5($(Z[i]).1G("1m:1D").N){O.1a=$(Z[i]).1G("1m:1D")}4.j.2j(O)}3F(4.j[4.h].d!=A.d){4.h++}}}5(4.23){5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'3s\')}$("#1i").n(\'25\',4.2U).J()}1d()};7 1d(){$("#1f, #1e, #V, #G").S();9 d=4.j[4.h].d;5(d.1c(/#/)){9 U=11.3r.d.3f(\'#\')[0];U=d.3g(U,\'\');U=U.2k(U.2l(\'#\'));1k(\'<6 l="3e">\'+$(U).o()+\'</6>\',4.1I,4.1x)}t 5(d.1c(1y)){s=1t 1o;s.Q=d;5(s.3a){1K()}t{$.b.c.34();$(s).x().14(\'3b\',7(){$(".I").S();1K()})}}t 5(d.1c("17")||A.3j.2l("17")>=0){1k(\'<17 l="35" 3q="$.b.c.38()" 3o="3n\'+C.T(C.3l()*3m)+\'" 2K="0" 3E="0" Q="\'+d+\'"></17>\',4.1I,4.1x)}t{$.4p(d,7(2m){1k(\'<6 l="3L">\'+2m+\'</6>\',4.1I,4.1x)})}};7 1K(){5(4.30){9 w=$.b.c.1n();9 r=C.1M(C.1M(w[0]-36,s.g)/s.g,C.1M(w[1]-4b,s.f)/s.f);9 g=C.T(r*s.g);9 f=C.T(r*s.f)}t{9 g=s.g;9 f=s.f}1k(\'<1m 48="" l="49" Q="\'+s.Q+\'" />\',g,f)};7 2F(){5((4.j.N-1)>4.h){9 d=4.j[4.h+1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}5(4.h>0){9 d=4.j[4.h-1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}};7 1k(1j,g,f){16=F;9 L=4.2Y;5(P){$("#q")[0].1E.2u("f");$("#q")[0].1E.2u("g")}5(L>0){g+=L*2;f+=L*2;$("#q").n({\'v\':L+\'z\',\'2E\':L+\'z\',\'2i\':L+\'z\',\'y\':L+\'z\',\'g\':\'2B\',\'f\':\'2B\'});5(P){$("#q")[0].1E.2C(\'f\',\'(B.2D.4j - 20)\');$("#q")[0].1E.2C(\'g\',\'(B.2D.3S - 20)\')}}t{$("#q").n({\'v\':0,\'2E\':0,\'2i\':0,\'y\':0,\'g\':\'2z%\',\'f\':\'2z%\'})}5($("#k").1u(":19")&&g==$("#k").g()&&f==$("#k").f()){$("#q").1Z("2N",7(){$("#q").1C().1F($(1j)).21("1s",7(){1g()})});u}9 w=$.b.c.1n();9 2v=(g+36)>w[0]?w[2]:(w[2]+C.T((w[0]-g-36)/2));9 2w=(f+1z)>w[1]?w[3]:(w[3]+C.T((w[1]-f-1z)/2));9 K={\'y\':2v,\'v\':2w,\'g\':g+\'z\',\'f\':f+\'z\'};5($("#k").1u(":19")){$("#q").1Z("1s",7(){$("#q").1C();$("#k").24(K,4.2X,4.2T,7(){$("#q").1F($(1j)).21("1s",7(){1g()})})})}t{5(4.1W>0&&4.j[4.h].1a!==1L){$("#q").1C().1F($(1j));9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);$("#k").n({\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()});5(4.1X){K.25=\'J\'}$("#k").24(K,4.1W,4.2W,7(){1g()})}t{$("#q").S().1C().1F($(1j)).J();$("#k").n(K).21("1s",7(){1g()})}}};7 2y(){5(4.h!=0){$("#1e, #2O").x().14("R",7(e){e.2x();4.h--;1d();u D});$("#1e").J()}5(4.h!=(4.j.N-1)){$("#1f, #2M").x().14("R",7(e){e.2x();4.h++;1d();u D});$("#1f").J()}};7 1g(){2y();2F();$(W).1B(7(e){5(e.29==27){$.b.c.1l();$(W).x("1B")}t 5(e.29==37&&4.h!=0){4.h--;1d();$(W).x("1B")}t 5(e.29==39&&4.h!=(4.j.N-1)){4.h++;1d();$(W).x("1B")}});5(4.1r){$(11).14("1N 1T",$.b.c.2g)}t{$("6#k").n("1b","2e")}5(4.2b){$("#22").R($.b.c.1l)}$("#1i, #V").14("R",$.b.c.1l);$("#V").J();5(4.j[4.h].X!==1L&&4.j[4.h].X.N>0){$(\'#G 6\').o(4.j[4.h].X);$(\'#G\').J()}5(4.23&&P){$(\'1U, 1Q, 1P\',$(\'#q\')).n(\'1S\',\'19\')}5($.1O(4.2a)){4.2a()}16=D};u B.x(\'R\').R(2h)};$.b.c.2g=7(){9 m=$.b.c.1n();$("#k").n(\'y\',(($("#k").g()+36)>m[0]?m[2]:m[2]+C.T((m[0]-$("#k").g()-36)/2)));$("#k").n(\'v\',(($("#k").f()+1z)>m[1]?m[3]:m[3]+C.T((m[1]-$("#k").f()-1z)/2)))};$.b.c.1h=7(H,2A){u 2f($.3I(H.3u?H[0]:H,2A,F))||0};$.b.c.1R=7(H){9 m=H.4g();m.v+=$.b.c.1h(H,\'3k\');m.v+=$.b.c.1h(H,\'3J\');m.y+=$.b.c.1h(H,\'3H\');m.y+=$.b.c.1h(H,\'3D\');u m};$.b.c.38=7(){$(".I").S();$("#35").J()};$.b.c.1n=7(){u[$(11).g(),$(11).f(),$(W).3i(),$(W).3p()]};$.b.c.2G=7(){5(!$("#I").1u(\':19\')){33(1w);u}$("#I > 6").n(\'v\',(1v*-40)+\'z\');1v=(1v+1)%12};$.b.c.34=7(){33(1w);9 m=$.b.c.1n();$("#I").n({\'y\':((m[0]-40)/2+m[2]),\'v\':((m[1]-40)/2+m[3])}).J();$("#I").14(\'R\',$.b.c.1l);1w=3Q($.b.c.2G,3X)};$.b.c.1l=7(){16=F;$(s).x();$("#1i, #V").x();5(4.2b){$("#22").x()}$("#V, .I, #1e, #1f, #G").S();5(4.1r){$(11).x("1N 1T")}1q=7(){$("#1i, #k").S();5(4.1r){$(11).x("1N 1T")}5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'19\')}5($.1O(4.1V)){4.1V()}16=D};5($("#k").1u(":19")!==D){5(4.26>0&&4.j[4.h].1a!==1L){9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);9 K={\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()};5(4.1X){K.25=\'S\'}$("#k").31(D,F).24(K,4.26,4.2S,1q)}t{$("#k").31(D,F).1Z("2N",1q)}}t{1q()}u D};$.b.c.2V=7(){9 o=\'\';o+=\'<6 l="1i"></6>\';o+=\'<6 l="22">\';o+=\'<6 p="I" l="I"><6></6></6>\';o+=\'<6 l="k">\';o+=\'<6 l="2I">\';o+=\'<6 l="V"></6>\';o+=\'<6 l="E"><6 p="E 44"></6><6 p="E 43"></6><6 p="E 42"></6><6 p="E 3V"></6><6 p="E 3U"></6><6 p="E 3O"></6><6 p="E 3M"></6><6 p="E 3P"></6></6>\';o+=\'<a d="2P:;" l="1e"><1p p="1Y" l="2O"></1p></a><a d="2P:;" l="1f"><1p p="1Y" l="2M"></1p></a>\';o+=\'<6 l="q"></6>\';o+=\'<6 l="G"></6>\';o+=\'</6>\';o+=\'</6>\';o+=\'</6>\';$(o).2H("46");$(\'<32 4i="0" 4h="0" 4k="0"><2L><13 p="G" l="4l"></13><13 p="G" l="4o"><6></6></13><13 p="G" l="4n"></13></2L></32>\').2H(\'#G\');5(P){$("#2I").47(\'<17 p="4a" 4e="2J" 2K="0"></17>\');$("#V, .E, .G, .1Y").2Q()}};$.b.c.2R={2Y:10,30:F,1X:D,1W:0,26:0,2X:3G,2W:\'28\',2S:\'28\',2T:\'28\',1I:3B,1x:3v,23:F,2U:0.3,2b:F,1r:F,j:[],2c:2d,2a:2d,1V:2d};$(W).3y(7(){$.b.c.2V()})})(4f);',62,274,'||||opts|if|div|function||var||fn|fancybox|href||height|width|itemCurrent||itemArray|fancy_outer|id|pos|css|html|class|fancy_content||imagePreloader|else|return|top||unbind|left|px|elem|this|Math|false|fancy_bg|true|fancy_title|el|fancy_loading|show|itemOpts|pad|orig_item|length|item|isIE|src|click|hide|round|target|fancy_close|document|title|settings|subGroup||window||td|bind|orig_pos|busy|iframe||visible|orig|position|match|_change_item|fancy_left|fancy_right|_finish|getNumeric|fancy_overlay|value|_set_content|close|img|getViewport|Image|span|__cleanup|centerOnScroll|normal|new|is|loadingFrame|loadingTimer|frameHeight|imageRegExp|50|objNext|keydown|empty|first|style|append|children|rel|frameWidth|image|_proceed_image|undefined|min|resize|isFunction|select|object|getPosition|visibility|scroll|embed|callbackOnClose|zoomSpeedIn|zoomOpacity|fancy_ico|fadeOut||fadeIn|fancy_wrap|overlayShow|animate|opacity|zoomSpeedOut||swing|keyCode|callbackOnShow|hideOnContentClick|callbackOnStart|null|absolute|parseInt|scrollBox|_initialize|bottom|push|substr|indexOf|data|relative|filter|png|browser|_start|matchedGroup|each|removeExpression|itemLeft|itemTop|stopPropagation|_set_navigation|100|prop|auto|setExpression|parentNode|right|_preload_neighbor_images|animateLoading|appendTo|fancy_inner|no|frameborder|tr|fancy_right_ico|fast|fancy_left_ico|javascript|fixPNG|defaults|easingOut|easingChange|overlayOpacity|build|easingIn|zoomSpeedChange|padding|backgroundImage|imageScale|stop|table|clearInterval|showLoading|fancy_frame|||showIframe||complete|load|bmp|jpeg|fancy_div|split|replace|enabled|scrollLeft|className|paddingTop|random|1000|fancy_iframe|name|scrollTop|onload|location|hidden|RegExp|jquery|355|url|extend|ready|version|jpg|425|for|borderLeftWidth|hspace|while|300|paddingLeft|curCSS|borderTopWidth|msie|fancy_ajax|fancy_bg_w|scale|fancy_bg_sw|fancy_bg_nw|setInterval|DXImageTransform|clientWidth|sizingMethod|fancy_bg_s|fancy_bg_se|progid|66|gif|repeat||backgroundRepeat|fancy_bg_e|fancy_bg_ne|fancy_bg_n|none|body|prepend|alt|fancy_img|fancy_bigIframe|60|crop|AlphaImageLoader|scrolling|jQuery|offset|cellpadding|cellspacing|clientHeight|border|fancy_title_left|Microsoft|fancy_title_right|fancy_title_main|get'.split('|'),0,{})) |
3030 | |
3031 | === added file 'themes/gandalf/css/jquery.fancybox-1.3.2.css' |
3032 | --- themes/gandalf/css/jquery.fancybox-1.3.2.css 1970-01-01 00:00:00 +0000 |
3033 | +++ themes/gandalf/css/jquery.fancybox-1.3.2.css 2010-10-25 11:38:45 +0000 |
3034 | @@ -0,0 +1,359 @@ |
3035 | +/* |
3036 | + * FancyBox - jQuery Plugin |
3037 | + * Simple and fancy lightbox alternative |
3038 | + * |
3039 | + * Examples and documentation at: http://fancybox.net |
3040 | + * |
3041 | + * Copyright (c) 2008 - 2010 Janis Skarnelis |
3042 | + * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. |
3043 | + * |
3044 | + * Version: 1.3.2 (20/10/2010) |
3045 | + * Requires: jQuery v1.3+ |
3046 | + * |
3047 | + * Dual licensed under the MIT and GPL licenses: |
3048 | + * http://www.opensource.org/licenses/mit-license.php |
3049 | + * http://www.gnu.org/licenses/gpl.html |
3050 | + */ |
3051 | + |
3052 | +#fancybox-loading { |
3053 | + position: fixed; |
3054 | + top: 50%; |
3055 | + left: 50%; |
3056 | + width: 40px; |
3057 | + height: 40px; |
3058 | + margin-top: -20px; |
3059 | + margin-left: -20px; |
3060 | + cursor: pointer; |
3061 | + overflow: hidden; |
3062 | + z-index: 1104; |
3063 | + display: none; |
3064 | +} |
3065 | + |
3066 | +#fancybox-loading div { |
3067 | + position: absolute; |
3068 | + top: 0; |
3069 | + left: 0; |
3070 | + width: 40px; |
3071 | + height: 480px; |
3072 | + background-image: url('../images/fancybox.png'); |
3073 | +} |
3074 | + |
3075 | +#fancybox-overlay { |
3076 | + position: absolute; |
3077 | + top: 0; |
3078 | + left: 0; |
3079 | + width: 100%; |
3080 | + height: 100%; |
3081 | + z-index: 1100; |
3082 | + display: none; |
3083 | +} |
3084 | + |
3085 | +#fancybox-tmp { |
3086 | + padding: 0; |
3087 | + margin: 0; |
3088 | + border: 0; |
3089 | + overflow: auto; |
3090 | + display: none; |
3091 | +} |
3092 | + |
3093 | +#fancybox-wrap { |
3094 | + position: absolute; |
3095 | + top: 0; |
3096 | + left: 0; |
3097 | + padding: 20px; |
3098 | + z-index: 1101; |
3099 | + outline: none; |
3100 | + display: none; |
3101 | +} |
3102 | + |
3103 | +#fancybox-outer { |
3104 | + position: relative; |
3105 | + width: 100%; |
3106 | + height: 100%; |
3107 | + background: #fff; |
3108 | +} |
3109 | + |
3110 | +#fancybox-content { |
3111 | + width: 0; |
3112 | + height: 0; |
3113 | + padding: 0; |
3114 | + outline: none; |
3115 | + position: relative; |
3116 | + overflow: hidden; |
3117 | + z-index: 1102; |
3118 | + border: 0px solid #fff; |
3119 | +} |
3120 | + |
3121 | +#fancybox-hide-sel-frame { |
3122 | + position: absolute; |
3123 | + top: 0; |
3124 | + left: 0; |
3125 | + width: 100%; |
3126 | + height: 100%; |
3127 | + background: transparent; |
3128 | + z-index: 1101; |
3129 | +} |
3130 | + |
3131 | +#fancybox-close { |
3132 | + position: absolute; |
3133 | + top: -15px; |
3134 | + right: -15px; |
3135 | + width: 30px; |
3136 | + height: 30px; |
3137 | + background: transparent url('../images/fancybox.png') -40px 0px; |
3138 | + cursor: pointer; |
3139 | + z-index: 1103; |
3140 | + display: none; |
3141 | +} |
3142 | + |
3143 | +#fancybox-error { |
3144 | + color: #444; |
3145 | + font: normal 12px/20px Arial; |
3146 | + padding: 14px; |
3147 | + margin: 0; |
3148 | +} |
3149 | + |
3150 | +#fancybox-img { |
3151 | + width: 100%; |
3152 | + height: 100%; |
3153 | + padding: 0; |
3154 | + margin: 0; |
3155 | + border: none; |
3156 | + outline: none; |
3157 | + line-height: 0; |
3158 | + vertical-align: top; |
3159 | +} |
3160 | + |
3161 | +#fancybox-frame { |
3162 | + width: 100%; |
3163 | + height: 100%; |
3164 | + border: none; |
3165 | + display: block; |
3166 | +} |
3167 | + |
3168 | +#fancybox-left, #fancybox-right { |
3169 | + position: absolute; |
3170 | + bottom: 0px; |
3171 | + height: 100%; |
3172 | + width: 35%; |
3173 | + cursor: pointer; |
3174 | + outline: none; |
3175 | + background: transparent url('blank.gif'); |
3176 | + z-index: 1102; |
3177 | + display: none; |
3178 | +} |
3179 | + |
3180 | +#fancybox-left { |
3181 | + left: 0px; |
3182 | +} |
3183 | + |
3184 | +#fancybox-right { |
3185 | + right: 0px; |
3186 | +} |
3187 | + |
3188 | +#fancybox-left-ico, #fancybox-right-ico { |
3189 | + position: absolute; |
3190 | + top: 50%; |
3191 | + left: -9999px; |
3192 | + width: 30px; |
3193 | + height: 30px; |
3194 | + margin-top: -15px; |
3195 | + cursor: pointer; |
3196 | + z-index: 1102; |
3197 | + display: block; |
3198 | +} |
3199 | + |
3200 | +#fancybox-left-ico { |
3201 | + background-image: url('../images/fancybox.png'); |
3202 | + background-position: -40px -30px; |
3203 | +} |
3204 | + |
3205 | +#fancybox-right-ico { |
3206 | + background-image: url('../images/fancybox.png'); |
3207 | + background-position: -40px -60px; |
3208 | +} |
3209 | + |
3210 | +#fancybox-left:hover, #fancybox-right:hover { |
3211 | + visibility: visible; /* IE6 */ |
3212 | +} |
3213 | + |
3214 | +#fancybox-left:hover span { |
3215 | + left: 20px; |
3216 | +} |
3217 | + |
3218 | +#fancybox-right:hover span { |
3219 | + left: auto; |
3220 | + right: 20px; |
3221 | +} |
3222 | + |
3223 | +.fancybox-bg { |
3224 | + position: absolute; |
3225 | + padding: 0; |
3226 | + margin: 0; |
3227 | + border: 0; |
3228 | + width: 20px; |
3229 | + height: 20px; |
3230 | + z-index: 1001; |
3231 | +} |
3232 | + |
3233 | +#fancybox-bg-n { |
3234 | + top: -20px; |
3235 | + left: 0; |
3236 | + width: 100%; |
3237 | + background-image: url('../images/fancybox-x.png'); |
3238 | +} |
3239 | + |
3240 | +#fancybox-bg-ne { |
3241 | + top: -20px; |
3242 | + right: -20px; |
3243 | + background-image: url('../images/fancybox.png'); |
3244 | + background-position: -40px -162px; |
3245 | +} |
3246 | + |
3247 | +#fancybox-bg-e { |
3248 | + top: 0; |
3249 | + right: -20px; |
3250 | + height: 100%; |
3251 | + background-image: url('../images/fancybox-y.png'); |
3252 | + background-position: -20px 0px; |
3253 | +} |
3254 | + |
3255 | +#fancybox-bg-se { |
3256 | + bottom: -20px; |
3257 | + right: -20px; |
3258 | + background-image: url('../images/fancybox.png'); |
3259 | + background-position: -40px -182px; |
3260 | +} |
3261 | + |
3262 | +#fancybox-bg-s { |
3263 | + bottom: -20px; |
3264 | + left: 0; |
3265 | + width: 100%; |
3266 | + background-image: url('../images/fancybox-x.png'); |
3267 | + background-position: 0px -20px; |
3268 | +} |
3269 | + |
3270 | +#fancybox-bg-sw { |
3271 | + bottom: -20px; |
3272 | + left: -20px; |
3273 | + background-image: url('../images/fancybox.png'); |
3274 | + background-position: -40px -142px; |
3275 | +} |
3276 | + |
3277 | +#fancybox-bg-w { |
3278 | + top: 0; |
3279 | + left: -20px; |
3280 | + height: 100%; |
3281 | + background-image: url('../images/fancybox-y.png'); |
3282 | +} |
3283 | + |
3284 | +#fancybox-bg-nw { |
3285 | + top: -20px; |
3286 | + left: -20px; |
3287 | + background-image: url('../images/fancybox.png'); |
3288 | + background-position: -40px -122px; |
3289 | +} |
3290 | + |
3291 | +#fancybox-title { |
3292 | + font-family: Helvetica; |
3293 | + font-size: 12px; |
3294 | + z-index: 1102; |
3295 | +} |
3296 | + |
3297 | +.fancybox-title-inside { |
3298 | + padding-bottom: 10px; |
3299 | + text-align: center; |
3300 | + color: #333; |
3301 | + background: #fff; |
3302 | + position: relative; |
3303 | +} |
3304 | + |
3305 | +.fancybox-title-outside { |
3306 | + padding-top: 10px; |
3307 | + color: #fff; |
3308 | +} |
3309 | + |
3310 | +.fancybox-title-over { |
3311 | + position: absolute; |
3312 | + bottom: 0; |
3313 | + left: 0; |
3314 | + color: #FFF; |
3315 | + text-align: left; |
3316 | +} |
3317 | + |
3318 | +#fancybox-title-over { |
3319 | + padding: 10px; |
3320 | + background-image: url('../images/fancy_title_over.png'); |
3321 | + display: block; |
3322 | +} |
3323 | + |
3324 | +.fancybox-title-float { |
3325 | + position: absolute; |
3326 | + left: 0; |
3327 | + bottom: -20px; |
3328 | + height: 32px; |
3329 | +} |
3330 | + |
3331 | +#fancybox-title-float-wrap { |
3332 | + border: none; |
3333 | + border-collapse: collapse; |
3334 | + width: auto; |
3335 | +} |
3336 | + |
3337 | +#fancybox-title-float-wrap td { |
3338 | + white-space: nowrap; |
3339 | +} |
3340 | + |
3341 | +#fancybox-title-float-left { |
3342 | + padding-left: 15px; |
3343 | + background: url('../images/fancybox.png') -40px -90px no-repeat; |
3344 | +} |
3345 | + |
3346 | +#fancybox-title-float-main { |
3347 | + color: #FFF; |
3348 | + line-height: 29px; |
3349 | + font-weight: bold; |
3350 | + padding-bottom: 3px; |
3351 | + background: url('../images/fancybox-x.png') 0px -40px; |
3352 | +} |
3353 | + |
3354 | +#fancybox-title-float-right { |
3355 | + padding-left: 15px; |
3356 | + background: url('../images/fancybox.png') -55px -90px no-repeat; |
3357 | +} |
3358 | + |
3359 | +/* IE6 */ |
3360 | + |
3361 | +.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_close.png', sizingMethod='scale'); } |
3362 | + |
3363 | +.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_nav_left.png', sizingMethod='scale'); } |
3364 | +.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_nav_right.png', sizingMethod='scale'); } |
3365 | + |
3366 | +.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_over.png', sizingMethod='scale'); zoom: 1; } |
3367 | +.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_left.png', sizingMethod='scale'); } |
3368 | +.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_main.png', sizingMethod='scale'); } |
3369 | +.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_right.png', sizingMethod='scale'); } |
3370 | + |
3371 | +.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame { |
3372 | + height: expression(this.parentNode.clientHeight + "px"); |
3373 | +} |
3374 | + |
3375 | +#fancybox-loading.fancybox-ie6 { |
3376 | + position: absolute; margin-top: 0; |
3377 | + top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'); |
3378 | +} |
3379 | + |
3380 | +#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_loading.png', sizingMethod='scale'); } |
3381 | + |
3382 | +/* IE6, IE7, IE8 */ |
3383 | + |
3384 | +.fancybox-ie .fancybox-bg { background: transparent !important; } |
3385 | + |
3386 | +.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_n.png', sizingMethod='scale'); } |
3387 | +.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_ne.png', sizingMethod='scale'); } |
3388 | +.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_e.png', sizingMethod='scale'); } |
3389 | +.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_se.png', sizingMethod='scale'); } |
3390 | +.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_s.png', sizingMethod='scale'); } |
3391 | +.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_sw.png', sizingMethod='scale'); } |
3392 | +.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_w.png', sizingMethod='scale'); } |
3393 | +.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_nw.png', sizingMethod='scale'); } |
3394 | |
3395 | === added file 'themes/gandalf/images/blank.gif' |
3396 | Binary files themes/gandalf/images/blank.gif 1970-01-01 00:00:00 +0000 and themes/gandalf/images/blank.gif 2010-10-25 11:38:45 +0000 differ |
3397 | === added file 'themes/gandalf/images/fancy_close.png' |
3398 | Binary files themes/gandalf/images/fancy_close.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_close.png 2010-10-25 11:38:45 +0000 differ |
3399 | === added file 'themes/gandalf/images/fancy_loading.png' |
3400 | Binary files themes/gandalf/images/fancy_loading.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_loading.png 2010-10-25 11:38:45 +0000 differ |
3401 | === added file 'themes/gandalf/images/fancy_nav_left.png' |
3402 | Binary files themes/gandalf/images/fancy_nav_left.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_nav_left.png 2010-10-25 11:38:45 +0000 differ |
3403 | === added file 'themes/gandalf/images/fancy_nav_right.png' |
3404 | Binary files themes/gandalf/images/fancy_nav_right.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_nav_right.png 2010-10-25 11:38:45 +0000 differ |
3405 | === added file 'themes/gandalf/images/fancy_shadow_e.png' |
3406 | Binary files themes/gandalf/images/fancy_shadow_e.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_e.png 2010-10-25 11:38:45 +0000 differ |
3407 | === added file 'themes/gandalf/images/fancy_shadow_n.png' |
3408 | Binary files themes/gandalf/images/fancy_shadow_n.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_n.png 2010-10-25 11:38:45 +0000 differ |
3409 | === added file 'themes/gandalf/images/fancy_shadow_ne.png' |
3410 | Binary files themes/gandalf/images/fancy_shadow_ne.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_ne.png 2010-10-25 11:38:45 +0000 differ |
3411 | === added file 'themes/gandalf/images/fancy_shadow_nw.png' |
3412 | Binary files themes/gandalf/images/fancy_shadow_nw.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_nw.png 2010-10-25 11:38:45 +0000 differ |
3413 | === added file 'themes/gandalf/images/fancy_shadow_s.png' |
3414 | Binary files themes/gandalf/images/fancy_shadow_s.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_s.png 2010-10-25 11:38:45 +0000 differ |
3415 | === added file 'themes/gandalf/images/fancy_shadow_se.png' |
3416 | Binary files themes/gandalf/images/fancy_shadow_se.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_se.png 2010-10-25 11:38:45 +0000 differ |
3417 | === added file 'themes/gandalf/images/fancy_shadow_sw.png' |
3418 | Binary files themes/gandalf/images/fancy_shadow_sw.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_sw.png 2010-10-25 11:38:45 +0000 differ |
3419 | === added file 'themes/gandalf/images/fancy_shadow_w.png' |
3420 | Binary files themes/gandalf/images/fancy_shadow_w.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_shadow_w.png 2010-10-25 11:38:45 +0000 differ |
3421 | === added file 'themes/gandalf/images/fancy_title_left.png' |
3422 | Binary files themes/gandalf/images/fancy_title_left.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_title_left.png 2010-10-25 11:38:45 +0000 differ |
3423 | === added file 'themes/gandalf/images/fancy_title_main.png' |
3424 | Binary files themes/gandalf/images/fancy_title_main.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_title_main.png 2010-10-25 11:38:45 +0000 differ |
3425 | === added file 'themes/gandalf/images/fancy_title_over.png' |
3426 | Binary files themes/gandalf/images/fancy_title_over.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_title_over.png 2010-10-25 11:38:45 +0000 differ |
3427 | === added file 'themes/gandalf/images/fancy_title_right.png' |
3428 | Binary files themes/gandalf/images/fancy_title_right.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancy_title_right.png 2010-10-25 11:38:45 +0000 differ |
3429 | === added file 'themes/gandalf/images/fancybox-x.png' |
3430 | Binary files themes/gandalf/images/fancybox-x.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancybox-x.png 2010-10-25 11:38:45 +0000 differ |
3431 | === added file 'themes/gandalf/images/fancybox-y.png' |
3432 | Binary files themes/gandalf/images/fancybox-y.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancybox-y.png 2010-10-25 11:38:45 +0000 differ |
3433 | === added file 'themes/gandalf/images/fancybox.png' |
3434 | Binary files themes/gandalf/images/fancybox.png 1970-01-01 00:00:00 +0000 and themes/gandalf/images/fancybox.png 2010-10-25 11:38:45 +0000 differ |
3435 | === modified file 'themes/gandalf/index.tpl' |
3436 | --- themes/gandalf/index.tpl 2010-10-20 07:26:55 +0000 |
3437 | +++ themes/gandalf/index.tpl 2010-10-25 11:38:45 +0000 |
3438 | @@ -6,15 +6,17 @@ |
3439 | <title>{$params.title}</title> |
3440 | |
3441 | <link href="{$planet.url}/themes/{$planet.theme}/css/core.css" rel="stylesheet" type="text/css" /> |
3442 | + <link href="{$planet.url}/themes/{$planet.theme}/css/jquery.fancybox-1.3.2.css" rel="stylesheet" type="text/css" /> |
3443 | <link rel="alternate" type="application/rss+xml" title="RSS" href="{$planet.url}/feed.php?type=rss" /> |
3444 | <link rel="alternate" type="application/atom+xml" title="ATOM" href="{$planet.url}/feed.php?type=atom" /> |
3445 | <link rel="icon" type="image/ico" href="{$planet.url}/themes/{$planet.theme}/favicon.png" /> |
3446 | |
3447 | <script type="text/javascript" src="{$planet.url}/javascript/jquery.js"></script> |
3448 | + <script type="text/javascript" src="{$planet.url}/javascript/jquery.easing-1.3.pack.js" ></script> |
3449 | + <script type="text/javascript" src="{$planet.url}/javascript/jquery.fancybox-1.3.2.pack.js" ></script> |
3450 | |
3451 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/votes.js" ></script> |
3452 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/mobile.js" ></script> |
3453 | - <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/jquery.js" ></script> |
3454 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/smothscroll.js" ></script> |
3455 | |
3456 | </head> |
3457 | |
3458 | === removed file 'themes/gandalf/js/jquery.easing.1.3.js' |
3459 | --- themes/gandalf/js/jquery.easing.1.3.js 2010-10-06 08:46:01 +0000 |
3460 | +++ themes/gandalf/js/jquery.easing.1.3.js 1970-01-01 00:00:00 +0000 |
3461 | @@ -1,205 +0,0 @@ |
3462 | -/* |
3463 | - * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ |
3464 | - * |
3465 | - * Uses the built in easing capabilities added In jQuery 1.1 |
3466 | - * to offer multiple easing options |
3467 | - * |
3468 | - * TERMS OF USE - jQuery Easing |
3469 | - * |
3470 | - * Open source under the BSD License. |
3471 | - * |
3472 | - * Copyright © 2008 George McGinley Smith |
3473 | - * All rights reserved. |
3474 | - * |
3475 | - * Redistribution and use in source and binary forms, with or without modification, |
3476 | - * are permitted provided that the following conditions are met: |
3477 | - * |
3478 | - * Redistributions of source code must retain the above copyright notice, this list of |
3479 | - * conditions and the following disclaimer. |
3480 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
3481 | - * of conditions and the following disclaimer in the documentation and/or other materials |
3482 | - * provided with the distribution. |
3483 | - * |
3484 | - * Neither the name of the author nor the names of contributors may be used to endorse |
3485 | - * or promote products derived from this software without specific prior written permission. |
3486 | - * |
3487 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
3488 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
3489 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
3490 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
3491 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
3492 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
3493 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
3494 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
3495 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
3496 | - * |
3497 | -*/ |
3498 | - |
3499 | -// t: current time, b: begInnIng value, c: change In value, d: duration |
3500 | -jQuery.easing['jswing'] = jQuery.easing['swing']; |
3501 | - |
3502 | -jQuery.extend( jQuery.easing, |
3503 | -{ |
3504 | - def: 'easeOutQuad', |
3505 | - swing: function (x, t, b, c, d) { |
3506 | - //alert(jQuery.easing.default); |
3507 | - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); |
3508 | - }, |
3509 | - easeInQuad: function (x, t, b, c, d) { |
3510 | - return c*(t/=d)*t + b; |
3511 | - }, |
3512 | - easeOutQuad: function (x, t, b, c, d) { |
3513 | - return -c *(t/=d)*(t-2) + b; |
3514 | - }, |
3515 | - easeInOutQuad: function (x, t, b, c, d) { |
3516 | - if ((t/=d/2) < 1) return c/2*t*t + b; |
3517 | - return -c/2 * ((--t)*(t-2) - 1) + b; |
3518 | - }, |
3519 | - easeInCubic: function (x, t, b, c, d) { |
3520 | - return c*(t/=d)*t*t + b; |
3521 | - }, |
3522 | - easeOutCubic: function (x, t, b, c, d) { |
3523 | - return c*((t=t/d-1)*t*t + 1) + b; |
3524 | - }, |
3525 | - easeInOutCubic: function (x, t, b, c, d) { |
3526 | - if ((t/=d/2) < 1) return c/2*t*t*t + b; |
3527 | - return c/2*((t-=2)*t*t + 2) + b; |
3528 | - }, |
3529 | - easeInQuart: function (x, t, b, c, d) { |
3530 | - return c*(t/=d)*t*t*t + b; |
3531 | - }, |
3532 | - easeOutQuart: function (x, t, b, c, d) { |
3533 | - return -c * ((t=t/d-1)*t*t*t - 1) + b; |
3534 | - }, |
3535 | - easeInOutQuart: function (x, t, b, c, d) { |
3536 | - if ((t/=d/2) < 1) return c/2*t*t*t*t + b; |
3537 | - return -c/2 * ((t-=2)*t*t*t - 2) + b; |
3538 | - }, |
3539 | - easeInQuint: function (x, t, b, c, d) { |
3540 | - return c*(t/=d)*t*t*t*t + b; |
3541 | - }, |
3542 | - easeOutQuint: function (x, t, b, c, d) { |
3543 | - return c*((t=t/d-1)*t*t*t*t + 1) + b; |
3544 | - }, |
3545 | - easeInOutQuint: function (x, t, b, c, d) { |
3546 | - if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; |
3547 | - return c/2*((t-=2)*t*t*t*t + 2) + b; |
3548 | - }, |
3549 | - easeInSine: function (x, t, b, c, d) { |
3550 | - return -c * Math.cos(t/d * (Math.PI/2)) + c + b; |
3551 | - }, |
3552 | - easeOutSine: function (x, t, b, c, d) { |
3553 | - return c * Math.sin(t/d * (Math.PI/2)) + b; |
3554 | - }, |
3555 | - easeInOutSine: function (x, t, b, c, d) { |
3556 | - return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; |
3557 | - }, |
3558 | - easeInExpo: function (x, t, b, c, d) { |
3559 | - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; |
3560 | - }, |
3561 | - easeOutExpo: function (x, t, b, c, d) { |
3562 | - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; |
3563 | - }, |
3564 | - easeInOutExpo: function (x, t, b, c, d) { |
3565 | - if (t==0) return b; |
3566 | - if (t==d) return b+c; |
3567 | - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; |
3568 | - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; |
3569 | - }, |
3570 | - easeInCirc: function (x, t, b, c, d) { |
3571 | - return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; |
3572 | - }, |
3573 | - easeOutCirc: function (x, t, b, c, d) { |
3574 | - return c * Math.sqrt(1 - (t=t/d-1)*t) + b; |
3575 | - }, |
3576 | - easeInOutCirc: function (x, t, b, c, d) { |
3577 | - if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; |
3578 | - return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; |
3579 | - }, |
3580 | - easeInElastic: function (x, t, b, c, d) { |
3581 | - var s=1.70158;var p=0;var a=c; |
3582 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
3583 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
3584 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
3585 | - return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
3586 | - }, |
3587 | - easeOutElastic: function (x, t, b, c, d) { |
3588 | - var s=1.70158;var p=0;var a=c; |
3589 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
3590 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
3591 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
3592 | - return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; |
3593 | - }, |
3594 | - easeInOutElastic: function (x, t, b, c, d) { |
3595 | - var s=1.70158;var p=0;var a=c; |
3596 | - if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); |
3597 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
3598 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
3599 | - if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
3600 | - return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; |
3601 | - }, |
3602 | - easeInBack: function (x, t, b, c, d, s) { |
3603 | - if (s == undefined) s = 1.70158; |
3604 | - return c*(t/=d)*t*((s+1)*t - s) + b; |
3605 | - }, |
3606 | - easeOutBack: function (x, t, b, c, d, s) { |
3607 | - if (s == undefined) s = 1.70158; |
3608 | - return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; |
3609 | - }, |
3610 | - easeInOutBack: function (x, t, b, c, d, s) { |
3611 | - if (s == undefined) s = 1.70158; |
3612 | - if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; |
3613 | - return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; |
3614 | - }, |
3615 | - easeInBounce: function (x, t, b, c, d) { |
3616 | - return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; |
3617 | - }, |
3618 | - easeOutBounce: function (x, t, b, c, d) { |
3619 | - if ((t/=d) < (1/2.75)) { |
3620 | - return c*(7.5625*t*t) + b; |
3621 | - } else if (t < (2/2.75)) { |
3622 | - return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; |
3623 | - } else if (t < (2.5/2.75)) { |
3624 | - return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; |
3625 | - } else { |
3626 | - return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; |
3627 | - } |
3628 | - }, |
3629 | - easeInOutBounce: function (x, t, b, c, d) { |
3630 | - if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; |
3631 | - return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; |
3632 | - } |
3633 | -}); |
3634 | - |
3635 | -/* |
3636 | - * |
3637 | - * TERMS OF USE - EASING EQUATIONS |
3638 | - * |
3639 | - * Open source under the BSD License. |
3640 | - * |
3641 | - * Copyright © 2001 Robert Penner |
3642 | - * All rights reserved. |
3643 | - * |
3644 | - * Redistribution and use in source and binary forms, with or without modification, |
3645 | - * are permitted provided that the following conditions are met: |
3646 | - * |
3647 | - * Redistributions of source code must retain the above copyright notice, this list of |
3648 | - * conditions and the following disclaimer. |
3649 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
3650 | - * of conditions and the following disclaimer in the documentation and/or other materials |
3651 | - * provided with the distribution. |
3652 | - * |
3653 | - * Neither the name of the author nor the names of contributors may be used to endorse |
3654 | - * or promote products derived from this software without specific prior written permission. |
3655 | - * |
3656 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
3657 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
3658 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
3659 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
3660 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
3661 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
3662 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
3663 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
3664 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
3665 | - * |
3666 | - */ |
3667 | \ No newline at end of file |
3668 | |
3669 | === removed file 'themes/gandalf/js/jquery.fancybox-1.2.1.js' |
3670 | --- themes/gandalf/js/jquery.fancybox-1.2.1.js 2010-10-06 08:46:01 +0000 |
3671 | +++ themes/gandalf/js/jquery.fancybox-1.2.1.js 1970-01-01 00:00:00 +0000 |
3672 | @@ -1,547 +0,0 @@ |
3673 | -/* |
3674 | - * FancyBox - simple and fancy jQuery plugin |
3675 | - * Examples and documentation at: http://fancy.klade.lv/ |
3676 | - * Version: 1.2.1 (13/03/2009) |
3677 | - * Copyright (c) 2009 Janis Skarnelis |
3678 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
3679 | - * Requires: jQuery v1.3+ |
3680 | -*/ |
3681 | -;(function($) { |
3682 | - |
3683 | - $.fn.fixPNG = function() { |
3684 | - return this.each(function () { |
3685 | - var image = $(this).css('backgroundImage'); |
3686 | - |
3687 | - if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) { |
3688 | - image = RegExp.$1; |
3689 | - $(this).css({ |
3690 | - 'backgroundImage': 'none', |
3691 | - 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')" |
3692 | - }).each(function () { |
3693 | - var position = $(this).css('position'); |
3694 | - if (position != 'absolute' && position != 'relative') |
3695 | - $(this).css('position', 'relative'); |
3696 | - }); |
3697 | - } |
3698 | - }); |
3699 | - }; |
3700 | - |
3701 | - var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; |
3702 | - var isIE = ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 8); |
3703 | - |
3704 | - $.fn.fancybox = function(settings) { |
3705 | - settings = $.extend({}, $.fn.fancybox.defaults, settings); |
3706 | - |
3707 | - var matchedGroup = this; |
3708 | - |
3709 | - function _initialize() { |
3710 | - elem = this; |
3711 | - opts = settings; |
3712 | - |
3713 | - _start(); |
3714 | - |
3715 | - return false; |
3716 | - }; |
3717 | - |
3718 | - function _start() { |
3719 | - if (busy) return; |
3720 | - |
3721 | - if ($.isFunction(opts.callbackOnStart)) { |
3722 | - opts.callbackOnStart(); |
3723 | - } |
3724 | - |
3725 | - opts.itemArray = []; |
3726 | - opts.itemCurrent = 0; |
3727 | - |
3728 | - if (settings.itemArray.length > 0) { |
3729 | - opts.itemArray = settings.itemArray; |
3730 | - |
3731 | - } else { |
3732 | - var item = {}; |
3733 | - |
3734 | - if (!elem.rel || elem.rel == '') { |
3735 | - var item = {href: elem.href, title: elem.title}; |
3736 | - |
3737 | - if ($(elem).children("img:first").length) { |
3738 | - item.orig = $(elem).children("img:first"); |
3739 | - } |
3740 | - |
3741 | - opts.itemArray.push( item ); |
3742 | - |
3743 | - } else { |
3744 | - |
3745 | - var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]"); |
3746 | - |
3747 | - var item = {}; |
3748 | - |
3749 | - for (var i = 0; i < subGroup.length; i++) { |
3750 | - item = {href: subGroup[i].href, title: subGroup[i].title}; |
3751 | - |
3752 | - if ($(subGroup[i]).children("img:first").length) { |
3753 | - item.orig = $(subGroup[i]).children("img:first"); |
3754 | - } |
3755 | - |
3756 | - opts.itemArray.push( item ); |
3757 | - } |
3758 | - |
3759 | - while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) { |
3760 | - opts.itemCurrent++; |
3761 | - } |
3762 | - } |
3763 | - } |
3764 | - |
3765 | - if (opts.overlayShow) { |
3766 | - if (isIE) { |
3767 | - $('embed, object, select').css('visibility', 'hidden'); |
3768 | - } |
3769 | - |
3770 | - $("#fancy_overlay").css('opacity', opts.overlayOpacity).show(); |
3771 | - } |
3772 | - |
3773 | - _change_item(); |
3774 | - }; |
3775 | - |
3776 | - function _change_item() { |
3777 | - $("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide(); |
3778 | - |
3779 | - var href = opts.itemArray[ opts.itemCurrent ].href; |
3780 | - |
3781 | - if (href.match(/#/)) { |
3782 | - var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#')); |
3783 | - |
3784 | - _set_content('<div id="fancy_div">' + $(target).html() + '</div>', opts.frameWidth, opts.frameHeight); |
3785 | - |
3786 | - } else if (href.match(imageRegExp)) { |
3787 | - imagePreloader = new Image; imagePreloader.src = href; |
3788 | - |
3789 | - if (imagePreloader.complete) { |
3790 | - _proceed_image(); |
3791 | - |
3792 | - } else { |
3793 | - $.fn.fancybox.showLoading(); |
3794 | - |
3795 | - $(imagePreloader).unbind().bind('load', function() { |
3796 | - $(".fancy_loading").hide(); |
3797 | - |
3798 | - _proceed_image(); |
3799 | - }); |
3800 | - } |
3801 | - |
3802 | - } else if (href.match("iframe") || elem.className.indexOf("iframe") >= 0) { |
3803 | - _set_content('<iframe id="fancy_frame" onload="$.fn.fancybox.showIframe()" name="fancy_iframe' + Math.round(Math.random()*1000) + '" frameborder="0" hspace="0" src="' + href + '"></iframe>', opts.frameWidth, opts.frameHeight); |
3804 | - |
3805 | - } else { |
3806 | - $.get(href, function(data) { |
3807 | - _set_content( '<div id="fancy_ajax">' + data + '</div>', opts.frameWidth, opts.frameHeight ); |
3808 | - }); |
3809 | - } |
3810 | - }; |
3811 | - |
3812 | - function _proceed_image() { |
3813 | - if (opts.imageScale) { |
3814 | - var w = $.fn.fancybox.getViewport(); |
3815 | - |
3816 | - var r = Math.min(Math.min(w[0] - 36, imagePreloader.width) / imagePreloader.width, Math.min(w[1] - 60, imagePreloader.height) / imagePreloader.height); |
3817 | - |
3818 | - var width = Math.round(r * imagePreloader.width); |
3819 | - var height = Math.round(r * imagePreloader.height); |
3820 | - |
3821 | - } else { |
3822 | - var width = imagePreloader.width; |
3823 | - var height = imagePreloader.height; |
3824 | - } |
3825 | - |
3826 | - _set_content('<img alt="" id="fancy_img" src="' + imagePreloader.src + '" />', width, height); |
3827 | - }; |
3828 | - |
3829 | - function _preload_neighbor_images() { |
3830 | - if ((opts.itemArray.length -1) > opts.itemCurrent) { |
3831 | - var href = opts.itemArray[opts.itemCurrent + 1].href; |
3832 | - |
3833 | - if (href.match(imageRegExp)) { |
3834 | - objNext = new Image(); |
3835 | - objNext.src = href; |
3836 | - } |
3837 | - } |
3838 | - |
3839 | - if (opts.itemCurrent > 0) { |
3840 | - var href = opts.itemArray[opts.itemCurrent -1].href; |
3841 | - |
3842 | - if (href.match(imageRegExp)) { |
3843 | - objNext = new Image(); |
3844 | - objNext.src = href; |
3845 | - } |
3846 | - } |
3847 | - }; |
3848 | - |
3849 | - function _set_content(value, width, height) { |
3850 | - busy = true; |
3851 | - |
3852 | - var pad = opts.padding; |
3853 | - |
3854 | - if (isIE) { |
3855 | - $("#fancy_content")[0].style.removeExpression("height"); |
3856 | - $("#fancy_content")[0].style.removeExpression("width"); |
3857 | - } |
3858 | - |
3859 | - if (pad > 0) { |
3860 | - width += pad * 2; |
3861 | - height += pad * 2; |
3862 | - |
3863 | - $("#fancy_content").css({ |
3864 | - 'top' : pad + 'px', |
3865 | - 'right' : pad + 'px', |
3866 | - 'bottom' : pad + 'px', |
3867 | - 'left' : pad + 'px', |
3868 | - 'width' : 'auto', |
3869 | - 'height' : 'auto' |
3870 | - }); |
3871 | - |
3872 | - if (isIE) { |
3873 | - $("#fancy_content")[0].style.setExpression('height', '(this.parentNode.clientHeight - 20)'); |
3874 | - $("#fancy_content")[0].style.setExpression('width', '(this.parentNode.clientWidth - 20)'); |
3875 | - } |
3876 | - |
3877 | - } else { |
3878 | - $("#fancy_content").css({ |
3879 | - 'top' : 0, |
3880 | - 'right' : 0, |
3881 | - 'bottom' : 0, |
3882 | - 'left' : 0, |
3883 | - 'width' : '100%', |
3884 | - 'height' : '100%' |
3885 | - }); |
3886 | - } |
3887 | - |
3888 | - if ($("#fancy_outer").is(":visible") && width == $("#fancy_outer").width() && height == $("#fancy_outer").height()) { |
3889 | - $("#fancy_content").fadeOut("fast", function() { |
3890 | - $("#fancy_content").empty().append($(value)).fadeIn("normal", function() { |
3891 | - _finish(); |
3892 | - }); |
3893 | - }); |
3894 | - |
3895 | - return; |
3896 | - } |
3897 | - |
3898 | - var w = $.fn.fancybox.getViewport(); |
3899 | - |
3900 | - var itemLeft = (width + 36) > w[0] ? w[2] : (w[2] + Math.round((w[0] - width - 36) / 2)); |
3901 | - var itemTop = (height + 50) > w[1] ? w[3] : (w[3] + Math.round((w[1] - height - 50) / 2)); |
3902 | - |
3903 | - var itemOpts = { |
3904 | - 'left': itemLeft, |
3905 | - 'top': itemTop, |
3906 | - 'width': width + 'px', |
3907 | - 'height': height + 'px' |
3908 | - }; |
3909 | - |
3910 | - if ($("#fancy_outer").is(":visible")) { |
3911 | - $("#fancy_content").fadeOut("normal", function() { |
3912 | - $("#fancy_content").empty(); |
3913 | - $("#fancy_outer").animate(itemOpts, opts.zoomSpeedChange, opts.easingChange, function() { |
3914 | - $("#fancy_content").append($(value)).fadeIn("normal", function() { |
3915 | - _finish(); |
3916 | - }); |
3917 | - }); |
3918 | - }); |
3919 | - |
3920 | - } else { |
3921 | - |
3922 | - if (opts.zoomSpeedIn > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) { |
3923 | - $("#fancy_content").empty().append($(value)); |
3924 | - |
3925 | - var orig_item = opts.itemArray[opts.itemCurrent].orig; |
3926 | - var orig_pos = $.fn.fancybox.getPosition(orig_item); |
3927 | - |
3928 | - $("#fancy_outer").css({ |
3929 | - 'left': (orig_pos.left - 18) + 'px', |
3930 | - 'top': (orig_pos.top - 18) + 'px', |
3931 | - 'width': $(orig_item).width(), |
3932 | - 'height': $(orig_item).height() |
3933 | - }); |
3934 | - |
3935 | - if (opts.zoomOpacity) { |
3936 | - itemOpts.opacity = 'show'; |
3937 | - } |
3938 | - |
3939 | - $("#fancy_outer").animate(itemOpts, opts.zoomSpeedIn, opts.easingIn, function() { |
3940 | - _finish(); |
3941 | - }); |
3942 | - |
3943 | - } else { |
3944 | - |
3945 | - $("#fancy_content").hide().empty().append($(value)).show(); |
3946 | - $("#fancy_outer").css(itemOpts).fadeIn("normal", function() { |
3947 | - _finish(); |
3948 | - }); |
3949 | - } |
3950 | - } |
3951 | - }; |
3952 | - |
3953 | - function _set_navigation() { |
3954 | - if (opts.itemCurrent != 0) { |
3955 | - $("#fancy_left, #fancy_left_ico").unbind().bind("click", function(e) { |
3956 | - e.stopPropagation(); |
3957 | - |
3958 | - opts.itemCurrent--; |
3959 | - _change_item(); |
3960 | - |
3961 | - return false; |
3962 | - }); |
3963 | - |
3964 | - $("#fancy_left").show(); |
3965 | - } |
3966 | - |
3967 | - if (opts.itemCurrent != ( opts.itemArray.length -1)) { |
3968 | - $("#fancy_right, #fancy_right_ico").unbind().bind("click", function(e) { |
3969 | - e.stopPropagation(); |
3970 | - |
3971 | - opts.itemCurrent++; |
3972 | - _change_item(); |
3973 | - |
3974 | - return false; |
3975 | - }); |
3976 | - |
3977 | - $("#fancy_right").show(); |
3978 | - } |
3979 | - }; |
3980 | - |
3981 | - function _finish() { |
3982 | - _set_navigation(); |
3983 | - |
3984 | - _preload_neighbor_images(); |
3985 | - |
3986 | - $(document).keydown(function(e) { |
3987 | - if (e.keyCode == 27) { |
3988 | - $.fn.fancybox.close(); |
3989 | - $(document).unbind("keydown"); |
3990 | - |
3991 | - } else if(e.keyCode == 37 && opts.itemCurrent != 0) { |
3992 | - opts.itemCurrent--; |
3993 | - _change_item(); |
3994 | - $(document).unbind("keydown"); |
3995 | - |
3996 | - } else if(e.keyCode == 39 && opts.itemCurrent != (opts.itemArray.length - 1)) { |
3997 | - opts.itemCurrent++; |
3998 | - _change_item(); |
3999 | - $(document).unbind("keydown"); |
4000 | - } |
4001 | - }); |
4002 | - |
4003 | - if (opts.centerOnScroll) { |
4004 | - $(window).bind("resize scroll", $.fn.fancybox.scrollBox); |
4005 | - } else { |
4006 | - $("div#fancy_outer").css("position", "absolute"); |
4007 | - } |
4008 | - |
4009 | - if (opts.hideOnContentClick) { |
4010 | - $("#fancy_wrap").click($.fn.fancybox.close); |
4011 | - } |
4012 | - |
4013 | - $("#fancy_overlay, #fancy_close").bind("click", $.fn.fancybox.close); |
4014 | - |
4015 | - $("#fancy_close").show(); |
4016 | - |
4017 | - if (opts.itemArray[ opts.itemCurrent ].title !== undefined && opts.itemArray[ opts.itemCurrent ].title.length > 0) { |
4018 | - $('#fancy_title div').html(opts.itemArray[ opts.itemCurrent ].title); |
4019 | - $('#fancy_title').show(); |
4020 | - } |
4021 | - |
4022 | - if (opts.overlayShow && isIE) { |
4023 | - $('embed, object, select', $('#fancy_content')).css('visibility', 'visible'); |
4024 | - } |
4025 | - |
4026 | - if ($.isFunction(opts.callbackOnShow)) { |
4027 | - opts.callbackOnShow(); |
4028 | - } |
4029 | - |
4030 | - busy = false; |
4031 | - }; |
4032 | - |
4033 | - return this.unbind('click').click(_initialize); |
4034 | - }; |
4035 | - |
4036 | - $.fn.fancybox.scrollBox = function() { |
4037 | - var pos = $.fn.fancybox.getViewport(); |
4038 | - |
4039 | - $("#fancy_outer").css('left', (($("#fancy_outer").width() + 36) > pos[0] ? pos[2] : pos[2] + Math.round((pos[0] - $("#fancy_outer").width() - 36) / 2))); |
4040 | - $("#fancy_outer").css('top', (($("#fancy_outer").height() + 50) > pos[1] ? pos[3] : pos[3] + Math.round((pos[1] - $("#fancy_outer").height() - 50) / 2))); |
4041 | - }; |
4042 | - |
4043 | - $.fn.fancybox.getNumeric = function(el, prop) { |
4044 | - return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0; |
4045 | - }; |
4046 | - |
4047 | - $.fn.fancybox.getPosition = function(el) { |
4048 | - var pos = el.offset(); |
4049 | - |
4050 | - pos.top += $.fn.fancybox.getNumeric(el, 'paddingTop'); |
4051 | - pos.top += $.fn.fancybox.getNumeric(el, 'borderTopWidth'); |
4052 | - |
4053 | - pos.left += $.fn.fancybox.getNumeric(el, 'paddingLeft'); |
4054 | - pos.left += $.fn.fancybox.getNumeric(el, 'borderLeftWidth'); |
4055 | - |
4056 | - return pos; |
4057 | - }; |
4058 | - |
4059 | - $.fn.fancybox.showIframe = function() { |
4060 | - $(".fancy_loading").hide(); |
4061 | - $("#fancy_frame").show(); |
4062 | - }; |
4063 | - |
4064 | - $.fn.fancybox.getViewport = function() { |
4065 | - return [$(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ]; |
4066 | - }; |
4067 | - |
4068 | - $.fn.fancybox.animateLoading = function() { |
4069 | - if (!$("#fancy_loading").is(':visible')){ |
4070 | - clearInterval(loadingTimer); |
4071 | - return; |
4072 | - } |
4073 | - |
4074 | - $("#fancy_loading > div").css('top', (loadingFrame * -40) + 'px'); |
4075 | - |
4076 | - loadingFrame = (loadingFrame + 1) % 12; |
4077 | - }; |
4078 | - |
4079 | - $.fn.fancybox.showLoading = function() { |
4080 | - clearInterval(loadingTimer); |
4081 | - |
4082 | - var pos = $.fn.fancybox.getViewport(); |
4083 | - |
4084 | - $("#fancy_loading").css({'left': ((pos[0] - 40) / 2 + pos[2]), 'top': ((pos[1] - 40) / 2 + pos[3])}).show(); |
4085 | - $("#fancy_loading").bind('click', $.fn.fancybox.close); |
4086 | - |
4087 | - loadingTimer = setInterval($.fn.fancybox.animateLoading, 66); |
4088 | - }; |
4089 | - |
4090 | - $.fn.fancybox.close = function() { |
4091 | - busy = true; |
4092 | - |
4093 | - $(imagePreloader).unbind(); |
4094 | - |
4095 | - $("#fancy_overlay, #fancy_close").unbind(); |
4096 | - |
4097 | - if (opts.hideOnContentClick) { |
4098 | - $("#fancy_wrap").unbind(); |
4099 | - } |
4100 | - |
4101 | - $("#fancy_close, .fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide(); |
4102 | - |
4103 | - if (opts.centerOnScroll) { |
4104 | - $(window).unbind("resize scroll"); |
4105 | - } |
4106 | - |
4107 | - __cleanup = function() { |
4108 | - $("#fancy_overlay, #fancy_outer").hide(); |
4109 | - |
4110 | - if (opts.centerOnScroll) { |
4111 | - $(window).unbind("resize scroll"); |
4112 | - } |
4113 | - |
4114 | - if (isIE) { |
4115 | - $('embed, object, select').css('visibility', 'visible'); |
4116 | - } |
4117 | - |
4118 | - if ($.isFunction(opts.callbackOnClose)) { |
4119 | - opts.callbackOnClose(); |
4120 | - } |
4121 | - |
4122 | - busy = false; |
4123 | - }; |
4124 | - |
4125 | - if ($("#fancy_outer").is(":visible") !== false) { |
4126 | - if (opts.zoomSpeedOut > 0 && opts.itemArray[opts.itemCurrent].orig !== undefined) { |
4127 | - var orig_item = opts.itemArray[opts.itemCurrent].orig; |
4128 | - var orig_pos = $.fn.fancybox.getPosition(orig_item); |
4129 | - |
4130 | - var itemOpts = { |
4131 | - 'left': (orig_pos.left - 18) + 'px', |
4132 | - 'top': (orig_pos.top - 18) + 'px', |
4133 | - 'width': $(orig_item).width(), |
4134 | - 'height': $(orig_item).height() |
4135 | - }; |
4136 | - |
4137 | - if (opts.zoomOpacity) { |
4138 | - itemOpts.opacity = 'hide'; |
4139 | - } |
4140 | - |
4141 | - $("#fancy_outer").stop(false, true).animate(itemOpts, opts.zoomSpeedOut, opts.easingOut, __cleanup); |
4142 | - |
4143 | - } else { |
4144 | - $("#fancy_outer").stop(false, true).fadeOut("fast", __cleanup); |
4145 | - } |
4146 | - |
4147 | - } else { |
4148 | - __cleanup(); |
4149 | - } |
4150 | - |
4151 | - return false; |
4152 | - }; |
4153 | - |
4154 | - $.fn.fancybox.build = function() { |
4155 | - var html = ''; |
4156 | - |
4157 | - html += '<div id="fancy_overlay"></div>'; |
4158 | - |
4159 | - html += '<div id="fancy_wrap">'; |
4160 | - |
4161 | - html += '<div class="fancy_loading" id="fancy_loading"><div></div></div>'; |
4162 | - |
4163 | - html += '<div id="fancy_outer">'; |
4164 | - |
4165 | - html += '<div id="fancy_inner">'; |
4166 | - |
4167 | - html += '<div id="fancy_close"></div>'; |
4168 | - |
4169 | - html += '<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div>'; |
4170 | - |
4171 | - html += '<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a>'; |
4172 | - |
4173 | - html += '<div id="fancy_content"></div>'; |
4174 | - |
4175 | - html += '<div id="fancy_title"></div>'; |
4176 | - |
4177 | - html += '</div>'; |
4178 | - |
4179 | - html += '</div>'; |
4180 | - |
4181 | - html += '</div>'; |
4182 | - |
4183 | - $(html).appendTo("body"); |
4184 | - |
4185 | - $('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title'); |
4186 | - |
4187 | - if (isIE) { |
4188 | - $("#fancy_inner").prepend('<iframe class="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>'); |
4189 | - $("#fancy_close, .fancy_bg, .fancy_title, .fancy_ico").fixPNG(); |
4190 | - } |
4191 | - }; |
4192 | - |
4193 | - $.fn.fancybox.defaults = { |
4194 | - padding : 10, |
4195 | - imageScale : true, |
4196 | - zoomOpacity : false, |
4197 | - zoomSpeedIn : 0, |
4198 | - zoomSpeedOut : 0, |
4199 | - zoomSpeedChange : 300, |
4200 | - easingIn : 'swing', |
4201 | - easingOut : 'swing', |
4202 | - easingChange : 'swing', |
4203 | - frameWidth : 425, |
4204 | - frameHeight : 355, |
4205 | - overlayShow : true, |
4206 | - overlayOpacity : 0.3, |
4207 | - hideOnContentClick : true, |
4208 | - centerOnScroll : true, |
4209 | - itemArray : [], |
4210 | - callbackOnStart : null, |
4211 | - callbackOnShow : null, |
4212 | - callbackOnClose : null |
4213 | - }; |
4214 | - |
4215 | - $(document).ready(function() { |
4216 | - $.fn.fancybox.build(); |
4217 | - }); |
4218 | - |
4219 | -})(jQuery); |
4220 | \ No newline at end of file |
4221 | |
4222 | === removed file 'themes/gandalf/js/jquery.fancybox-1.2.1.pack.js' |
4223 | --- themes/gandalf/js/jquery.fancybox-1.2.1.pack.js 2010-10-06 08:46:01 +0000 |
4224 | +++ themes/gandalf/js/jquery.fancybox-1.2.1.pack.js 1970-01-01 00:00:00 +0000 |
4225 | @@ -1,9 +0,0 @@ |
4226 | -/* |
4227 | - * FancyBox - simple and fancy jQuery plugin |
4228 | - * Examples and documentation at: http://fancy.klade.lv/ |
4229 | - * Version: 1.2.1 (13/03/2009) |
4230 | - * Copyright (c) 2009 Janis Skarnelis |
4231 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
4232 | - * Requires: jQuery v1.3+ |
4233 | -*/ |
4234 | -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(7($){$.b.2Q=7(){u B.2t(7(){9 1J=$(B).n(\'2Z\');5(1J.1c(/^3w\\(["\']?(.*\\.2p)["\']?\\)$/i)){1J=3t.$1;$(B).n({\'2Z\':\'45\',\'2o\':"3W:3R.4m.4d(3h=F, 3T="+($(B).n(\'41\')==\'2J-3Z\'?\'4c\':\'3N\')+", Q=\'"+1J+"\')"}).2t(7(){9 1b=$(B).n(\'1b\');5(1b!=\'2e\'&&1b!=\'2n\')$(B).n(\'1b\',\'2n\')})}})};9 A,4,16=D,s=1t 1o,1w,1v=1,1y=/\\.(3A|3Y|2p|3c|3d)(.*)?$/i;9 P=($.2q.3K&&2f($.2q.3z.2k(0,1))<8);$.b.c=7(Y){Y=$.3x({},$.b.c.2R,Y);9 2s=B;7 2h(){A=B;4=Y;2r();u D};7 2r(){5(16)u;5($.1O(4.2c)){4.2c()}4.j=[];4.h=0;5(Y.j.N>0){4.j=Y.j}t{9 O={};5(!A.1H||A.1H==\'\'){9 O={d:A.d,X:A.X};5($(A).1G("1m:1D").N){O.1a=$(A).1G("1m:1D")}4.j.2j(O)}t{9 Z=$(2s).2o("a[1H="+A.1H+"]");9 O={};3C(9 i=0;i<Z.N;i++){O={d:Z[i].d,X:Z[i].X};5($(Z[i]).1G("1m:1D").N){O.1a=$(Z[i]).1G("1m:1D")}4.j.2j(O)}3F(4.j[4.h].d!=A.d){4.h++}}}5(4.23){5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'3s\')}$("#1i").n(\'25\',4.2U).J()}1d()};7 1d(){$("#1f, #1e, #V, #G").S();9 d=4.j[4.h].d;5(d.1c(/#/)){9 U=11.3r.d.3f(\'#\')[0];U=d.3g(U,\'\');U=U.2k(U.2l(\'#\'));1k(\'<6 l="3e">\'+$(U).o()+\'</6>\',4.1I,4.1x)}t 5(d.1c(1y)){s=1t 1o;s.Q=d;5(s.3a){1K()}t{$.b.c.34();$(s).x().14(\'3b\',7(){$(".I").S();1K()})}}t 5(d.1c("17")||A.3j.2l("17")>=0){1k(\'<17 l="35" 3q="$.b.c.38()" 3o="3n\'+C.T(C.3l()*3m)+\'" 2K="0" 3E="0" Q="\'+d+\'"></17>\',4.1I,4.1x)}t{$.4p(d,7(2m){1k(\'<6 l="3L">\'+2m+\'</6>\',4.1I,4.1x)})}};7 1K(){5(4.30){9 w=$.b.c.1n();9 r=C.1M(C.1M(w[0]-36,s.g)/s.g,C.1M(w[1]-4b,s.f)/s.f);9 g=C.T(r*s.g);9 f=C.T(r*s.f)}t{9 g=s.g;9 f=s.f}1k(\'<1m 48="" l="49" Q="\'+s.Q+\'" />\',g,f)};7 2F(){5((4.j.N-1)>4.h){9 d=4.j[4.h+1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}5(4.h>0){9 d=4.j[4.h-1].d;5(d.1c(1y)){1A=1t 1o();1A.Q=d}}};7 1k(1j,g,f){16=F;9 L=4.2Y;5(P){$("#q")[0].1E.2u("f");$("#q")[0].1E.2u("g")}5(L>0){g+=L*2;f+=L*2;$("#q").n({\'v\':L+\'z\',\'2E\':L+\'z\',\'2i\':L+\'z\',\'y\':L+\'z\',\'g\':\'2B\',\'f\':\'2B\'});5(P){$("#q")[0].1E.2C(\'f\',\'(B.2D.4j - 20)\');$("#q")[0].1E.2C(\'g\',\'(B.2D.3S - 20)\')}}t{$("#q").n({\'v\':0,\'2E\':0,\'2i\':0,\'y\':0,\'g\':\'2z%\',\'f\':\'2z%\'})}5($("#k").1u(":19")&&g==$("#k").g()&&f==$("#k").f()){$("#q").1Z("2N",7(){$("#q").1C().1F($(1j)).21("1s",7(){1g()})});u}9 w=$.b.c.1n();9 2v=(g+36)>w[0]?w[2]:(w[2]+C.T((w[0]-g-36)/2));9 2w=(f+1z)>w[1]?w[3]:(w[3]+C.T((w[1]-f-1z)/2));9 K={\'y\':2v,\'v\':2w,\'g\':g+\'z\',\'f\':f+\'z\'};5($("#k").1u(":19")){$("#q").1Z("1s",7(){$("#q").1C();$("#k").24(K,4.2X,4.2T,7(){$("#q").1F($(1j)).21("1s",7(){1g()})})})}t{5(4.1W>0&&4.j[4.h].1a!==1L){$("#q").1C().1F($(1j));9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);$("#k").n({\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()});5(4.1X){K.25=\'J\'}$("#k").24(K,4.1W,4.2W,7(){1g()})}t{$("#q").S().1C().1F($(1j)).J();$("#k").n(K).21("1s",7(){1g()})}}};7 2y(){5(4.h!=0){$("#1e, #2O").x().14("R",7(e){e.2x();4.h--;1d();u D});$("#1e").J()}5(4.h!=(4.j.N-1)){$("#1f, #2M").x().14("R",7(e){e.2x();4.h++;1d();u D});$("#1f").J()}};7 1g(){2y();2F();$(W).1B(7(e){5(e.29==27){$.b.c.1l();$(W).x("1B")}t 5(e.29==37&&4.h!=0){4.h--;1d();$(W).x("1B")}t 5(e.29==39&&4.h!=(4.j.N-1)){4.h++;1d();$(W).x("1B")}});5(4.1r){$(11).14("1N 1T",$.b.c.2g)}t{$("6#k").n("1b","2e")}5(4.2b){$("#22").R($.b.c.1l)}$("#1i, #V").14("R",$.b.c.1l);$("#V").J();5(4.j[4.h].X!==1L&&4.j[4.h].X.N>0){$(\'#G 6\').o(4.j[4.h].X);$(\'#G\').J()}5(4.23&&P){$(\'1U, 1Q, 1P\',$(\'#q\')).n(\'1S\',\'19\')}5($.1O(4.2a)){4.2a()}16=D};u B.x(\'R\').R(2h)};$.b.c.2g=7(){9 m=$.b.c.1n();$("#k").n(\'y\',(($("#k").g()+36)>m[0]?m[2]:m[2]+C.T((m[0]-$("#k").g()-36)/2)));$("#k").n(\'v\',(($("#k").f()+1z)>m[1]?m[3]:m[3]+C.T((m[1]-$("#k").f()-1z)/2)))};$.b.c.1h=7(H,2A){u 2f($.3I(H.3u?H[0]:H,2A,F))||0};$.b.c.1R=7(H){9 m=H.4g();m.v+=$.b.c.1h(H,\'3k\');m.v+=$.b.c.1h(H,\'3J\');m.y+=$.b.c.1h(H,\'3H\');m.y+=$.b.c.1h(H,\'3D\');u m};$.b.c.38=7(){$(".I").S();$("#35").J()};$.b.c.1n=7(){u[$(11).g(),$(11).f(),$(W).3i(),$(W).3p()]};$.b.c.2G=7(){5(!$("#I").1u(\':19\')){33(1w);u}$("#I > 6").n(\'v\',(1v*-40)+\'z\');1v=(1v+1)%12};$.b.c.34=7(){33(1w);9 m=$.b.c.1n();$("#I").n({\'y\':((m[0]-40)/2+m[2]),\'v\':((m[1]-40)/2+m[3])}).J();$("#I").14(\'R\',$.b.c.1l);1w=3Q($.b.c.2G,3X)};$.b.c.1l=7(){16=F;$(s).x();$("#1i, #V").x();5(4.2b){$("#22").x()}$("#V, .I, #1e, #1f, #G").S();5(4.1r){$(11).x("1N 1T")}1q=7(){$("#1i, #k").S();5(4.1r){$(11).x("1N 1T")}5(P){$(\'1U, 1Q, 1P\').n(\'1S\',\'19\')}5($.1O(4.1V)){4.1V()}16=D};5($("#k").1u(":19")!==D){5(4.26>0&&4.j[4.h].1a!==1L){9 M=4.j[4.h].1a;9 15=$.b.c.1R(M);9 K={\'y\':(15.y-18)+\'z\',\'v\':(15.v-18)+\'z\',\'g\':$(M).g(),\'f\':$(M).f()};5(4.1X){K.25=\'S\'}$("#k").31(D,F).24(K,4.26,4.2S,1q)}t{$("#k").31(D,F).1Z("2N",1q)}}t{1q()}u D};$.b.c.2V=7(){9 o=\'\';o+=\'<6 l="1i"></6>\';o+=\'<6 l="22">\';o+=\'<6 p="I" l="I"><6></6></6>\';o+=\'<6 l="k">\';o+=\'<6 l="2I">\';o+=\'<6 l="V"></6>\';o+=\'<6 l="E"><6 p="E 44"></6><6 p="E 43"></6><6 p="E 42"></6><6 p="E 3V"></6><6 p="E 3U"></6><6 p="E 3O"></6><6 p="E 3M"></6><6 p="E 3P"></6></6>\';o+=\'<a d="2P:;" l="1e"><1p p="1Y" l="2O"></1p></a><a d="2P:;" l="1f"><1p p="1Y" l="2M"></1p></a>\';o+=\'<6 l="q"></6>\';o+=\'<6 l="G"></6>\';o+=\'</6>\';o+=\'</6>\';o+=\'</6>\';$(o).2H("46");$(\'<32 4i="0" 4h="0" 4k="0"><2L><13 p="G" l="4l"></13><13 p="G" l="4o"><6></6></13><13 p="G" l="4n"></13></2L></32>\').2H(\'#G\');5(P){$("#2I").47(\'<17 p="4a" 4e="2J" 2K="0"></17>\');$("#V, .E, .G, .1Y").2Q()}};$.b.c.2R={2Y:10,30:F,1X:D,1W:0,26:0,2X:3G,2W:\'28\',2S:\'28\',2T:\'28\',1I:3B,1x:3v,23:F,2U:0.3,2b:F,1r:F,j:[],2c:2d,2a:2d,1V:2d};$(W).3y(7(){$.b.c.2V()})})(4f);',62,274,'||||opts|if|div|function||var||fn|fancybox|href||height|width|itemCurrent||itemArray|fancy_outer|id|pos|css|html|class|fancy_content||imagePreloader|else|return|top||unbind|left|px|elem|this|Math|false|fancy_bg|true|fancy_title|el|fancy_loading|show|itemOpts|pad|orig_item|length|item|isIE|src|click|hide|round|target|fancy_close|document|title|settings|subGroup||window||td|bind|orig_pos|busy|iframe||visible|orig|position|match|_change_item|fancy_left|fancy_right|_finish|getNumeric|fancy_overlay|value|_set_content|close|img|getViewport|Image|span|__cleanup|centerOnScroll|normal|new|is|loadingFrame|loadingTimer|frameHeight|imageRegExp|50|objNext|keydown|empty|first|style|append|children|rel|frameWidth|image|_proceed_image|undefined|min|resize|isFunction|select|object|getPosition|visibility|scroll|embed|callbackOnClose|zoomSpeedIn|zoomOpacity|fancy_ico|fadeOut||fadeIn|fancy_wrap|overlayShow|animate|opacity|zoomSpeedOut||swing|keyCode|callbackOnShow|hideOnContentClick|callbackOnStart|null|absolute|parseInt|scrollBox|_initialize|bottom|push|substr|indexOf|data|relative|filter|png|browser|_start|matchedGroup|each|removeExpression|itemLeft|itemTop|stopPropagation|_set_navigation|100|prop|auto|setExpression|parentNode|right|_preload_neighbor_images|animateLoading|appendTo|fancy_inner|no|frameborder|tr|fancy_right_ico|fast|fancy_left_ico|javascript|fixPNG|defaults|easingOut|easingChange|overlayOpacity|build|easingIn|zoomSpeedChange|padding|backgroundImage|imageScale|stop|table|clearInterval|showLoading|fancy_frame|||showIframe||complete|load|bmp|jpeg|fancy_div|split|replace|enabled|scrollLeft|className|paddingTop|random|1000|fancy_iframe|name|scrollTop|onload|location|hidden|RegExp|jquery|355|url|extend|ready|version|jpg|425|for|borderLeftWidth|hspace|while|300|paddingLeft|curCSS|borderTopWidth|msie|fancy_ajax|fancy_bg_w|scale|fancy_bg_sw|fancy_bg_nw|setInterval|DXImageTransform|clientWidth|sizingMethod|fancy_bg_s|fancy_bg_se|progid|66|gif|repeat||backgroundRepeat|fancy_bg_e|fancy_bg_ne|fancy_bg_n|none|body|prepend|alt|fancy_img|fancy_bigIframe|60|crop|AlphaImageLoader|scrolling|jQuery|offset|cellpadding|cellspacing|clientHeight|border|fancy_title_left|Microsoft|fancy_title_right|fancy_title_main|get'.split('|'),0,{})) |
4235 | |
4236 | === added file 'themes/gil-galad/css/jquery.fancybox-1.3.2.css' |
4237 | --- themes/gil-galad/css/jquery.fancybox-1.3.2.css 1970-01-01 00:00:00 +0000 |
4238 | +++ themes/gil-galad/css/jquery.fancybox-1.3.2.css 2010-10-25 11:38:45 +0000 |
4239 | @@ -0,0 +1,359 @@ |
4240 | +/* |
4241 | + * FancyBox - jQuery Plugin |
4242 | + * Simple and fancy lightbox alternative |
4243 | + * |
4244 | + * Examples and documentation at: http://fancybox.net |
4245 | + * |
4246 | + * Copyright (c) 2008 - 2010 Janis Skarnelis |
4247 | + * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. |
4248 | + * |
4249 | + * Version: 1.3.2 (20/10/2010) |
4250 | + * Requires: jQuery v1.3+ |
4251 | + * |
4252 | + * Dual licensed under the MIT and GPL licenses: |
4253 | + * http://www.opensource.org/licenses/mit-license.php |
4254 | + * http://www.gnu.org/licenses/gpl.html |
4255 | + */ |
4256 | + |
4257 | +#fancybox-loading { |
4258 | + position: fixed; |
4259 | + top: 50%; |
4260 | + left: 50%; |
4261 | + width: 40px; |
4262 | + height: 40px; |
4263 | + margin-top: -20px; |
4264 | + margin-left: -20px; |
4265 | + cursor: pointer; |
4266 | + overflow: hidden; |
4267 | + z-index: 1104; |
4268 | + display: none; |
4269 | +} |
4270 | + |
4271 | +#fancybox-loading div { |
4272 | + position: absolute; |
4273 | + top: 0; |
4274 | + left: 0; |
4275 | + width: 40px; |
4276 | + height: 480px; |
4277 | + background-image: url('../images/fancybox.png'); |
4278 | +} |
4279 | + |
4280 | +#fancybox-overlay { |
4281 | + position: absolute; |
4282 | + top: 0; |
4283 | + left: 0; |
4284 | + width: 100%; |
4285 | + height: 100%; |
4286 | + z-index: 1100; |
4287 | + display: none; |
4288 | +} |
4289 | + |
4290 | +#fancybox-tmp { |
4291 | + padding: 0; |
4292 | + margin: 0; |
4293 | + border: 0; |
4294 | + overflow: auto; |
4295 | + display: none; |
4296 | +} |
4297 | + |
4298 | +#fancybox-wrap { |
4299 | + position: absolute; |
4300 | + top: 0; |
4301 | + left: 0; |
4302 | + padding: 20px; |
4303 | + z-index: 1101; |
4304 | + outline: none; |
4305 | + display: none; |
4306 | +} |
4307 | + |
4308 | +#fancybox-outer { |
4309 | + position: relative; |
4310 | + width: 100%; |
4311 | + height: 100%; |
4312 | + background: #fff; |
4313 | +} |
4314 | + |
4315 | +#fancybox-content { |
4316 | + width: 0; |
4317 | + height: 0; |
4318 | + padding: 0; |
4319 | + outline: none; |
4320 | + position: relative; |
4321 | + overflow: hidden; |
4322 | + z-index: 1102; |
4323 | + border: 0px solid #fff; |
4324 | +} |
4325 | + |
4326 | +#fancybox-hide-sel-frame { |
4327 | + position: absolute; |
4328 | + top: 0; |
4329 | + left: 0; |
4330 | + width: 100%; |
4331 | + height: 100%; |
4332 | + background: transparent; |
4333 | + z-index: 1101; |
4334 | +} |
4335 | + |
4336 | +#fancybox-close { |
4337 | + position: absolute; |
4338 | + top: -15px; |
4339 | + right: -15px; |
4340 | + width: 30px; |
4341 | + height: 30px; |
4342 | + background: transparent url('../images/fancybox.png') -40px 0px; |
4343 | + cursor: pointer; |
4344 | + z-index: 1103; |
4345 | + display: none; |
4346 | +} |
4347 | + |
4348 | +#fancybox-error { |
4349 | + color: #444; |
4350 | + font: normal 12px/20px Arial; |
4351 | + padding: 14px; |
4352 | + margin: 0; |
4353 | +} |
4354 | + |
4355 | +#fancybox-img { |
4356 | + width: 100%; |
4357 | + height: 100%; |
4358 | + padding: 0; |
4359 | + margin: 0; |
4360 | + border: none; |
4361 | + outline: none; |
4362 | + line-height: 0; |
4363 | + vertical-align: top; |
4364 | +} |
4365 | + |
4366 | +#fancybox-frame { |
4367 | + width: 100%; |
4368 | + height: 100%; |
4369 | + border: none; |
4370 | + display: block; |
4371 | +} |
4372 | + |
4373 | +#fancybox-left, #fancybox-right { |
4374 | + position: absolute; |
4375 | + bottom: 0px; |
4376 | + height: 100%; |
4377 | + width: 35%; |
4378 | + cursor: pointer; |
4379 | + outline: none; |
4380 | + background: transparent url('blank.gif'); |
4381 | + z-index: 1102; |
4382 | + display: none; |
4383 | +} |
4384 | + |
4385 | +#fancybox-left { |
4386 | + left: 0px; |
4387 | +} |
4388 | + |
4389 | +#fancybox-right { |
4390 | + right: 0px; |
4391 | +} |
4392 | + |
4393 | +#fancybox-left-ico, #fancybox-right-ico { |
4394 | + position: absolute; |
4395 | + top: 50%; |
4396 | + left: -9999px; |
4397 | + width: 30px; |
4398 | + height: 30px; |
4399 | + margin-top: -15px; |
4400 | + cursor: pointer; |
4401 | + z-index: 1102; |
4402 | + display: block; |
4403 | +} |
4404 | + |
4405 | +#fancybox-left-ico { |
4406 | + background-image: url('../images/fancybox.png'); |
4407 | + background-position: -40px -30px; |
4408 | +} |
4409 | + |
4410 | +#fancybox-right-ico { |
4411 | + background-image: url('../images/fancybox.png'); |
4412 | + background-position: -40px -60px; |
4413 | +} |
4414 | + |
4415 | +#fancybox-left:hover, #fancybox-right:hover { |
4416 | + visibility: visible; /* IE6 */ |
4417 | +} |
4418 | + |
4419 | +#fancybox-left:hover span { |
4420 | + left: 20px; |
4421 | +} |
4422 | + |
4423 | +#fancybox-right:hover span { |
4424 | + left: auto; |
4425 | + right: 20px; |
4426 | +} |
4427 | + |
4428 | +.fancybox-bg { |
4429 | + position: absolute; |
4430 | + padding: 0; |
4431 | + margin: 0; |
4432 | + border: 0; |
4433 | + width: 20px; |
4434 | + height: 20px; |
4435 | + z-index: 1001; |
4436 | +} |
4437 | + |
4438 | +#fancybox-bg-n { |
4439 | + top: -20px; |
4440 | + left: 0; |
4441 | + width: 100%; |
4442 | + background-image: url('../images/fancybox-x.png'); |
4443 | +} |
4444 | + |
4445 | +#fancybox-bg-ne { |
4446 | + top: -20px; |
4447 | + right: -20px; |
4448 | + background-image: url('../images/fancybox.png'); |
4449 | + background-position: -40px -162px; |
4450 | +} |
4451 | + |
4452 | +#fancybox-bg-e { |
4453 | + top: 0; |
4454 | + right: -20px; |
4455 | + height: 100%; |
4456 | + background-image: url('../images/fancybox-y.png'); |
4457 | + background-position: -20px 0px; |
4458 | +} |
4459 | + |
4460 | +#fancybox-bg-se { |
4461 | + bottom: -20px; |
4462 | + right: -20px; |
4463 | + background-image: url('../images/fancybox.png'); |
4464 | + background-position: -40px -182px; |
4465 | +} |
4466 | + |
4467 | +#fancybox-bg-s { |
4468 | + bottom: -20px; |
4469 | + left: 0; |
4470 | + width: 100%; |
4471 | + background-image: url('../images/fancybox-x.png'); |
4472 | + background-position: 0px -20px; |
4473 | +} |
4474 | + |
4475 | +#fancybox-bg-sw { |
4476 | + bottom: -20px; |
4477 | + left: -20px; |
4478 | + background-image: url('../images/fancybox.png'); |
4479 | + background-position: -40px -142px; |
4480 | +} |
4481 | + |
4482 | +#fancybox-bg-w { |
4483 | + top: 0; |
4484 | + left: -20px; |
4485 | + height: 100%; |
4486 | + background-image: url('../images/fancybox-y.png'); |
4487 | +} |
4488 | + |
4489 | +#fancybox-bg-nw { |
4490 | + top: -20px; |
4491 | + left: -20px; |
4492 | + background-image: url('../images/fancybox.png'); |
4493 | + background-position: -40px -122px; |
4494 | +} |
4495 | + |
4496 | +#fancybox-title { |
4497 | + font-family: Helvetica; |
4498 | + font-size: 12px; |
4499 | + z-index: 1102; |
4500 | +} |
4501 | + |
4502 | +.fancybox-title-inside { |
4503 | + padding-bottom: 10px; |
4504 | + text-align: center; |
4505 | + color: #333; |
4506 | + background: #fff; |
4507 | + position: relative; |
4508 | +} |
4509 | + |
4510 | +.fancybox-title-outside { |
4511 | + padding-top: 10px; |
4512 | + color: #fff; |
4513 | +} |
4514 | + |
4515 | +.fancybox-title-over { |
4516 | + position: absolute; |
4517 | + bottom: 0; |
4518 | + left: 0; |
4519 | + color: #FFF; |
4520 | + text-align: left; |
4521 | +} |
4522 | + |
4523 | +#fancybox-title-over { |
4524 | + padding: 10px; |
4525 | + background-image: url('../images/fancy_title_over.png'); |
4526 | + display: block; |
4527 | +} |
4528 | + |
4529 | +.fancybox-title-float { |
4530 | + position: absolute; |
4531 | + left: 0; |
4532 | + bottom: -20px; |
4533 | + height: 32px; |
4534 | +} |
4535 | + |
4536 | +#fancybox-title-float-wrap { |
4537 | + border: none; |
4538 | + border-collapse: collapse; |
4539 | + width: auto; |
4540 | +} |
4541 | + |
4542 | +#fancybox-title-float-wrap td { |
4543 | + white-space: nowrap; |
4544 | +} |
4545 | + |
4546 | +#fancybox-title-float-left { |
4547 | + padding-left: 15px; |
4548 | + background: url('../images/fancybox.png') -40px -90px no-repeat; |
4549 | +} |
4550 | + |
4551 | +#fancybox-title-float-main { |
4552 | + color: #FFF; |
4553 | + line-height: 29px; |
4554 | + font-weight: bold; |
4555 | + padding-bottom: 3px; |
4556 | + background: url('../images/fancybox-x.png') 0px -40px; |
4557 | +} |
4558 | + |
4559 | +#fancybox-title-float-right { |
4560 | + padding-left: 15px; |
4561 | + background: url('../images/fancybox.png') -55px -90px no-repeat; |
4562 | +} |
4563 | + |
4564 | +/* IE6 */ |
4565 | + |
4566 | +.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_close.png', sizingMethod='scale'); } |
4567 | + |
4568 | +.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_nav_left.png', sizingMethod='scale'); } |
4569 | +.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_nav_right.png', sizingMethod='scale'); } |
4570 | + |
4571 | +.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_over.png', sizingMethod='scale'); zoom: 1; } |
4572 | +.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_left.png', sizingMethod='scale'); } |
4573 | +.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_main.png', sizingMethod='scale'); } |
4574 | +.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_title_right.png', sizingMethod='scale'); } |
4575 | + |
4576 | +.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame { |
4577 | + height: expression(this.parentNode.clientHeight + "px"); |
4578 | +} |
4579 | + |
4580 | +#fancybox-loading.fancybox-ie6 { |
4581 | + position: absolute; margin-top: 0; |
4582 | + top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'); |
4583 | +} |
4584 | + |
4585 | +#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_loading.png', sizingMethod='scale'); } |
4586 | + |
4587 | +/* IE6, IE7, IE8 */ |
4588 | + |
4589 | +.fancybox-ie .fancybox-bg { background: transparent !important; } |
4590 | + |
4591 | +.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_n.png', sizingMethod='scale'); } |
4592 | +.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_ne.png', sizingMethod='scale'); } |
4593 | +.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_e.png', sizingMethod='scale'); } |
4594 | +.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_se.png', sizingMethod='scale'); } |
4595 | +.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_s.png', sizingMethod='scale'); } |
4596 | +.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_sw.png', sizingMethod='scale'); } |
4597 | +.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_w.png', sizingMethod='scale'); } |
4598 | +.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancy_shadow_nw.png', sizingMethod='scale'); } |
4599 | |
4600 | === added file 'themes/gil-galad/images/blank.gif' |
4601 | Binary files themes/gil-galad/images/blank.gif 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/blank.gif 2010-10-25 11:38:45 +0000 differ |
4602 | === added file 'themes/gil-galad/images/fancy_close.png' |
4603 | Binary files themes/gil-galad/images/fancy_close.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_close.png 2010-10-25 11:38:45 +0000 differ |
4604 | === added file 'themes/gil-galad/images/fancy_loading.png' |
4605 | Binary files themes/gil-galad/images/fancy_loading.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_loading.png 2010-10-25 11:38:45 +0000 differ |
4606 | === added file 'themes/gil-galad/images/fancy_nav_left.png' |
4607 | Binary files themes/gil-galad/images/fancy_nav_left.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_nav_left.png 2010-10-25 11:38:45 +0000 differ |
4608 | === added file 'themes/gil-galad/images/fancy_nav_right.png' |
4609 | Binary files themes/gil-galad/images/fancy_nav_right.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_nav_right.png 2010-10-25 11:38:45 +0000 differ |
4610 | === added file 'themes/gil-galad/images/fancy_shadow_e.png' |
4611 | Binary files themes/gil-galad/images/fancy_shadow_e.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_e.png 2010-10-25 11:38:45 +0000 differ |
4612 | === added file 'themes/gil-galad/images/fancy_shadow_n.png' |
4613 | Binary files themes/gil-galad/images/fancy_shadow_n.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_n.png 2010-10-25 11:38:45 +0000 differ |
4614 | === added file 'themes/gil-galad/images/fancy_shadow_ne.png' |
4615 | Binary files themes/gil-galad/images/fancy_shadow_ne.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_ne.png 2010-10-25 11:38:45 +0000 differ |
4616 | === added file 'themes/gil-galad/images/fancy_shadow_nw.png' |
4617 | Binary files themes/gil-galad/images/fancy_shadow_nw.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_nw.png 2010-10-25 11:38:45 +0000 differ |
4618 | === added file 'themes/gil-galad/images/fancy_shadow_s.png' |
4619 | Binary files themes/gil-galad/images/fancy_shadow_s.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_s.png 2010-10-25 11:38:45 +0000 differ |
4620 | === added file 'themes/gil-galad/images/fancy_shadow_se.png' |
4621 | Binary files themes/gil-galad/images/fancy_shadow_se.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_se.png 2010-10-25 11:38:45 +0000 differ |
4622 | === added file 'themes/gil-galad/images/fancy_shadow_sw.png' |
4623 | Binary files themes/gil-galad/images/fancy_shadow_sw.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_sw.png 2010-10-25 11:38:45 +0000 differ |
4624 | === added file 'themes/gil-galad/images/fancy_shadow_w.png' |
4625 | Binary files themes/gil-galad/images/fancy_shadow_w.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_shadow_w.png 2010-10-25 11:38:45 +0000 differ |
4626 | === added file 'themes/gil-galad/images/fancy_title_left.png' |
4627 | Binary files themes/gil-galad/images/fancy_title_left.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_title_left.png 2010-10-25 11:38:45 +0000 differ |
4628 | === added file 'themes/gil-galad/images/fancy_title_main.png' |
4629 | Binary files themes/gil-galad/images/fancy_title_main.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_title_main.png 2010-10-25 11:38:45 +0000 differ |
4630 | === added file 'themes/gil-galad/images/fancy_title_over.png' |
4631 | Binary files themes/gil-galad/images/fancy_title_over.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_title_over.png 2010-10-25 11:38:45 +0000 differ |
4632 | === added file 'themes/gil-galad/images/fancy_title_right.png' |
4633 | Binary files themes/gil-galad/images/fancy_title_right.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancy_title_right.png 2010-10-25 11:38:45 +0000 differ |
4634 | === added file 'themes/gil-galad/images/fancybox-x.png' |
4635 | Binary files themes/gil-galad/images/fancybox-x.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancybox-x.png 2010-10-25 11:38:45 +0000 differ |
4636 | === added file 'themes/gil-galad/images/fancybox-y.png' |
4637 | Binary files themes/gil-galad/images/fancybox-y.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancybox-y.png 2010-10-25 11:38:45 +0000 differ |
4638 | === added file 'themes/gil-galad/images/fancybox.png' |
4639 | Binary files themes/gil-galad/images/fancybox.png 1970-01-01 00:00:00 +0000 and themes/gil-galad/images/fancybox.png 2010-10-25 11:38:45 +0000 differ |
4640 | === modified file 'themes/gil-galad/index.tpl' |
4641 | --- themes/gil-galad/index.tpl 2010-10-20 07:26:55 +0000 |
4642 | +++ themes/gil-galad/index.tpl 2010-10-25 11:38:45 +0000 |
4643 | @@ -6,16 +6,17 @@ |
4644 | <title>{$params.title}</title> |
4645 | |
4646 | <link href="{$planet.url}/themes/{$planet.theme}/css/core.css" rel="stylesheet" type="text/css" /> |
4647 | + <link href="{$planet.url}/themes/{$planet.theme}/css/jquery.fancybox-1.3.2.css" rel="stylesheet" type="text/css" /> |
4648 | <link rel="alternate" type="application/rss+xml" title="RSS" href="{$planet.url}/feed.php?type=rss" /> |
4649 | <link rel="alternate" type="application/atom+xml" title="ATOM" href="{$planet.url}/feed.php?type=atom" /> |
4650 | <link rel="icon" type="image/ico" href="{$planet.url}/themes/{$planet.theme}/favicon.png" /> |
4651 | |
4652 | <script type="text/javascript" src="{$planet.url}/javascript/jquery.js"></script> |
4653 | + <script type="text/javascript" src="{$planet.url}/javascript/jquery.easing-1.3.pack.js" ></script> |
4654 | + <script type="text/javascript" src="{$planet.url}/javascript/jquery.fancybox-1.3.2.pack.js" ></script> |
4655 | |
4656 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/votes.js" ></script> |
4657 | <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/mobile.js" ></script> |
4658 | - <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/jquery.easing.1.3.js" ></script> |
4659 | - <script type="text/javascript" src="{$planet.url}/themes/{$planet.theme}/js/jquery.fancybox-1.2.1.pack.js" ></script> |
4660 | |
4661 | </head> |
4662 | <body> |
4663 | |
4664 | === removed file 'themes/gil-galad/js/jquery.easing.1.3.js' |
4665 | --- themes/gil-galad/js/jquery.easing.1.3.js 2010-10-06 08:46:01 +0000 |
4666 | +++ themes/gil-galad/js/jquery.easing.1.3.js 1970-01-01 00:00:00 +0000 |
4667 | @@ -1,205 +0,0 @@ |
4668 | -/* |
4669 | - * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ |
4670 | - * |
4671 | - * Uses the built in easing capabilities added In jQuery 1.1 |
4672 | - * to offer multiple easing options |
4673 | - * |
4674 | - * TERMS OF USE - jQuery Easing |
4675 | - * |
4676 | - * Open source under the BSD License. |
4677 | - * |
4678 | - * Copyright © 2008 George McGinley Smith |
4679 | - * All rights reserved. |
4680 | - * |
4681 | - * Redistribution and use in source and binary forms, with or without modification, |
4682 | - * are permitted provided that the following conditions are met: |
4683 | - * |
4684 | - * Redistributions of source code must retain the above copyright notice, this list of |
4685 | - * conditions and the following disclaimer. |
4686 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
4687 | - * of conditions and the following disclaimer in the documentation and/or other materials |
4688 | - * provided with the distribution. |
4689 | - * |
4690 | - * Neither the name of the author nor the names of contributors may be used to endorse |
4691 | - * or promote products derived from this software without specific prior written permission. |
4692 | - * |
4693 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
4694 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
4695 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
4696 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
4697 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
4698 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
4699 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
4700 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
4701 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
4702 | - * |
4703 | -*/ |
4704 | - |
4705 | -// t: current time, b: begInnIng value, c: change In value, d: duration |
4706 | -jQuery.easing['jswing'] = jQuery.easing['swing']; |
4707 | - |
4708 | -jQuery.extend( jQuery.easing, |
4709 | -{ |
4710 | - def: 'easeOutQuad', |
4711 | - swing: function (x, t, b, c, d) { |
4712 | - //alert(jQuery.easing.default); |
4713 | - return jQuery.easing[jQuery.easing.def](x, t, b, c, d); |
4714 | - }, |
4715 | - easeInQuad: function (x, t, b, c, d) { |
4716 | - return c*(t/=d)*t + b; |
4717 | - }, |
4718 | - easeOutQuad: function (x, t, b, c, d) { |
4719 | - return -c *(t/=d)*(t-2) + b; |
4720 | - }, |
4721 | - easeInOutQuad: function (x, t, b, c, d) { |
4722 | - if ((t/=d/2) < 1) return c/2*t*t + b; |
4723 | - return -c/2 * ((--t)*(t-2) - 1) + b; |
4724 | - }, |
4725 | - easeInCubic: function (x, t, b, c, d) { |
4726 | - return c*(t/=d)*t*t + b; |
4727 | - }, |
4728 | - easeOutCubic: function (x, t, b, c, d) { |
4729 | - return c*((t=t/d-1)*t*t + 1) + b; |
4730 | - }, |
4731 | - easeInOutCubic: function (x, t, b, c, d) { |
4732 | - if ((t/=d/2) < 1) return c/2*t*t*t + b; |
4733 | - return c/2*((t-=2)*t*t + 2) + b; |
4734 | - }, |
4735 | - easeInQuart: function (x, t, b, c, d) { |
4736 | - return c*(t/=d)*t*t*t + b; |
4737 | - }, |
4738 | - easeOutQuart: function (x, t, b, c, d) { |
4739 | - return -c * ((t=t/d-1)*t*t*t - 1) + b; |
4740 | - }, |
4741 | - easeInOutQuart: function (x, t, b, c, d) { |
4742 | - if ((t/=d/2) < 1) return c/2*t*t*t*t + b; |
4743 | - return -c/2 * ((t-=2)*t*t*t - 2) + b; |
4744 | - }, |
4745 | - easeInQuint: function (x, t, b, c, d) { |
4746 | - return c*(t/=d)*t*t*t*t + b; |
4747 | - }, |
4748 | - easeOutQuint: function (x, t, b, c, d) { |
4749 | - return c*((t=t/d-1)*t*t*t*t + 1) + b; |
4750 | - }, |
4751 | - easeInOutQuint: function (x, t, b, c, d) { |
4752 | - if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; |
4753 | - return c/2*((t-=2)*t*t*t*t + 2) + b; |
4754 | - }, |
4755 | - easeInSine: function (x, t, b, c, d) { |
4756 | - return -c * Math.cos(t/d * (Math.PI/2)) + c + b; |
4757 | - }, |
4758 | - easeOutSine: function (x, t, b, c, d) { |
4759 | - return c * Math.sin(t/d * (Math.PI/2)) + b; |
4760 | - }, |
4761 | - easeInOutSine: function (x, t, b, c, d) { |
4762 | - return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; |
4763 | - }, |
4764 | - easeInExpo: function (x, t, b, c, d) { |
4765 | - return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; |
4766 | - }, |
4767 | - easeOutExpo: function (x, t, b, c, d) { |
4768 | - return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; |
4769 | - }, |
4770 | - easeInOutExpo: function (x, t, b, c, d) { |
4771 | - if (t==0) return b; |
4772 | - if (t==d) return b+c; |
4773 | - if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; |
4774 | - return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; |
4775 | - }, |
4776 | - easeInCirc: function (x, t, b, c, d) { |
4777 | - return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; |
4778 | - }, |
4779 | - easeOutCirc: function (x, t, b, c, d) { |
4780 | - return c * Math.sqrt(1 - (t=t/d-1)*t) + b; |
4781 | - }, |
4782 | - easeInOutCirc: function (x, t, b, c, d) { |
4783 | - if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; |
4784 | - return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; |
4785 | - }, |
4786 | - easeInElastic: function (x, t, b, c, d) { |
4787 | - var s=1.70158;var p=0;var a=c; |
4788 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
4789 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
4790 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
4791 | - return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
4792 | - }, |
4793 | - easeOutElastic: function (x, t, b, c, d) { |
4794 | - var s=1.70158;var p=0;var a=c; |
4795 | - if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
4796 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
4797 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
4798 | - return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; |
4799 | - }, |
4800 | - easeInOutElastic: function (x, t, b, c, d) { |
4801 | - var s=1.70158;var p=0;var a=c; |
4802 | - if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); |
4803 | - if (a < Math.abs(c)) { a=c; var s=p/4; } |
4804 | - else var s = p/(2*Math.PI) * Math.asin (c/a); |
4805 | - if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
4806 | - return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; |
4807 | - }, |
4808 | - easeInBack: function (x, t, b, c, d, s) { |
4809 | - if (s == undefined) s = 1.70158; |
4810 | - return c*(t/=d)*t*((s+1)*t - s) + b; |
4811 | - }, |
4812 | - easeOutBack: function (x, t, b, c, d, s) { |
4813 | - if (s == undefined) s = 1.70158; |
4814 | - return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; |
4815 | - }, |
4816 | - easeInOutBack: function (x, t, b, c, d, s) { |
4817 | - if (s == undefined) s = 1.70158; |
4818 | - if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; |
4819 | - return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; |
4820 | - }, |
4821 | - easeInBounce: function (x, t, b, c, d) { |
4822 | - return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; |
4823 | - }, |
4824 | - easeOutBounce: function (x, t, b, c, d) { |
4825 | - if ((t/=d) < (1/2.75)) { |
4826 | - return c*(7.5625*t*t) + b; |
4827 | - } else if (t < (2/2.75)) { |
4828 | - return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; |
4829 | - } else if (t < (2.5/2.75)) { |
4830 | - return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; |
4831 | - } else { |
4832 | - return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; |
4833 | - } |
4834 | - }, |
4835 | - easeInOutBounce: function (x, t, b, c, d) { |
4836 | - if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; |
4837 | - return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; |
4838 | - } |
4839 | -}); |
4840 | - |
4841 | -/* |
4842 | - * |
4843 | - * TERMS OF USE - EASING EQUATIONS |
4844 | - * |
4845 | - * Open source under the BSD License. |
4846 | - * |
4847 | - * Copyright © 2001 Robert Penner |
4848 | - * All rights reserved. |
4849 | - * |
4850 | - * Redistribution and use in source and binary forms, with or without modification, |
4851 | - * are permitted provided that the following conditions are met: |
4852 | - * |
4853 | - * Redistributions of source code must retain the above copyright notice, this list of |
4854 | - * conditions and the following disclaimer. |
4855 | - * Redistributions in binary form must reproduce the above copyright notice, this list |
4856 | - * of conditions and the following disclaimer in the documentation and/or other materials |
4857 | - * provided with the distribution. |
4858 | - * |
4859 | - * Neither the name of the author nor the names of contributors may be used to endorse |
4860 | - * or promote products derived from this software without specific prior written permission. |
4861 | - * |
4862 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
4863 | - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
4864 | - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
4865 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
4866 | - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
4867 | - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
4868 | - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
4869 | - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
4870 | - * OF THE POSSIBILITY OF SUCH DAMAGE. |
4871 | - * |
4872 | - */ |
4873 | \ No newline at end of file |
4874 | |
4875 | === removed file 'themes/gil-galad/js/jquery.fancybox-1.2.1.js' |
4876 | --- themes/gil-galad/js/jquery.fancybox-1.2.1.js 2010-10-06 08:46:01 +0000 |
4877 | +++ themes/gil-galad/js/jquery.fancybox-1.2.1.js 1970-01-01 00:00:00 +0000 |
4878 | @@ -1,547 +0,0 @@ |
4879 | -/* |
4880 | - * FancyBox - simple and fancy jQuery plugin |
4881 | - * Examples and documentation at: http://fancy.klade.lv/ |
4882 | - * Version: 1.2.1 (13/03/2009) |
4883 | - * Copyright (c) 2009 Janis Skarnelis |
4884 | - * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License |
4885 | - * Requires: jQuery v1.3+ |
4886 | -*/ |
4887 | -;(function($) { |
4888 | - |
4889 | - $.fn.fixPNG = function() { |
4890 | - return this.each(function () { |
4891 | - var image = $(this).css('backgroundImage'); |
4892 | - |
4893 | - if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) { |
4894 | - image = RegExp.$1; |
4895 | - $(this).css({ |
4896 | - 'backgroundImage': 'none', |
4897 | - 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')" |
4898 | - }).each(function () { |
4899 | - var position = $(this).css('position'); |
4900 | - if (position != 'absolute' && position != 'relative') |
4901 | - $(this).css('position', 'relative'); |
4902 | - }); |
4903 | - } |
4904 | - }); |
4905 | - }; |
4906 | - |
4907 | - var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; |
4908 | - var isIE = ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 8); |
4909 | - |
4910 | - $.fn.fancybox = function(settings) { |
4911 | - settings = $.extend({}, $.fn.fancybox.defaults, settings); |
4912 | - |
4913 | - var matchedGroup = this; |
4914 | - |
4915 | - function _initialize() { |
4916 | - elem = this; |
4917 | - opts = settings; |
4918 | - |
4919 | - _start(); |
4920 | - |
4921 | - return false; |
4922 | - }; |
4923 | - |
4924 | - function _start() { |
4925 | - if (busy) return; |
4926 | - |
4927 | - if ($.isFunction(opts.callbackOnStart)) { |
4928 | - opts.callbackOnStart(); |
4929 | - } |
4930 | - |
4931 | - opts.itemArray = []; |
4932 | - opts.itemCurrent = 0; |
4933 | - |
4934 | - if (settings.itemArray.length > 0) { |
4935 | - opts.itemArray = settings.itemArray; |
4936 | - |
4937 | - } else { |
4938 | - var item = {}; |
4939 | - |
4940 | - if (!elem.rel || elem.rel == '') { |
4941 | - var item = {href: elem.href, title: elem.title}; |
4942 | - |
4943 | - if ($(elem).children("img:first").length) { |
4944 | - item.orig = $(elem).children("img:first"); |
4945 | - } |
4946 | - |
4947 | - opts.itemArray.push( item ); |
4948 | - |
4949 | - } else { |
4950 | - |
4951 | - var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]"); |
4952 | - |
4953 | - var item = {}; |
4954 | - |
4955 | - for (var i = 0; i < subGroup.length; i++) { |
4956 | - item = {href: subGroup[i].href, title: subGroup[i].title}; |
4957 | - |
4958 | - if ($(subGroup[i]).children("img:first").length) { |
4959 | - item.orig = $(subGroup[i]).children("img:first"); |
4960 | - } |
4961 | - |
4962 | - opts.itemArray.push( item ); |
4963 | - } |
4964 | - |
4965 | - while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) { |
4966 | - opts.itemCurrent++; |
4967 | - } |
4968 | - } |
4969 | - } |
4970 | - |
4971 | - if (opts.overlayShow) { |
4972 | - if (isIE) { |
4973 | - $('embed, object, select').css('visibility', 'hidden'); |
4974 | - } |
4975 | - |
4976 | - $("#fancy_overlay").css('opacity', opts.overlayOpacity).show(); |
4977 | - } |
4978 | - |
4979 | - _change_item(); |
4980 | - }; |
4981 | - |
4982 | - function _change_item() { |
4983 | - $("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide(); |
4984 | - |
4985 | - var href = opts.itemArray[ opts.itemCurrent ].href; |
4986 | - |
4987 | - if (href.match(/#/)) { |
4988 | - var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#')); |
4989 | - |
4990 | - _set_content('<div id="fancy_div">' + $(target).html() + '</div>', opts.frameWidth, opts.frameHeight); |
4991 | - |
4992 | - } else if (href.match(imageRegExp)) { |
4993 | - imagePreloader = new Image; imagePreloader.src = href; |
4994 | - |
4995 | - if (imagePreloader.complete) { |
4996 | - _proceed_image(); |
4997 | - |
4998 | - } else { |
4999 | - $.fn.fancybox.showLoading(); |
5000 | - |
The diff has been truncated for viewing.