fix time step

This commit is contained in:
wlx 2010-06-29 03:50:14 +00:00
parent 7fe58e349c
commit 7b1d80e5d8
1 changed files with 3 additions and 4 deletions

View File

@ -60,7 +60,7 @@ window.onload=function() {
"title" : "<?php echo $row['title']; ?>",
"options" : {
// set the full HTML for the info window
"infoHtml": "<a href=/data/<?php echo $row['uuid']; ?>><?php echo $row['title']; ?></a><hr /><img src=/data/thumb/id/<?php echo $row['id']; ?> />"
"infoHtml": "<a href=/water/<?php echo $row['uuid']; ?>><?php echo $row['title']; ?></a><hr /><img src=/data/thumb/id/<?php echo $row['id']; ?> />"
}
},
<?php endforeach; ?>
@ -69,15 +69,14 @@ window.onload=function() {
}
],
bandIntervals: [
Timeline.DateTime.MONTH,
Timeline.DateTime.DECADE
Timeline.DateTime.WEEK,
Timeline.DateTime.YEAR
]
});
// manipulate the timemap further here if you like
}
window.onunload=GUnload();
<?php $this->headScript()->captureEnd(); ?>
<div id='tools'><?= $this->partial('data/tools.phtml'); ?></div>
<div id="timemap" style="clear:both;">
<div id="timeline" style="height:300px;width:100%;"></div>
<div id="map" style="height:300px;"></div>