peachananr / simple-text-rotator

Add a super simple rotating text to your website with little to no markup
http://peachananr.github.io/simple-text-rotator/demo.html
GNU General Public License v2.0
748 stars 249 forks source link

PLEASE MAKE THIS CHANGE TO YOUR DOCUMENTATION. Thanks. #24

Open ghost opened 10 years ago

ghost commented 10 years ago

$(".rotate").textrotator({ animation: "dissolve", // You can pick the way it animates when rotating through words. Options are dissolve (default), fade, flip, flipUp, flipCube, flipCubeUp and spin. separator: "," // If you don't want commas to be the separator, you can define a new separator (|, &, * etc.) by yourself using this field. speed: 2000 // How many milliseconds until the next word show. });

Should be ( PLEASE NOTE THE CHANGE ) Wrong separator: "," Right separator: ",",

$(".rotate").textrotator({ animation: "dissolve", // You can pick the way it animates when rotating through words. Options are dissolve (default), fade, flip, flipUp, flipCube, flipCubeUp and spin. separator: ",", // If you don't want commas to be the separator, you can define a new separator (|, &, * etc.) by yourself using this field. speed: 2000 // How many milliseconds until the next word show. });

ghost commented 10 years ago

I came here to write the exact same thing! It tripped me up too!

cassidyjames commented 9 years ago

Looks like this was fixed?