2 * FancyBox - jQuery Plugin
\r
3 * Simple and fancy lightbox alternative
\r
5 * Examples and documentation at: http://fancybox.net
\r
7 * Copyright (c) 2008 - 2010 Janis Skarnelis
\r
8 * 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.
\r
10 * Version: 1.3.4 (11/11/2010)
\r
11 * Requires: jQuery v1.3+
\r
13 * Dual licensed under the MIT and GPL licenses:
\r
14 * http://www.opensource.org/licenses/mit-license.php
\r
15 * http://www.gnu.org/licenses/gpl.html
\r
32 #fancybox-loading div {
\r
38 background-image: url('fancybox.png');
\r
83 border: 0px solid #fff;
\r
86 #fancybox-hide-sel-frame {
\r
92 background: transparent;
\r
102 background: transparent url('fancybox.png') -40px 0px;
\r
110 font: normal 12px/20px Arial;
\r
123 vertical-align: top;
\r
133 #fancybox-left, #fancybox-right {
\r
134 position: absolute;
\r
140 background: transparent url('blank.gif');
\r
153 #fancybox-left-ico, #fancybox-right-ico {
\r
154 position: absolute;
\r
165 #fancybox-left-ico {
\r
166 background-image: url('fancybox.png');
\r
167 background-position: -40px -30px;
\r
170 #fancybox-right-ico {
\r
171 background-image: url('fancybox.png');
\r
172 background-position: -40px -60px;
\r
175 #fancybox-left:hover, #fancybox-right:hover {
\r
176 visibility: visible; /* IE6 */
\r
179 #fancybox-left:hover span {
\r
183 #fancybox-right:hover span {
\r
189 position: absolute;
\r
202 background-image: url('fancybox-x.png');
\r
208 background-image: url('fancybox.png');
\r
209 background-position: -40px -162px;
\r
216 background-image: url('fancybox-y.png');
\r
217 background-position: -20px 0px;
\r
223 background-image: url('fancybox.png');
\r
224 background-position: -40px -182px;
\r
231 background-image: url('fancybox-x.png');
\r
232 background-position: 0px -20px;
\r
238 background-image: url('fancybox.png');
\r
239 background-position: -40px -142px;
\r
246 background-image: url('fancybox-y.png');
\r
252 background-image: url('fancybox.png');
\r
253 background-position: -40px -122px;
\r
257 font-family: Helvetica;
\r
262 .fancybox-title-inside {
\r
263 padding-bottom: 10px;
\r
264 text-align: center;
\r
267 position: relative;
\r
270 .fancybox-title-outside {
\r
275 .fancybox-title-over {
\r
276 position: absolute;
\r
283 #fancybox-title-over {
\r
285 background-image: url('fancy_title_over.png');
\r
289 .fancybox-title-float {
\r
290 position: absolute;
\r
296 #fancybox-title-float-wrap {
\r
298 border-collapse: collapse;
\r
302 #fancybox-title-float-wrap td {
\r
304 white-space: nowrap;
\r
307 #fancybox-title-float-left {
\r
308 padding: 0 0 0 15px;
\r
309 background: url('fancybox.png') -40px -90px no-repeat;
\r
312 #fancybox-title-float-main {
\r
316 padding: 0 0 3px 0;
\r
317 background: url('fancybox-x.png') 0px -40px;
\r
320 #fancybox-title-float-right {
\r
321 padding: 0 0 0 15px;
\r
322 background: url('fancybox.png') -55px -90px no-repeat;
\r
327 .fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
\r
329 .fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
\r
330 .fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
\r
332 .fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
\r
333 .fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
\r
334 .fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
\r
335 .fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
\r
337 .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
\r
338 height: expression(this.parentNode.clientHeight + "px");
\r
341 #fancybox-loading.fancybox-ie6 {
\r
342 position: absolute; margin-top: 0;
\r
343 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');
\r
346 #fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
\r
348 /* IE6, IE7, IE8 */
\r
350 .fancybox-ie .fancybox-bg { background: transparent !important; }
\r
352 .fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
\r
353 .fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
\r
354 .fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
\r
355 .fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
\r
356 .fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
\r
357 .fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
\r
358 .fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
\r
359 .fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }