[Proto-Scripty] Effect.appear doesn't function correctly when inside a function

2010-07-15 Thread Silvershaft
I got a little problem with using the Effect.appear function, if I put it like this function checkLogin() { Effect.BlindDown('error'); return false; } It works crap that way, I have to click the button two times to make the effect come, but if I put the text right inside the onClick funct

[Proto-Scripty] BlindDown issue, won't work

2010-07-19 Thread Silvershaft
Hey I got a little problem with my div what should appear if the login fails, the alert will show up meaning that the function works, but the blinddown doesn't work. Code for checkLogin function function checkLogin() { var username = $('#name').attr('value'); var password = $('#pas

[Proto-Scripty] Re: BlindDown issue, won't work

2010-07-19 Thread Silvershaft
Yes but I got the problem with the effect thing, why won't the BlindDown work, I even tried to make another function and called it from onClick but nothing.,. I thought scriptaculous issues come here :P On 19 heinä, 16:24, Guillaume Lepicard wrote: > hi Silvershaft, > > You'r