Team:KAIST-Korea/jihan
From 2011.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
'autoScale' : true | 'autoScale' : true | ||
}); | }); | ||
- | + | ||
+ | $("a.videos").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' | ||
+ | } | ||
+ | }); | ||
+ | |||
}); | }); | ||
</script> | </script> |
Revision as of 18:05, 12 August 2011