Team:KAIST-Korea/Team/Videos2
From 2011.igem.org
(Difference between revisions)
(Created page with " {{:Team:KAIST-Korea/jihan}} __NOTOC__ <html> <head> <style type="text/css"> #kaistcontent{ background:transparent; } </style> </head> <body> <!--Tag Body--> <div> <a href="http...") |
|||
Line 1: | Line 1: | ||
- | |||
{{:Team:KAIST-Korea/jihan}} | {{:Team:KAIST-Korea/jihan}} | ||
__NOTOC__ | __NOTOC__ | ||
Line 9: | Line 8: | ||
} | } | ||
</style> | </style> | ||
+ | <script type="text/javascript"> | ||
+ | $(".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> | ||
Line 24: | Line 44: | ||
<div id="kaistcontent"> | <div id="kaistcontent"> | ||
- | + | ang | |
</div> | </div> |
Revision as of 16:18, 12 August 2011
ang