Hi guys,
I have a total case of mental block today. This function recieves a variable, and then needs to set up a timer which calls another function, sending on that variable to the timered function.
With me?
I want it to pass the "which2" variable on to the fadeoutest function, but it doesn't seem to want to; script error messages.Code:function process(which2){ cleartimer() setTimeout("fadeoutest(which2)",50) }
I could do this:
But it doesn't seem like a very good way to do it.Code:function process(which2){ cleartimer() var2=which2 setTimeout("fadeoutest(var2)",50) }
Is that the only workaround?
cr3ative







Bookmarks