How to rotate texts like this: http://www.jsmadeeasy.com/javascripts/Random Stuff/random_text_rotator/template.htm using CSS Can anyone help Thanks
CSS = Cascading Style Sheets. There for styling of your markup. Which means you cant do anything like that in CSS. If you dont want to use Javascript rotater, try a PHP or ASP version depending on which type of server you are on.
It certainly can be done through PHP. If you have wordpress, there's a bunch of these sorts of plugins available. I'd have a look and adapt, or have a look at http://www.hotscripts.com
In fact, quick gander churned up this http://www.hotscripts.com/PHP/Scripts_and_Programs/Randomizing/Random_Text/index.html
I use this in one of my sites and works fine. <? $random = rand(0, 2); if ($random == "0") { include ("/home/***/public_html/file1.php");} if ($random == "1") { include ("/home/***/public_html/file2.php");} if ($random == "2") { include ("/home/***/public_html/file3.php");} ?> Code (markup): In this script, PHP will pick a number at random between 0 and 2 (so could be 0, 1 or 2). Depending on what it picks it includes the corresponding file. Nice and simple.