XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
setTimeout(function(){}) https://www.bbs.xwidget.com/viewtopic.php?f=3&t=2205 |
Page 1 of 1 |
Author: | Sooner266 [ October 9th, 2012, 10:35 am ] |
Post subject: | setTimeout(function(){}) |
It would be really useful to those of us making expandable skins if you could implement one or both of the other two overloads of setTimeout: setTimeout(function(){body}, timeout); //where body could be another function with a parameter list and/or setTimeout(function, timeout, parameter); Because right now, there is no way to pass a parameter to a function with setTimeout because this: setTimeout("function(parameter)",timeout); doesn't work in Javascript. If you're going to pick one, I think the first one would be much more useful for all kinds of things. Thanks! |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |