Navigation Menu

Skip to content

Commit

Permalink
stop timeline plugin from inserting css file [#878]
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher De Cairos committed Dec 22, 2011
1 parent 7d9c150 commit 238ec57
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions plugins/timeline/popcorn.timeline.js
Expand Up @@ -26,14 +26,7 @@
*
*/

var i = 1,
head = document.getElementsByTagName( "head" )[ 0 ],
css = document.createElement( "link" );

css.type = "text/css";
css.rel = "stylesheet";
css.href = "//popcornjs.org/code/plugins/timeline/popcorn.timeline.css";
head.insertBefore( css, head.firstChild );
var i = 1;

Popcorn.plugin( "timeline" , function( options ) {

Expand Down Expand Up @@ -81,8 +74,8 @@
// Default to empty if not used
//options.innerHTML = options.innerHTML || "";

contentDiv.innerHTML = "<p><span id='big'>" + options.title + "</span><br />" +
"<span id='mid'>" + options.text + "</span><br />" + options.innerHTML;
contentDiv.innerHTML = "<p><span id='big' style='font-size:24px; line-height: 130%;' >" + options.title + "</span><br />" +
"<span id='mid' style='font-size: 16px;'>" + options.text + "</span><br />" + options.innerHTML;

return {

Expand Down

0 comments on commit 238ec57

Please sign in to comment.