Team:KAIST-Korea/jihan

From 2011.igem.org

(Difference between revisions)
 
(39 intermediate revisions not shown)
Line 24: Line 24:
/* This is basic - uses default settings */
/* This is basic - uses default settings */
-
+
 
-
$("a#single_image").fancybox();
+
$("a#single_image").fancybox({
 +
'autoScale' : true,
 +
'overlayColor' : '#000',
 +
'overlayOpacity' : 0.85
 +
});
/* Apply fancybox to multiple items */
/* Apply fancybox to multiple items */
-
$("a.gallery").fancybox();
+
$("a.gallery").fancybox({
-
+
'autoScale' : true,
 +
'overlayColor' : '#000',
 +
'overlayOpacity' : 0.85
});
});
 +
 +
$(".video").click(function() {
 +
$.fancybox({
 +
'padding' : 0,
 +
'autoScale' : true,
 +
'overlayColor' : '#000',
 +
'overlayOpacity' : 0.85,
 +
'transitionIn' : 'none',
 +
'transitionOut' : 'none',
 +
'title' : this.title,
 +
'titlePosition' : 'outside',
 +
'width' : 640,
 +
'height' : 360,
 +
'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
 +
'type' : 'swf',
 +
'swf' : {
 +
'wmode' : 'transparent',
 +
'allowfullscreen' : 'true'
 +
}
 +
});
 +
return false;
 +
});
 +
 +
});
 +
 +
</script>
</script>
Line 559: Line 591:
font-weight:normal;
font-weight:normal;
font:Arial 11pt;
font:Arial 11pt;
-
line-height:100%;
+
line-height:110%;
}
}
Line 570: Line 602:
height:0px;
height:0px;
z-index:-100;
z-index:-100;
-
}
+
}
-
 
+
</style>
</style>

Latest revision as of 01:12, 21 August 2011