stargrl329
08-01-2003, 06:08 PM
I got this script for a flashing title:
<script language="JavaScript">
/* This is dodo's flash title script */
/* Taken from http://regretless.com/dodo/newworld/ */
var dodosflashtitle1='*. Dodo\'s New world - kitty kitty .*'; // put frame 1 text
var dodosflashtitle2='.* Dodo\'s New world - kitty kitty *.'; // put frame 2 text
var dodosduration = 500; // duration high = slower animation
step=0
function dodosflashtitle()
{
step++
if (step==3) {step=1}
if (step==1) {document.title=dodosflashtitle1}
if (step==2) {document.title=dodosflashtitle2}
setTimeout("dodosflashtitle()", dodosduration);
}
dodosflashtitle()
</script>
I wanted it to have 6 frames, so I edited it like this:
<script language="JavaScript">
/* This is dodo's flash title script */
/* Taken from http://regretless.com/dodo/newworld/ */
var dodosflashtitle1='...*andreas page*...;// put frame 1 text
var dodosflashtitle2='..*.andreas page.*..;// put frame 2 text
var dodosflashtitle3='.*..andreas page..*.;// put frame 2 text
var dodosflashtitle4='*...andreas page...*;// put frame 2 text
var dodosflashtitle5='.*..andreas page..*.;// put frame 2 text
var dodosflashtitle6='..*.andreas page.*..;// put frame 2 text
var dodosduration = 500;// duration high = slower animation
step=0
function dodosflashtitle()
{
step++
if (step==3) {step=1}
if (step==1) {document.title=dodosflashtitle1}
if (step==2) {document.title=dodosflashtitle2}
if (step==3) {document.title=dodosflashtitle3}
if (step==4) {document.title=dodosflashtitle4}
if (step==5) {document.title=dodosflashtitle5}
if (step==6) {document.title=dodosflashtitle6}
setTimeout("dodosflashtitle()", dodosduration);
}
dodosflashtitle()
</script>
But this doesn't work. Does anyone have any ideas how to get this to work? I've seen it before. Thanks :)
<script language="JavaScript">
/* This is dodo's flash title script */
/* Taken from http://regretless.com/dodo/newworld/ */
var dodosflashtitle1='*. Dodo\'s New world - kitty kitty .*'; // put frame 1 text
var dodosflashtitle2='.* Dodo\'s New world - kitty kitty *.'; // put frame 2 text
var dodosduration = 500; // duration high = slower animation
step=0
function dodosflashtitle()
{
step++
if (step==3) {step=1}
if (step==1) {document.title=dodosflashtitle1}
if (step==2) {document.title=dodosflashtitle2}
setTimeout("dodosflashtitle()", dodosduration);
}
dodosflashtitle()
</script>
I wanted it to have 6 frames, so I edited it like this:
<script language="JavaScript">
/* This is dodo's flash title script */
/* Taken from http://regretless.com/dodo/newworld/ */
var dodosflashtitle1='...*andreas page*...;// put frame 1 text
var dodosflashtitle2='..*.andreas page.*..;// put frame 2 text
var dodosflashtitle3='.*..andreas page..*.;// put frame 2 text
var dodosflashtitle4='*...andreas page...*;// put frame 2 text
var dodosflashtitle5='.*..andreas page..*.;// put frame 2 text
var dodosflashtitle6='..*.andreas page.*..;// put frame 2 text
var dodosduration = 500;// duration high = slower animation
step=0
function dodosflashtitle()
{
step++
if (step==3) {step=1}
if (step==1) {document.title=dodosflashtitle1}
if (step==2) {document.title=dodosflashtitle2}
if (step==3) {document.title=dodosflashtitle3}
if (step==4) {document.title=dodosflashtitle4}
if (step==5) {document.title=dodosflashtitle5}
if (step==6) {document.title=dodosflashtitle6}
setTimeout("dodosflashtitle()", dodosduration);
}
dodosflashtitle()
</script>
But this doesn't work. Does anyone have any ideas how to get this to work? I've seen it before. Thanks :)