Martinez, Andrew wrote:
You need to use beforeStartInternal not beforeStart.
Here is an example:
Thanks for showing me the example. I've tried it (& poked around in
effects.js -- to find the useful inspect() function), so I came up with
the following code:
vis = $(this.headers[i]+'Text').visible();
if (vis) {
new Effect.BlindUp(
this.headers[i]+'Text',
{
queue: {scope: 'headers'},
beforeStartInternal: function(effect) {
$('debug').innerHTML = effect.inspect();
}
});
}
In my <div id="debug">, the following prints --> "#,options:#" leading
me to believe that effect is not a pointer to the actual BlindUp effect
being called (as it should be at least populated with defaultOptions?
Any ideas?
~ brice
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs