Team:UCLondon/Templates/Team-Style

From 2012e.igem.org

(Difference between revisions)
 
Line 131: Line 131:
   input +=  "<div style='overflow:auto; width:58%; height:90%; float:right; text-align:justify;'><p style='padding-right:13px;'>"+ description.html() + "</p>";
   input +=  "<div style='overflow:auto; width:58%; height:90%; float:right; text-align:justify;'><p style='padding-right:13px;'>"+ description.html() + "</p>";
   
   
-
  alert($(this).children().children('.attribution').html());
+
  if ($(this).children().children('.attribution').html() != undefined){
-
  if ($(this).children().children('.attribution') != undefined){
+
   input += "<br/><div style='color:rgb(117, 117, 117);'> Attributions:</div>" +  "<div style='text-align:left; padding-left:0px; padding-right:0px; font-size:9pt; color:rgb(117, 117, 117);'>" + $(this).children().children('.attribution').html() + "</div>";
   input += "<br/><div style='color:rgb(117, 117, 117);'> Attributions:</div>" +  "<div style='text-align:left; padding-left:0px; padding-right:0px; font-size:9pt; color:rgb(117, 117, 117);'>" + $(this).children().children('.attribution').html() + "</div>";

Latest revision as of 01:56, 28 October 2012