westdc-zf1/application/default/views/scripts/data/timeline.phtml

20 lines
979 B
PHTML
Raw Normal View History

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('时间轴导航');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/metadata.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/data/timeline">时间轴导航</a>');
$this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/timeline_var.js');
2013-04-14 13:02:47 +00:00
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js?bundle=true');
$this->headScript()->appendFile('/js/time.js');
?>
<div class="row-fluid"><?= $this->partial('data/tools.phtml'); ?></div>
2013-04-14 03:45:27 +00:00
<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>