Team:UCLondon/Templates/Team-Style

From 2012e.igem.org

(Difference between revisions)
Line 115: Line 115:
   $('#shadow').center();
   $('#shadow').center();
   var description = $(this).children().children('.description');  
   var description = $(this).children().children('.description');  
-
   var input = "<div style='overflow:auto; width:55%; height:90%; float:left;'><p>"+ description.html() + "</p></div>";
+
   var input = "<div style='float:left; width:40%; margin:auto; color:rgb(117, 117, 117) !important;'>" + $(this).children().children('a').html() + $(this).children().children('.position').html() + "</div>";
-
  input += "<div style='float:right; width:40%; margin:auto; color:rgb(117, 117, 117) !important;'>" + $(this).children().children('a').html() + $(this).children().children('.position').html() + "</div>";
+
  input +=  "<div style='overflow:auto; width:55%; height:90%; float:right;'><p>"+ description.html() + "</p></div>";
   $('#shadow').toggle('slow', function() {
   $('#shadow').toggle('slow', function() {

Revision as of 10:10, 18 September 2012