# HG changeset patch # User mzeidler # Date 1380585307 14400 # Node ID e4b30166e3114a69f08e6d718b491e174ecbf5dc # Parent 1a06678bafa6c5ed70b687efefad91f28cbef774 Uploaded diff -r 1a06678bafa6 -r e4b30166e311 jqBarGraph.2.1.js --- a/jqBarGraph.2.1.js Mon Sep 30 13:34:10 2013 -0400 +++ b/jqBarGraph.2.1.js Mon Sep 30 19:55:07 2013 -0400 @@ -479,7 +479,7 @@ hei=$('.files'+elid).height(); hei=parseInt(hei)+10; hei=hei>400? hei=400 : hei; - $('.files'+elid).css({'height': curr_hei+'px', 'width':'915px','position':'relative', 'overflow' : 'auto','background-color':'rgb(223, 229, 249)', 'border':'2px solid silver', 'display':'block' }).animate({'height':hei+'px'}, 1000); + $('.files'+elid).css({'height': curr_hei+'px', 'width':wi+'px','position':'relative', 'overflow' : 'auto','background-color':'rgb(223, 229, 249)', 'border':'2px solid silver', 'display':'block' }).animate({'height':hei+'px'}, 1000); } }; @@ -489,9 +489,9 @@ div.innerHTML=""; out="

Consensus Image for Region "+region+"

"; newImg= new Image(); - newImg=consensus_image - wid=newImg.naturalWidth - hig=newImg.naturalHeight + newImg.src=consensus_image; + wid=newImg.naturalWidth; + hig=newImg.naturalHeight; out+="+consensus_image+"; $(div).append(out)