Team:Harvard/human practices/history
From 2010.igem.org
(Difference between revisions)
Aarondeardon (Talk | contribs) |
Aarondeardon (Talk | contribs) |
||
Line 3: | Line 3: | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | ||
<script type="text/javascript" src="https://static.igem.org/mediawiki/2010/5/5d/jquery.fancybox-1.3.1.pack.txt"></script> | <script type="text/javascript" src="https://static.igem.org/mediawiki/2010/5/5d/jquery.fancybox-1.3.1.pack.txt"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | |||
+ | /* This is basic - uses default settings */ | ||
+ | |||
+ | $("a#single_image").fancybox(); | ||
+ | |||
+ | /* Using custom settings */ | ||
+ | |||
+ | $("a#inline").fancybox({ | ||
+ | 'hideOnContentClick': true | ||
+ | }); | ||
+ | |||
+ | /* Apply fancybox to multiple items */ | ||
+ | |||
+ | $("a.group").fancybox({ | ||
+ | 'transitionIn' : 'elastic', | ||
+ | 'transitionOut' : 'elastic', | ||
+ | 'speedIn' : 600, | ||
+ | 'speedOut' : 200, | ||
+ | 'overlayShow' : false, | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
<link rel="stylesheet" href="https://static.igem.org/mediawiki/2010/5/5d/Style.txt" type="text/css" media="screen" /> | <link rel="stylesheet" href="https://static.igem.org/mediawiki/2010/5/5d/Style.txt" type="text/css" media="screen" /> | ||
<script type="text/javascript"> | <script type="text/javascript"> |
Revision as of 18:41, 12 July 2010