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" src="https://2014.igem.org/Team:Virginia/fancybox/jquery?action=raw&ctype=text/javascript"></script>
 
-
<script src="https://2014.igem.org/Team:Virginia/fancybox/script?action=raw&ctype=text/javascript"></script>
 
-
<link rel="stylesheet" type="text/css" href="https://2014.igem.org/Team:Virginia/fancybox/style?action=raw&ctype=text/css" media="screen" />
 
-
<script type="text/javascript">
+
<!-- Add fancyBox main JS and CSS files -->
-
$(document).ready(function() {
+
<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>
-
</script>
+
 
</head>
</head>
<body>
<body>
-
<a class="fancybox" href="1_b.jpg" data-fancybox-group="gallery" title="Lorem ipsum dolor sit amet"><img src="1_s.jpg" alt="" /></a>
+
  <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