Displaying 1 result from an estimated 1 matches for "blindtoggle".
2005 Jun 24
1
Blind Toggle "effect"
...or if it can be done better. I am using it though and
it seems to be working fine.
Anyway, here''s the code and if you think it''s worthy of being in the
main lib, then go ahead and add it, otherwise, use it alone if you
think it''s useful to you.
Thanks,
Andrew
Effect2.BlindToggle = function(element) {
$(element).style.display == ''none''
? new Effect2.BlindDown(element).extend(arguments[1] || {})
: new Effect2.BlindUp(element).extend(arguments[1] || {})
}