Team:NYU Gallatin/Notebook/Photos

From 2012.igem.org

(Difference between revisions)
m
Line 47: Line 47:
    
    
   <div class="content clearfix">
   <div class="content clearfix">
-
     <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><div id="flickr-images"></div>
+
     <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><div id="flickr-images">Loading Images...</div>
<script type="text/javascript">
<script type="text/javascript">
<!--//--><![CDATA[// ><!--
<!--//--><![CDATA[// ><!--
-
$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=85815851@N04&lang=en-us&format=json&jsoncallback=?", displayImages);
+
setTimeout(function() {$.getJSON(flickr_main_url, displayImages);},1500);
function displayImages(data) {
function displayImages(data) {
     // Start putting together the HTML string
     // Start putting together the HTML string

Revision as of 03:11, 3 October 2012