Team:Virginia/Attributions
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | <!-- Add jQuery library --> | ||
+ | <script type="text/javascript" src="http://fancyapps.com/fancybox/lib/jquery-1.10.2.min.js"></script> | ||
- | |||
- | |||
- | |||
- | <script type="text/javascript"> | + | <!-- Add fancyBox main JS and CSS files --> |
- | + | <script type="text/javascript" src="http://fancyapps.com/fancybox/source/jquery.fancybox.js?v=2.1.5"></script> | |
- | + | <link rel="stylesheet" type="text/css" href="http://fancyapps.com/fancybox/source/jquery.fancybox.css?v=2.1.5" media="screen" /> | |
+ | |||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | /* | ||
+ | * Simple image gallery. Uses default settings | ||
+ | */ | ||
+ | |||
$('.fancybox').fancybox(); | $('.fancybox').fancybox(); | ||
- | + | }); | |
- | + | </script> | |
- | + | ||
</head> | </head> | ||
<body> | <body> | ||
- | <a class="fancybox" href="1_b.jpg" | + | <a rel="gallery" class="fancybox" href="http://fancyapps.com/fancybox/demo/1_b.jpg"><img src="http://fancyapps.com/fancybox/demo/1_s.jpg" alt=""/></a> |
+ | |||
+ | <a rel="gallery" class="fancybox" href="http://fancyapps.com/fancybox/demo/2_b.jpg"><img src="http://fancyapps.com/fancybox/demo/2_s.jpg" alt=""/></a> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 03:00, 29 June 2014