Skip to content

Airport is a rather simple text effect plugin for Jquery. It emulates the style of those flickering information boards you sometimes find on airports and train stations.

Notifications You must be signed in to change notification settings

okcoker/jquery-airport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Airport

Airport is a rather simple text effect plugin for Jquery. It emulates the style of those flickering information boards you sometimes find on airports and train stations. Demo

How to use Airport

Airtport is very easy to use. Create an element, give it an ID and throw airport on it. The values, moscow, berlin and stockholm, are the words it will flick through.

$( element ).airport([ 'moscow', 'berlin', 'stockholm' ]);

Options

transition_speed - {number} Time in ms before switching to the next word

Default value - 1000,

loop - {boolean} Choose whether to stop at the end of your values or keep looping through

Default value - true,

fill_space {boolean} - Puts spaces (nbsp) after shorter words to fill in space of your longest word

Default value - false

colors {String} - List of comma separated colors to randomly color your values i.e. '#b5c523,#E7860E'

Default value - null

Special Thanks

Original work by Jan Järfalk

About

Airport is a rather simple text effect plugin for Jquery. It emulates the style of those flickering information boards you sometimes find on airports and train stations.

Resources

Stars

Watchers

Forks

Packages

No packages published