Click to See Complete Forum and Search --> : OnLoad


flambor
05-25-2003, 07:25 AM
I've got two onLoad scripts in my head tag. One is for the welcome message coming towards you referring to the Head section. Another one is a page loading referring to a script in Body. Together these two onLoads will work but the 'Please Wait' one doesn't dissappear which it is supposed to do. Does anybodyt know how to fix this. It is at this address (http://homepage.ntlworld.com/michael_naylor/homepagemaine.htm)

Thank you.

AdamGundry
05-25-2003, 07:29 AM
You have not defined the variable T. Use this:
document.getElementById('T')

Adam

flambor
05-25-2003, 07:32 AM
where shall i put that. i don't know anything about JS

AdamGundry
05-25-2003, 07:35 AM
You have many lines like the following:
T.style.width = currentStep;

You should instead use something like this:
document.getElementById('T').style.width = currentStep;

Adam

flambor
05-25-2003, 07:43 AM
i changed what you said, it still doesn't do what i want it to. maybe it would be easier for you to edit the source code an dsend it to my e-mail or something? andrew_naylor@ntlworld.com
My web site (http://clik.to/enjoyment)

flambor
05-25-2003, 07:53 AM
i changed what you said, it still doesn't do what i want it to. maybe it would be easier for you to edit the source code an dsend it to my e-mail or something? andrew_naylor@ntlworld.com
My web site (http://clik.to/enjoyment)

AdamGundry
05-25-2003, 12:58 PM
Ok, I think the attached file now does what it is supposed to. Download it and save it as .htm.

Adam

flambor
05-26-2003, 07:04 AM
thank you very, very much.!!!!