Team:NYU Gallatin/Notebook/Photos

From 2012.igem.org

(Difference between revisions)
m
 
(2 intermediate revisions not shown)
Line 28: Line 28:
   <div class="content">
   <div class="content">
     <ul class="menu clearfix"><li class="first leaf"><a href="/Team:NYU_Gallatin/Notebook" title="">Notebook</a></li>
     <ul class="menu clearfix"><li class="first leaf"><a href="/Team:NYU_Gallatin/Notebook" title="">Notebook</a></li>
-
<li class="leaf active-trail"><a href="/Team:NYU_Gallatin/Notebook/Photos" title="" class="active-trail active">Photos</a></li>
+
<li class="last leaf active-trail"><a href="/Team:NYU_Gallatin/Notebook/Photos" title="" class="active-trail active">Photos</a></li>
-
<li class="last leaf"><a href="/Team:NYU_Gallatin/Notebook/Videos" title="">Videos</a></li>
+
</ul>  </div>
</ul>  </div>
</div>
</div>
Line 47: Line 46:
    
    
   <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
Line 74: Line 73:
      
      
     // Close down the JSON function call
     // Close down the JSON function call
-
 
-
    Drupal.attachBehaviors();
 
}
}
//--><!]]>
//--><!]]>
-
</script></div></div></div>  </div>
+
</script><p>
 +
<a href="http://www.flickr.com/photos/85815851@N04/" target="_new">Check out our Flickr to see all of our photos!</a></p>
 +
</div></div></div>  </div>
    
    

Latest revision as of 02:51, 4 October 2012