Template:Fancybox

  position: fixed; top: 50%; left: 50%; height: 40px; width: 40px; margin-top: -20px; margin-left: -20px; cursor: pointer; overflow: hidden; z-index: 1104; display: none; }
 * 1) fancybox-loading {

position: absolute; margin-top: 0; }
 * html #fancybox-loading {	/* IE6 */

position: absolute; top: 0; left: 0; width: 40px; height: 480px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); }
 * 1) fancybox-loading div {

position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: #000; z-index: 1100; display: none; }
 * 1) fancybox-overlay {

position: absolute; width: 100%; }
 * html #fancybox-overlay {	/* IE6 */

padding: 0; margin: 0; border: 0; overflow: auto; display: none; }
 * 1) fancybox-tmp {

position: absolute; top: 0; left: 0; margin: 0; padding: 20px; z-index: 1101; display: none; }
 * 1) fancybox-wrap {

position: relative; width: 100%; height: 100%; background: #FFF; }
 * 1) fancybox-outer {

position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: 0; outline: none; overflow: hidden; }
 * 1) fancybox-inner {

position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; }
 * 1) fancybox-hide-sel-frame {

position: absolute; top: -15px; right: -15px; width: 30px; height: 30px; background-image: url('hhttp://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px 0px; cursor: pointer; z-index: 1103; display: none; }
 * 1) fancybox-close {

color: #444; font: normal 12px/20px Arial; padding: 7px; margin: 0; }
 * 1) fancybox_error {

height: auto; width: auto; padding: 0; margin: 0; }
 * 1) fancybox-content {

width: 100%; height: 100%; padding: 0; margin: 0; border: none; outline: none; line-height: 0; vertical-align: top; -ms-interpolation-mode: bicubic; }
 * 1) fancybox-img {

position: relative; width: 100%; height: 100%; border: none; display: block; }
 * 1) fancybox-frame {

position: absolute; bottom: 0; left: 0; font-family: Arial; font-size: 12px; z-index: 1102; }
 * 1) fancybox-title {

.fancybox-title-inside { padding: 10px 0; text-align: center; color: #333; }

.fancybox-title-outside { padding-top: 5px; color: #FFF; text-align: center; font-weight: bold; }

.fancybox-title-over { color: #FFF; text-align: left; }

padding: 10px; background-image: url('http://2010.igem.org/wiki/images/c/ca/Fancy_title_over.png'); display: block; }
 * 1) fancybox-title-over {

display: inline-block; }
 * 1) fancybox-title-wrap {

height: 32px; float: left; }
 * 1) fancybox-title-wrap span {

padding-left: 15px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -90px; background-repeat: no-repeat; }
 * 1) fancybox-title-left {

font-weight: bold; line-height: 29px; background-image: url('http://2010.igem.org/wiki/images/2/2d/Fancybox-x.png'); background-position: 0px -40px; color: #FFF; }
 * 1) fancybox-title-main {

padding-left: 15px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -55px -90px; background-repeat: no-repeat; }
 * 1) fancybox-title-right {

position: absolute; bottom: 0px; height: 100%; width: 35%; cursor: pointer; outline: none; background-image: url('http://2010.igem.org/wiki/images/c/c0/Blank.gif'); z-index: 1102; display: none; }
 * 1) fancybox-left, #fancybox-right {

left: 0px; }
 * 1) fancybox-left {

right: 0px; }
 * 1) fancybox-right {

position: absolute; top: 50%; left: -9999px; width: 30px; height: 30px; margin-top: -15px; cursor: pointer; z-index: 1102; display: block; }
 * 1) fancybox-left-ico, #fancybox-right-ico {

background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -30px; }
 * 1) fancybox-left-ico {

background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -60px; }
 * 1) fancybox-right-ico {

visibility: visible;   /* IE6 */ }
 * 1) fancybox-left:hover, #fancybox-right:hover {

left: 20px; }
 * 1) fancybox-left:hover span {

left: auto; right: 20px; }
 * 1) fancybox-right:hover span {

.fancy-bg { position: absolute; padding: 0; margin: 0; border: 0; width: 20px; height: 20px; z-index: 1001; }

top: -20px; left: 0; width: 100%; background-image: url('http://2010.igem.org/wiki/images/2/2d/Fancybox-x.png'); }
 * 1) fancy-bg-n {

top: -20px; right: -20px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -162px; }
 * 1) fancy-bg-ne {

top: 0; right: -20px; height: 100%; background-image: url('http://2010.igem.org/wiki/images/f/fe/Fancybox-y.png'); background-position: -20px 0px; }
 * 1) fancy-bg-e {

bottom: -20px; right: -20px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -182px; }
 * 1) fancy-bg-se {

bottom: -20px; left: 0; width: 100%; background-image: url('http://2010.igem.org/wiki/images/2/2d/Fancybox-x.png'); background-position: 0px -20px; }
 * 1) fancy-bg-s {

bottom: -20px; left: -20px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -142px; }
 * 1) fancy-bg-sw {

top: 0; left: -20px; height: 100%; background-image: url('http://2010.igem.org/wiki/images/f/fe/Fancybox-y.png'); }
 * 1) fancy-bg-w {

top: -20px; left: -20px; background-image: url('http://2010.igem.org/wiki/images/4/4e/Fancybox.png'); background-position: -40px -122px; }
 * 1) fancy-bg-nw {

/* IE */

.fancybox-ie #fancybox-close		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/5/57/Fancy_close.png', sizingMethod='scale'); }
 * 1) fancybox-loading.fancybox-ie div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/a/af/Fancy_loading.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-title-over	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/c/ca/Fancy_title_over.png', sizingMethod='scale'); zoom: 1; } .fancybox-ie #fancybox-title-left	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/7/7e/Fancy_title_left.png', sizingMethod='scale'); } .fancybox-ie #fancybox-title-main	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/1/16/Fancy_title_main.png', sizingMethod='scale'); } .fancybox-ie #fancybox-title-right	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/6/65/Fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-left-ico		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/6/66/Fancy_nav_left.png', sizingMethod='scale'); } .fancybox-ie #fancybox-right-ico	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/3/3d/Fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie .fancy-bg { background: transparent !important; }

.fancybox-ie #fancy-bg-n	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/9/91/Fancy_shadow_n.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-ne	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/5/5c/Fancy_shadow_ne.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-e	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/4/4a/Fancy_shadow_e.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-se	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/9/97/Fancy_shadow_se.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-s	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/7/73/Fancy_shadow_s.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-sw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/9/9e/Fancy_shadow_sw.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-w	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/1/16/Fancy_shadow_w.png', sizingMethod='scale'); } .fancybox-ie #fancy-bg-nw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://2010.igem.org/wiki/images/a/a6/Fancy_shadow_nw.png', sizingMethod='scale'); }

}

 $(document).ready(function {

/* This is basic - uses default settings */ $("a#single_image").fancybox; /* Using custom settings */ $("a#inline").fancybox({       'hideOnContentClick': true    });

/* Apply fancybox to multiple items */ $("a.group").fancybox({       'transitionIn'    :    'elastic',        'transitionOut'    :    'elastic',        'speedIn'        :    600,        'speedOut'        :    200,        'overlayShow'    :    false,    }); });