I'm trying to make a funtion that executes a few seconds after a page is loaded, and this function needs to execute two other functions I've already created. But since I'm new to javascripting I'm not really sure where I should even start.. I looked at the getTime() funtion, but that seems to deal with days and months more than seconds.. and that doesn't help. Is there a function, like the getTimer() function in Flash, that marks seconds?
The plan is when my first page opens it will display a logo for a few seconds, it then needs to run a function that both opens a smaller window and makes the original window itself move off screen so as not to be seen until focused on again.
I've got the window.move thing down, and that works fine both appearing and disappearing, and I've also got the function that opens and constrains the smaller window. But whenever I include those two functions in an onLoad event, either one or the other of them won't execute depending on which is second in line.. it only executes the first function before the window the blurs.
Any ideas?
The plan is when my first page opens it will display a logo for a few seconds, it then needs to run a function that both opens a smaller window and makes the original window itself move off screen so as not to be seen until focused on again.
I've got the window.move thing down, and that works fine both appearing and disappearing, and I've also got the function that opens and constrains the smaller window. But whenever I include those two functions in an onLoad event, either one or the other of them won't execute depending on which is second in line.. it only executes the first function before the window the blurs.
Any ideas?