tags:

views:

43

answers:

1

Hi,
i only use the hide() and the show() method on my website. But some user want more effect's. Like the jquery UI (bounce, clip, slide).

Is it possible to replace (not hardcoded) all hide() & show() methods with the (for example) "bounce" effect?

So that the user can decide wich effect he want?

Thanks in advance!
Peter

+2  A: 

The Method Signature for hide() looks like this

hide( effect, [options], [speed], [callback] )

So the only thing you have to do is to change the effect variable for the specific user.

i.e. User1 effect = bounce; User2 effect = drop;

Henrik P. Hessel