Template:HarvardFancybox
From 2010.igem.org
(Difference between revisions)
Aarondeardon (Talk | contribs) |
Aarondeardon (Talk | contribs) (Undo revision 132672 by Aarondeardon (Talk)) |
||
(12 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | < | + | <script type="text/javascript" src="http://michaelcorkrey.com/jquery.fancybox-1.3.1/fancybox/jquery.fancybox-1.3.1.js"></script> |
<style> | <style> | ||
#fancybox-loading { | #fancybox-loading { | ||
Line 27: | Line 27: | ||
width: 40px; | width: 40px; | ||
height: 480px; | height: 480px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
} | } | ||
Line 98: | Line 98: | ||
width: 30px; | width: 30px; | ||
height: 30px; | height: 30px; | ||
- | background-image: url(' | + | background-image: url('hhttps://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px 0px; | background-position: -40px 0px; | ||
cursor: pointer; | cursor: pointer; | ||
Line 168: | Line 168: | ||
#fancybox-title-over { | #fancybox-title-over { | ||
padding: 10px; | padding: 10px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/c/ca/Fancy_title_over.png'); |
display: block; | display: block; | ||
} | } | ||
Line 183: | Line 183: | ||
#fancybox-title-left { | #fancybox-title-left { | ||
padding-left: 15px; | padding-left: 15px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px -90px; | background-position: -40px -90px; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 191: | Line 191: | ||
font-weight: bold; | font-weight: bold; | ||
line-height: 29px; | line-height: 29px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/2/2d/Fancybox-x.png'); |
background-position: 0px -40px; | background-position: 0px -40px; | ||
color: #FFF; | color: #FFF; | ||
Line 198: | Line 198: | ||
#fancybox-title-right { | #fancybox-title-right { | ||
padding-left: 15px; | padding-left: 15px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -55px -90px; | background-position: -55px -90px; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 210: | Line 210: | ||
cursor: pointer; | cursor: pointer; | ||
outline: none; | outline: none; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/c/c0/Blank.gif'); |
z-index: 1102; | z-index: 1102; | ||
display: none; | display: none; | ||
Line 236: | Line 236: | ||
#fancybox-left-ico { | #fancybox-left-ico { | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px -30px; | background-position: -40px -30px; | ||
} | } | ||
#fancybox-right-ico { | #fancybox-right-ico { | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px -60px; | background-position: -40px -60px; | ||
} | } | ||
Line 272: | Line 272: | ||
left: 0; | left: 0; | ||
width: 100%; | width: 100%; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/2/2d/Fancybox-x.png'); |
} | } | ||
Line 278: | Line 278: | ||
top: -20px; | top: -20px; | ||
right: -20px; | right: -20px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px -162px; | background-position: -40px -162px; | ||
} | } | ||
Line 286: | Line 286: | ||
right: -20px; | right: -20px; | ||
height: 100%; | height: 100%; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/f/fe/Fancybox-y.png'); |
background-position: -20px 0px; | background-position: -20px 0px; | ||
} | } | ||
Line 293: | Line 293: | ||
bottom: -20px; | bottom: -20px; | ||
right: -20px; | right: -20px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
- | background-position: -40px -182px; | + | background-position: -40px -182px; |
} | } | ||
Line 301: | Line 301: | ||
left: 0; | left: 0; | ||
width: 100%; | width: 100%; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/2/2d/Fancybox-x.png'); |
background-position: 0px -20px; | background-position: 0px -20px; | ||
} | } | ||
Line 308: | Line 308: | ||
bottom: -20px; | bottom: -20px; | ||
left: -20px; | left: -20px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px -142px; | background-position: -40px -142px; | ||
} | } | ||
Line 316: | Line 316: | ||
left: -20px; | left: -20px; | ||
height: 100%; | height: 100%; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/f/fe/Fancybox-y.png'); |
} | } | ||
Line 322: | Line 322: | ||
top: -20px; | top: -20px; | ||
left: -20px; | left: -20px; | ||
- | background-image: url(' | + | background-image: url('https://static.igem.org/mediawiki/2010/4/4e/Fancybox.png'); |
background-position: -40px -122px; | background-position: -40px -122px; | ||
} | } | ||
Line 328: | Line 328: | ||
/* IE */ | /* IE */ | ||
- | #fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | #fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/a/af/Fancy_loading.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/5/57/Fancy_close.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/c/ca/Fancy_title_over.png', sizingMethod='scale'); zoom: 1; } |
- | .fancybox-ie #fancybox-title-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-title-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/7/7e/Fancy_title_left.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancybox-title-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-title-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/1/16/Fancy_title_main.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancybox-title-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-title-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/6/65/Fancy_title_right.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/6/66/Fancy_nav_left.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/3/3d/Fancy_nav_right.png', sizingMethod='scale'); } |
.fancybox-ie .fancy-bg { background: transparent !important; } | .fancybox-ie .fancy-bg { background: transparent !important; } | ||
- | .fancybox-ie #fancy-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/9/91/Fancy_shadow_n.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/5/5c/Fancy_shadow_ne.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/4/4a/Fancy_shadow_e.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/9/97/Fancy_shadow_se.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/7/73/Fancy_shadow_s.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/9/9e/Fancy_shadow_sw.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/1/16/Fancy_shadow_w.png', sizingMethod='scale'); } |
- | .fancybox-ie #fancy-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' | + | .fancybox-ie #fancy-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2010/a/a6/Fancy_shadow_nw.png', sizingMethod='scale'); } |
} | } | ||
Line 381: | Line 381: | ||
</script> | </script> | ||
- | |||
</html> | </html> |
Latest revision as of 14:34, 24 October 2010