Team:UCLondon/Templates/Navigationv3

From 2012e.igem.org

(Difference between revisions)
Line 361: Line 361:
                       var url = videoURL + videoID;
                       var url = videoURL + videoID;
                       var thumb = "http://img.youtube.com/vi/"+ videoID +"/default.jpg";
                       var thumb = "http://img.youtube.com/vi/"+ videoID +"/default.jpg";
 +
                      list_data += '<li><a href="'+ url +'" title="'+ feedTitle +'"><img alt="'+ feedTitle+'" src="'+ thumb +'"</a></li>';
                  
                  
               });
               });

Revision as of 20:44, 14 October 2012