Team:KAIST-Korea/Team/Videos2

From 2011.igem.org

(Difference between revisions)
Line 8: Line 8:
}
}
</style>
</style>
-
<script type="text/javascript">
 
-
$("a.videos").click(function() {
 
-
$.fancybox({
 
-
'padding' : 0,
 
-
'autoScale' : false,
 
-
'transitionIn' : 'none',
 
-
'transitionOut' : 'none',
 
-
'title' : this.title,
 
-
'width' : 680,
 
-
'height' : 495,
 
-
'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
 
-
'type' : 'swf',
 
-
'swf' : {
 
-
  'wmode' : 'transparent',
 
-
'allowfullscreen' : 'true'
 
-
}
 
-
});
 
-
 
-
return false;
 
-
});
 
-
</script>
 
</head>
</head>
<body>
<body>

Revision as of 18:03, 12 August 2011