2013-04-09 03:21:30 +00:00
|
|
|
<?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');
|
|
|
|
$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>
|
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>
|