Steve,
I think you need to do something like:
function increaseSize(obj,params){
var oldObj = obj;
var oldParams = params;
//alert(obj.width);
obj.width = obj.width+10;
obj.height = obj.height+10;
if (params.endWidth >= obj.width)
{setTimeout("increaseSize(oldObj,oldParams)",1000);}
}
}
-----------------------------------
Steve Baty
senior analyst
Red Square Productions
p: 612 8506 4030
f: 612 8596 4001
e: steve @redsquare.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Onnis
Sent: Tuesday, August 19, 2003 4:03 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: OT : JavaScript
anyone?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve Onnis
Sent: Tuesday, August 19, 2003 3:11 AM
To: CFAussie Mailing List
Subject: [cfaussie] OT : JavaScript
Hey guys
anyone able to help me with this?
function increaseSize(obj,params)
{
//alert(obj.width);
obj.width = obj.width+10;
obj.height = obj.height+10;
if (params.endWidth >= obj.width)
{setTimeout("increaseSize(" + obj + "," + params
+")",1000);}
}
basically i need to recall the function but keep passing the original
arguments back into the function.
cant seem to get it to trigger
Any ideas?
Regards
Steve
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/