metanohi-misc-subsites/old-projects/x/mtitle.htm

12 lines
477 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3c.org/1999/xhtml"><head><title>Moving Title</title><script type='text/javascript'>
msg="This text is starting over again and again... "
d=document
c=0
function mtitle() {
d.title=msg.substr(c)+msg.substr(0,c)
if (c<msg.length) c+=1
else c=1
t=setTimeout("mtitle()",100)
}
window.onload=mtitle
</script></head><body></body></html>