Transitions can’t be edited at the moment. You can only set the time how long a transition will take.
Technically: Timed Contend uses the hide() and show() methods of jQuery (also see https://api.jquery.com/hide/ and https://api.jquery.com/show/. If you want to have additional variations and are able to provide the neccessary script additions, feel free to send a pull request or your alternatives, so I can add these as an option to the shortcodes or rules. The code for the current implementation is here:
https://github.com/arnowelzel/timed-content/blob/master/js/timed-content.js
Hi Arno,
Thanks for your quick reply.
I have tried to alter the code, but unfortunatelly my jQuery skills are not to good.
Is there a way I can overide the default transition and replace it by fadeIn and fadeOut with a hook in functions.php? Or maybe you have another suggestion how to achieve this?
Thanks,
The transitions are JavaScript only and there is no hook yet to change them. Maybe I add some options for this in a future update when I have more time.
Ok thanks.
For now I changed the code and replaced .hie and .show with .fadeOut and .fadeIn.