-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added marquee for long episode titles
- Loading branch information
SolarFloss
committed
Jul 26, 2017
1 parent
53dc441
commit 07003e8
Showing
1 changed file
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
//const parser = require("rss-parser"); | ||
|
||
|
||
/* | ||
parser.parseURL('http://feeds.gimletmedia.com/crimetownshow', function(err,parsed){ | ||
var audioLink = parsed.feed.entries[0].enclosure.url; | ||
console.log(audioLink); | ||
var sound = new Howl({ | ||
src: [audioLink], | ||
html5: true | ||
}); | ||
//sound.play(); | ||
}); | ||
*/ | ||
var scroll = false; | ||
function start(e){ | ||
if(scroll){ | ||
e.getElementsByClassName("marquee")[0].classList.remove("marquee-scroll"); | ||
scroll = false; | ||
}else{ | ||
e.getElementsByClassName("marquee")[0].classList.add("marquee-scroll"); | ||
scroll = true; | ||
} | ||
|
||
} |