i have a site i am building , i have a content div and in my header i have login button. when i click the login button , i mask the content div , and display a float div above it.
so far its all good :) , i have a close button to close the floating div and unmask the content div.
the issue is : when i fade('out') , i want to unmask onComplete. -> the problem is this effect the fade('in') also !!
On Monday, September 10, 2012 11:44:24 PM UTC+3, idan Hen wrote:
> Hey ,
> i have a site i am building , i have a content div and in my header i have > login button. > when i click the login button , i mask the content div , and display a > float div above it.
> so far its all good :) , i have a close button to close the floating div > and unmask the content div.
> the issue is : > when i fade('out') , i want to unmask onComplete. -> the problem is this > effect the fade('in') also !!
The jsFiddle doesn't run -- in the HTML box, you want to put just the
innerHTML of the BODY, and you also refer to $('page_login_wrapper')
and I don't see such an element.
its hard to do it , but basicly the request i have is : a div , that on tween fade in complete will do 1 thing , and on tween fade out complete will do something else.
since jquery has callback function -> its easy , and in mootools i have a problem.
since the onComplete function will run for both fade in and out !
On Monday, September 10, 2012 11:44:24 PM UTC+3, idan Hen wrote:
> Hey ,
> i have a site i am building , i have a content div and in my header i have > login button. > when i click the login button , i mask the content div , and display a > float div above it.
> so far its all good :) , i have a close button to close the floating div > and unmask the content div.
> the issue is : > when i fade('out') , i want to unmask onComplete. -> the problem is this > effect the fade('in') also !!
> its hard to do it , but basicly the request i have is :
> a div , that on tween fade in complete will do 1 thing , and on tween > fade out complete will do something else.
> since jquery has callback function -> its easy , and in mootools i > have a problem.
> since the onComplete function will run for both fade in and out !
> On Monday, September 10, 2012 11:44:24 PM UTC+3, idan Hen wrote:
> Hey ,
> i have a site i am building , i have a content div and in my
> header i have login button.
> when i click the login button , i mask the content div , and
> display a float div above it.
> so far its all good :) , i have a close button to close the
> floating div and unmask the content div.
> the issue is :
> when i fade('out') , i want to unmask onComplete. -> the problem
> is this effect the fade('in') also !!
On Monday, September 10, 2012 11:44:24 PM UTC+3, idan Hen wrote:
> Hey ,
> i have a site i am building , i have a content div and in my header i have > login button. > when i click the login button , i mask the content div , and display a > float div above it.
> so far its all good :) , i have a close button to close the floating div > and unmask the content div.
> the issue is : > when i fade('out') , i want to unmask onComplete. -> the problem is this > effect the fade('in') also !!