Card Transition
How do you override the user interaction requirement to initiate card transition?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Just set 'nextAfter' on the {deck}. You can also override it on individual cards. Eg, to transition after 5 seconds, do this:
{deck:id=myDeck|nextAfter=5}
{card:label=One}
Next after 5.
{card}
{card:label=Two:nextAfter=10}
Next after 10.
{card}
{card:label=Three}
Next after 5.
{card}
{deck}
-
No luck...The deck still requires that a user interact with the card (click on the tab) to activate the rotation. Here is my syntax:
{composition-setup}
deck.tab.active.background=#ffffff
deck.tab.inactive.border=#8DB532
deck.tab.inactive.background=#8DB532
deck.tab.spacer=1px
deck.card.background=#ffffff
{composition-setup}
{deck:id=WhatsNew|tabLocation=bottom|height=300px|startHidden=true|nextAfter=5|loopCards=true}
{card:label=1|nextAfter=5}{include:What's New 1}{card}
{card:label=2|nextAfter=5}{include:What's New 2}{card}
{card:label=3|nextAfter=5}{include:What's New 3}{card}
{deck} -
Inappropriate?Hi Meredith,
I think I came across a similar issue in the past, basically the nextAfter DOES work, however, only after the user clicks on one of the cards first, once they click on one of the cards, it will start cycling through properly.
Hi David,
It seems like the auto-transitions are only enabled once the user selects the card explicitly. Would you have any idea off the top of your head about the reason behind this? I am not too sure of the cause myself as I have only worked briefly with the plugin.
Regards,
Bo Wang
CustomWare -
Inappropriate?If it's not transitioning automatically, it's a bug. It's possible that whatever code we're using to trigger the initial transition is not working in current versions of Confluence.
Loading Profile...



EMPLOYEE
EMPLOYEE