Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed code block
  • Loading branch information
MrSaints committed Mar 9, 2014
1 parent 332f29d commit 35269f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ Usage

2. Encapsulate your rotating words in an element and separate each word with a comma or a separator of your choice:

I am a <span id="js-rotating">So Simple, Very Doge, Much Wow, Such Cool</span> Text Rotator
I am a <span id="js-rotating">So Simple, Very Doge, Much Wow, Such Cool</span> Text Rotator

3. Trigger the plugin by calling Morphext() on the element containing the rotating words:

$("#js-rotating").Morphext({
animation: "bounceIn", // Animation type (refer to Animate.css for a list of available animations)
separator: ",", // An array of words to rotate are created based on this separator. Change it if you wish to separate the words differently (e.g. So Simple | Very Doge | Much Wow | Such Cool)
speed: 2000 // The delay between each word in milliseconds
});
$("#js-rotating").Morphext({
animation: "bounceIn", // Animation type (refer to Animate.css for a list of available animations)
separator: ",", // An array of words to rotate are created based on this separator. Change it if you wish to separate the words differently (e.g. So Simple | Very Doge | Much Wow | Such Cool)
speed: 2000 // The delay between each word in milliseconds
});


Prerequisites
Expand All @@ -40,4 +40,4 @@ Prerequisites

License
-------
Morphext is licensed under the MIT license [(http://ian.mit-license.org/)](http://ian.mit-license.org/).
Morphext is licensed under the MIT license [(http://ian.mit-license.org/)](http://ian.mit-license.org/).

0 comments on commit 35269f1

Please sign in to comment.