├── README.md ├── demo ├── flipping_text_demo.html └── jquery.flipping_text.js ├── jquery.flipping_text.js └── jquery.flipping_text.min.js /README.md: -------------------------------------------------------------------------------- 1 | #Flipping Text by Pete R. 2 | Create a ticking intro animation for your typography 3 | Created by [Pete R.](http://www.thepetedesign.com), Founder of [BucketListly](http://www.bucketlistly.com) 4 | 5 | 6 | ## Demo 7 | [View demo](http://peachananr.github.io/flipping_text/demo/flipping_text_demo.html) 8 | 9 | ## Compatibility 10 | Modern browsers such as Chrome, Firefox, and Safari on both desktop and smartphones have been tested. I have not tested this on IE. 11 | 12 | ## Basic Usage 13 | To create a ticker effect for you typography, simply include the latest jQuery library together with `jquery.flipping_text.js` into your document's `
`, and call the function as follows: 14 | 15 | ````javascript 16 | $(".intro").flipping_text({ 17 | tickerTime: 10, // Define a time between each ticket in milliseconds. The default value is 10. 18 | customRandomChar: false, // You can use your own random strings by defining them here. The default value is false which will use my random string: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' 19 | tickerCount: 10, // Set the number of characters randomly shown before the real text is shown here. The default value is 10. 20 | opacityEffect: true, // You can toggle the opacity effect here. Set this to false if you don't want the random text to fade in. The default value is 10. 21 | resetOnChange: false // Toggle this to true if you want the plugin to stop and fill in all the text immediately when the user changes browser's tab. The default value is false. 22 | }); 23 | ```` 24 | 25 | Now all you have to do is laid your HTML markup as shown below: 26 | 27 | ````html 28 |Created by Pete R., Founder of BucketListly
440 |