I worked yet on this problem, and i wonder another time :
Why cant i have this script work (how could i have it work) ?
Code: Select all
index=0
message='Bienvenue'
function frapper()
{
Emplacement=message.slice(0, index)
if(index++<message.length)
setTimeout('frapper()', 100)
}
Emplacement=document.title
frapper()NB: i found a solution that works :
Code: Select all
eval(instructions_arrayїinstruction_no]I'd like to find a more elegant one.
Do you have an idea ?
Thanx for the help !