Team:KAIST-Korea/jihan

From 2011.igem.org

(Difference between revisions)
 
(19 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 36: 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 567: Line 591:
font-weight:normal;
font-weight:normal;
font:Arial 11pt;
font:Arial 11pt;
-
line-height:100%;
+
line-height:110%;
}
}
Line 578: Line 602:
height:0px;
height:0px;
z-index:-100;
z-index:-100;
-
}
 
-
 
-
#ModelingMenuBar
 
-
{
 
-
padding:0px;
 
-
overflow:hidden;
 
}
}
-
#ModelingMenuBar a:link, #ModelingMenuBar a:visited
 
-
{
 
-
display:block;
 
-
width:100%;
 
-
color:#FFFFFF;
 
-
font-weight:bold;
 
-
background-color:#98bf21;
 
-
padding:25px;
 
-
text-align:center;
 
-
text-transform:uppercase;
 
-
}
 
-
#ModelingMenuBar a:hover, #ModelingMenuBar a:active
 
-
{
 
-
background-color:#7A991A;
 
-
}
 
-
 
-
 
</style>
</style>

Latest revision as of 01:12, 21 August 2011