This is what I came up with so far:

 

if ($('windowContent').style.display == 'none') {

                                                                                    Effect.Appear('window',{queue:{scope:'myscope', position:'end'}});

                                                                                    Effect.toggle('windowContent','blind',{queue:{scope:'myscope', position:'end'}});

                                                                        } else {

                                                                                    Effect.Appear('window');

                                                                        }

 

Although, it’s kind of working, the blindDown is not very smooth after the Effect.Appear.

 

Is this the correct way to do this?

 

Thank you

 

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to