Team:Peking/firsttry/js/members.js

From 2014.igem.org

(Difference between revisions)
(Created page with " $(document).ready(function(){ midbodysize(); }); function midbodysize() { var w=$("#midbody").width()-$("#insidemid #midbody .memlist img").width()-50; $(".memi...")
 
Line 1: Line 1:
-
 
-
 
$(document).ready(function(){
$(document).ready(function(){
midbodysize();
midbodysize();
-
 
-
 
});
});
-
 
-
 
-
 
function midbodysize()
function midbodysize()
{
{
-
 
var w=$("#midbody").width()-$("#insidemid #midbody .memlist img").width()-50;
var w=$("#midbody").width()-$("#insidemid #midbody .memlist img").width()-50;
$(".memintro").css("width",w);
$(".memintro").css("width",w);
};
};

Latest revision as of 08:43, 2 October 2014

$(document).ready(function(){ midbodysize(); }); function midbodysize() { var w=$("#midbody").width()-$("#insidemid #midbody .memlist img").width()-50; $(".memintro").css("width",w); };