[jQuery] Passing variables between two function

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ; $(".nav_slider").mousemove(funct

[jQuery] Passing variables between two function

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ; $(".nav_slider").mousemove(funct