From: David Seifried Date: Mon, 20 Jun 2011 13:14:56 +0000 (-0400) Subject: [#384] Few small changes, mostly code cleanup X-Git-Tag: v0.7^2~27^2~7 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=22b7e107998afb599b870c1576ff3f9030259ce3;p=popcorn-js.git [#384] Few small changes, mostly code cleanup --- diff --git a/plugins/timeline/popcorn.timeline.html b/plugins/timeline/popcorn.timeline.html index 6507655..0dfcc7e 100644 --- a/plugins/timeline/popcorn.timeline.html +++ b/plugins/timeline/popcorn.timeline.html @@ -87,7 +87,7 @@
-
+
diff --git a/plugins/timeline/popcorn.timeline.js b/plugins/timeline/popcorn.timeline.js index 3830fd0..dd693a2 100644 --- a/plugins/timeline/popcorn.timeline.js +++ b/plugins/timeline/popcorn.timeline.js @@ -39,6 +39,10 @@ Popcorn.plugin( "timeline" , function( options ) { var target = document.getElementById( options.target ); + target.style.float = "left"; + target.style.width = "400px"; + target.style.height = "200px"; + target.style.overflow = "auto"; // create a new div and append it to the parent div so nothing // that already exists in the parent div gets overwritten