summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-06-26 17:40:19 -0300
committerSilvio <silvio@socioambiental.org>2013-06-26 17:40:19 -0300
commited96b9b69718246532196f03c0f3bf17545ef299 (patch)
tree96c10596d4ffcdeaf1a8cc36594d2ecac4f696d7
parentf4f5bfc0f8e4a482dad81fee5eea77cf03191991 (diff)
downloadtimelinejs-ed96b9b69718246532196f03c0f3bf17545ef299.tar.gz
timelinejs-ed96b9b69718246532196f03c0f3bf17545ef299.tar.bz2
Fixing embed size
-rw-r--r--timelinejs.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/timelinejs.module b/timelinejs.module
index 2fc660f..30c6e92 100644
--- a/timelinejs.module
+++ b/timelinejs.module
@@ -181,9 +181,9 @@ function timelinejs_widget($nid = NULL, $width = '960px', $height = '500px') {
// Format output and include timeline.
$output = '<!DOCTYPE html>';
$output .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
- $output .= '<html><head>';
+ $output .= '<html style="height: 100%;"><head>';
$output .= '<title>'. t('Timeline: @title', array('@title' => $node->title)) .'</title>';
- $output .= '</head><body class="widget timeline-widget">';
+ $output .= '</head><body class="widget timeline-widget" style="height: 100%;">';
$output .= timelinejs($nid, $width, $height);
$output .= '</body></html>';