Prototype Marquee
Post Categories: Development • Javascript • Prototype |Posted on November 9th, 2008While developing a website for a client, I was tasked with creating text that would fade in and out continuously. I figured that use case would be useful for many websites so I decided to create a class. It turns out the class is useful for cases where any html content has to be shown and hidden. The class is called Marquee.
I wrote several methods for controlling the Marquee class. Although I didn’t implement them for my current use case, I though they would be useful in the future. Methods included are
- load
- append
- start
- stop
- clear
- empty
- next
- previous
- start
- stop
- change
- before
- after
Tags: JavaScript Frameworks, Prototype
6 Comments »