Team:KAIST-Korea/jihan

From 2011.igem.org

(Difference between revisions)
Line 39: Line 39:
});
});
-
});
+
$(".video").click(function() {
-
 
+
$.fancybox({
-
$("#video").click(function() {
+
-
$.fancybox({
+
'padding' : 0,
'padding' : 0,
'autoScale' : false,
'autoScale' : false,
Line 48: Line 46:
'transitionOut' : 'none',
'transitionOut' : 'none',
'title' : this.title,
'title' : this.title,
-
'width' : 680,
+
'width' : 640,
-
'height' : 495,
+
'height' : 385,
'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
'type' : 'swf',
'type' : 'swf',
'swf' : {
'swf' : {
-
  'wmode' : 'transparent',
+
'wmode' : 'transparent',
-
'allowfullscreen' : 'true'
+
'allowfullscreen' : 'true'
}
}
});
});
 +
return false;
 +
});
-
return false;
 
});
});
 +
</script>
</script>

Revision as of 18:11, 12 August 2011