Soldato
- Joined
- 12 Feb 2006
- Posts
- 17,651
- Location
- Surrey
this is seriously simple i know i just can't seem to do it, perhaps it's because it's late i don't know but i'm hoping when i get up someone can give me the nice and easy solution so i can get on with my work.
i want to create a function and then be able to call it from a timer.
i tried
didn't work 
just in case it makes a difference what i'm trying to do is have 3 functions (change1,change2,change3) running one at a time. change1 checks if there is an element with id1, if yes do effect, wait a bit of time, then run change2, if id1 doesn't exist just do change2 straight away. change2 does same, checks, moves onto change3, which restarts again.
i want to create a function and then be able to call it from a timer.
i tried
PHP:
change1(function(){
// do cool jquery amazing stuff
})

just in case it makes a difference what i'm trying to do is have 3 functions (change1,change2,change3) running one at a time. change1 checks if there is an element with id1, if yes do effect, wait a bit of time, then run change2, if id1 doesn't exist just do change2 straight away. change2 does same, checks, moves onto change3, which restarts again.