summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-06-25 19:22:19 -0300
committerSilvio <silvio@socioambiental.org>2013-06-25 19:22:19 -0300
commit7bcb8a262f11b308575115fb5cfd463d3f4dbda9 (patch)
treefff738721ce6107f4e4a87014487ba42d7705422
parent7cb8f306fba65d320e5d4529c3ecb1b40fb0d0e4 (diff)
downloadtimelinejs-7bcb8a262f11b308575115fb5cfd463d3f4dbda9.tar.gz
timelinejs-7bcb8a262f11b308575115fb5cfd463d3f4dbda9.tar.bz2
Removing hardcoded width/height parameter
-rw-r--r--timelinejs.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs.tpl.php b/timelinejs.tpl.php
index cd8a846..9fa4ff6 100644
--- a/timelinejs.tpl.php
+++ b/timelinejs.tpl.php
@@ -1,5 +1,5 @@
<!-- BEGIN Timeline Embed -->
-<div id="timeline-embed" style="width:960px; height: 500px;"></div>
+<div id="timeline-embed" style="width:<?print $width; ?>; height: <?php print $height; ?>;"></div>
<script type="text/javascript">
var timeline_config = {
width: "<?php print $width; ?>",