+1
Є відповідь
Show/hide a panel depending on the pager page
I'm trying to say on page1 of the pager, don't show panelX , but on everything else, show it. What would that action look like?
Служба підтримки клієнтів працює на UserEcho
Is the panel you want to show/hide inside of the pager or outside?
Well you could run an if statement that alphas off the panel if the pager's current page # is 1. Pager has an object property for the current page.
<action name="panel-off">
<if lhs="[object:nameofpager.page]" operator="ne" rhs="1">
<alpha value="0" time="0" target="nameofpanel" />
</if>
<if lhs="[object:nameofpager.page]" operator="e" rhs="1">
<alpha value="1" time="0" target="nameofpanel" />
</if>
</action>
<action name="action1" oninit="yes">
<!--insert actions here-->
</action>