Template:ETHZ Basel10 Teaser
From 2010.igem.org
(Difference between revisions)
Line 141: | Line 141: | ||
//Set Variables | //Set Variables | ||
var imgAlt = $(this).find('img').attr("alt"); //Get Alt Tag of Image | var imgAlt = $(this).find('img').attr("alt"); //Get Alt Tag of Image | ||
- | var imgTitle = $(this).find(' | + | var imgTitle = $(this).find('lk').attr("href"); //Get Main Image URL |
var imgDesc = $(this).find('.block').html(); //Get HTML of block | var imgDesc = $(this).find('.block').html(); //Get HTML of block | ||
var imgDescHeight = $(".main_image").find('.block').height(); //Calculate height of block | var imgDescHeight = $(".main_image").find('.block').height(); //Calculate height of block |
Revision as of 08:16, 20 October 2010