Dokładnie to nie to o co Ci chodzi, ale może coś skorzystasz z tego
Kod
<div id="jakis_div"></div>
<script language="javascript" type="text/javascript">
<!--
numer = 0;
czas = 1000; // w milisekundach
txt = new Array();
txt[0] = "Ble ble ble";
txt[1] = "jakiś link: <a href=\"http://forum.php.pl/\">forum</a>";
txt[2] = "Ble ble ble 2";
function napis() {
document.getElementById("jakis_div").innerHTML = txt[numer];
nr++;
if (numer>=txt.length) nr=0;
setTimeout("napis()",czas);
}
napis();
// -->
</script>