Simple Text Rotate
General
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.
Notes
- Created by: mrhoo
- Web Site: WebDeveloper.com Forums
- Posted: April 6, 2007
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: simpleTextRotate.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(5 comments)Your question is beyond the scope of these comments. You will need to post it over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!
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
You need to submit your question to the [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]JavaScript Forum[/a].
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
The simple-text-rotate.html file is exactly what I was looking for. Thank you! Helmut