Team:KAIST-Korea/jihan
From 2011.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
<script type='text/javascript' src="/Team:KAIST-Korea/js/fancybox/jquery_mousewheel?action=raw"></script> | <script type='text/javascript' src="/Team:KAIST-Korea/js/fancybox/jquery_mousewheel?action=raw"></script> | ||
<link rel="stylesheet" href="https://2011.igem.org/Team:KAIST-Korea/css/fancybox/jquery_fancybox" type="text/css" media="screen" /> | <link rel="stylesheet" href="https://2011.igem.org/Team:KAIST-Korea/css/fancybox/jquery_fancybox" type="text/css" media="screen" /> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | |||
+ | /* This is basic - uses default settings */ | ||
+ | |||
+ | $("a#single_image").fancybox(); | ||
+ | |||
+ | /* Apply fancybox to multiple items */ | ||
+ | |||
+ | $("a.gallery").fancybox(); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
<style type="text/css"> | <style type="text/css"> |
Revision as of 02:29, 12 August 2011