Team:KAIST-Korea/jihan

From 2011.igem.org

(Difference between revisions)
 
(34 intermediate revisions not shown)
Line 26: Line 26:
$("a#single_image").fancybox({
$("a#single_image").fancybox({
-
'autoScale' : true
+
'autoScale' : true,
 +
'overlayColor' : '#000',
 +
'overlayOpacity' : 0.85
});
});
Line 32: Line 34:
$("a.gallery").fancybox({
$("a.gallery").fancybox({
-
'autoScale' : true
+
'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 563: Line 591:
font-weight:normal;
font-weight:normal;
font:Arial 11pt;
font:Arial 11pt;
-
line-height:100%;
+
line-height:110%;
}
}
Line 574: Line 602:
height:0px;
height:0px;
z-index:-100;
z-index:-100;
-
}
+
}
-
 
+
</style>
</style>

Latest revision as of 01:12, 21 August 2011