Team:KAIST-Korea/jihan

From 2011.igem.org

(Difference between revisions)
 
(35 intermediate revisions not shown)
Line 24: Line 24:
/* This is basic - uses default settings */
/* This is basic - uses default settings */
-
$("a.kaistcontent").fancybox({
 
-
'autoScale' : true
 
-
});
 
$("a#single_image").fancybox({
$("a#single_image").fancybox({
-
'autoScale' : true
+
'autoScale' : true,
 +
'overlayColor' : '#000',
 +
'overlayOpacity' : 0.85
});
});
Line 35: 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 566: Line 591:
font-weight:normal;
font-weight:normal;
font:Arial 11pt;
font:Arial 11pt;
-
line-height:100%;
+
line-height:110%;
}
}
Line 577: Line 602:
height:0px;
height:0px;
z-index:-100;
z-index:-100;
-
}
+
}
-
 
+
</style>
</style>

Latest revision as of 01:12, 21 August 2011