Team:UCL London/Photo Gallery

From 2010.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
{{:Team:UCL_London/templates/v2/headerFullWidth}}
{{:Team:UCL_London/templates/v2/headerFullWidth}}
<html>
<html>
-
<script type="text/javascript">
+
<script type="text/javascript" src="https://2010.igem.org/Team:UCL_London/files/gallery?ctype=text/css&amp;action=raw"></script>
-
jQuery.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=53364422@N06&format=json&callback=?",
+
-
function(data){
+
-
  $.each(data.items, function(i,item){
+
-
var picture = item.media.m;
+
-
var full = picture.str_replace('_m.jpg', '_b.jpg');
+
-
var html = '<div class="gallery-item"><a href="' + full + '" title="' + item.title + '"><img src="' + picture + '" /></a></div>';
+
-
$(html).appendTo('#gallery');
+
-
  });
+
-
});
+
-
</script>
+
<div id="gallery"></div>
<div id="gallery"></div>
 +
 +
<div class="clear">&nbsp;</div>
</html>
</html>
{{:Team:UCL_London/templates/v2/footerFullWidth}}
{{:Team:UCL_London/templates/v2/footerFullWidth}}

Latest revision as of 22:35, 24 October 2010

UCL IGEM 2010

RETURN TO IGEM 2010

 

Retrieved from "http://2010.igem.org/Team:UCL_London/Photo_Gallery"