As you can see, I’ve been having a bit of fun with my DD.
I want to put my warning label in so that it scrolls across the bottom of the screen. But it does not seem to be working. here is the code I have got:
function scrollit(seed) {var msg=”Warning: prolonged exposure to Bungo Loamsdown will result in a warping of sense of humour, exposure to bad jokes, prolonged bouts of reading self-depreciating literature, frustration at lack of quote answering abilites, and sudden urge to listen to songs starting ‘Where is Mona, She’s long gone’.”;var out = ” “;var c=1;if(seed>100){seed–;cmd=”scrollit(“+seed+”)”;timerTwo=window.setTimeout(cmd,100);}else if (seed 0) {for (c=0 ; c < seed ; c++) {out+=" ";}out+=msg;seed–;window.status=out;cmd="scrollit("+seed+")";timerTwo=window.setTimeout(cmd,100);}else if (seed <= 0) {if (-seed < msg.length) {out+=msg.substring(-seed,msg.length);seed–;window.status=out;cmd="scrollit("+seed+")";timerTwo=window.setTimeout(cmd,100);}else {window.status=" ";timerTwo=window.setTimeout("scrollit(100)",75);}}}onLoad=”scrollit(100)”>
Now, apart from taking out the star at the begining, where am I going wrong? And where in my DD should it go?
Also, does anyone have the code for text that appears as typed, as I accedentally deleted it?
Thanks.
Will

Loading comments...