change timeline to max height

This commit is contained in:
wlx 2013-04-14 03:45:27 +00:00
parent 3089ce9ff0
commit b9d4f9377e
1 changed files with 5 additions and 1 deletions

View File

@ -13,4 +13,8 @@ $this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
$this->headScript()->appendFile('/js/time.js');
?>
<div class="row-fluid"><?= $this->partial('data/tools.phtml'); ?></div>
<div id="tl" class="timeline-default" style="clear:left;height: 400px;"> </div>
<div id="tl" class="timeline-default" style="clear:left;height: 400px;"> </div>
<script type="text/javascript" charset="utf-8">
$('#tl').height($(window).height());
$("html,body").animate({scrollTop:$('#tl').offset().top},600);
</script>