Team:KAIST-Korea/jihan
From 2011.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
}); | }); | ||
- | + | $(".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' | + | 'width' : 640, |
- | 'height' : | + | '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', | |
- | + | 'allowfullscreen' : 'true' | |
} | } | ||
}); | }); | ||
+ | return false; | ||
+ | }); | ||
- | |||
}); | }); | ||
+ | |||
</script> | </script> |
Revision as of 18:11, 12 August 2011