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

24 lines
921 B
PHTML
Executable File

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('时间轴导航');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->headScript()->appendFile('/js/timeline_var.js');
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
$this->headScript()->appendFile('/js/yrnmrtime.js');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div id="tl" class="timeline-default" style="height:600px;"> </div>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$('#tl').height($(window).height());
$("html,body").animate({scrollTop:$('#tl').offset().top},600);
</script>