Thank you, do as you said and it works.
Define
var curwidth;
var curheight;
outside of any functions or jQuery blocks. Then, refer to them inside your
functions without the var in front.
Ted
On Fri, Jul 17, 2009 at 1:01 PM, runrunforest wrote:
>
> make the curwidth and curheight variables global, could you help me?
>
>
make the curwidth and curheight variables global, could you help me?
I think your problem has to do with scope int hat curwidth and
curheight can only be seen inside the first function
if you pass them in to the second function some how or set them as
global values then you'll be ok
Mean Mike
On Jul 17, 5:59 am, runrunforest wrote:
> Hi,
>
> I want to animate th
4 matches
Mail list logo