Simple Text Rotate | JavaScriptSource

Simple Text Rotate

JavaScriptSource Staff Apr 6, 2007


This script will display random text messages, which can be styled using CSS. Add as many as you want.

Quote of the Day: If it aint broke. Get a bigger hammer. Change is inevitable; progress is optional. Do not attribute any action to malice that can be explained by stupidity. The box said "Requires Windows 95, NT, or better", so I installed Linux.


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: simpleTextRotate.js


Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document

Leave a Response


Your question is beyond the scope of these comments. You will need to post it over on [a href=""]the JavaScript forum[/a]. Thanks!

Lee Oct 31, 2008

basically i have this script working for a testimonial section of my site. It works perfectly in FireFox but creates and "error on page" message in IE and doesn't load the script. Once you hit the reload but in IE, it then activates the script and low and behold i can see the testimonials.[br /][br /]The main page is compiled of 3 Frames. index. header. footer[br /]the testimonials, when working, are in the header.[br /][br /]Can anyone please help me out

john Feb 8, 2008

You need to submit your question to the [a href=""]JavaScript Forum[/a].

Lee May 25, 2007

Your script for Simple Text Rotate is great and I thank you. Unfortunately I am not proficient at javascript and do not know how to change it from random to sequential. I need it for displaying testimonials for my client's website and I think it would annoy visitor. If you could help me with a solution I would be forever in your debt.[p]Thx

Aaron Wahlquist May 2, 2007

The simple-text-rotate.html file is exactly what I was looking for. Thank you! Helmut

Helmut Apr 23, 2007