I have a functioning dropdown panel - using the closed and open state and would like to add unique onhover text to the panel when in the closed state, and in the open state... I was trying this, with no luck... any suggestions? TIA - Blake
BTW - Interestingly enough, the below code sets the state as closed, and will trigger the correct action (openPanel) to "open" the panel (and close the panel), but the onhover text only displays the text as if it were in the "open" state at all times.
Code
<plugin name="panel"
url="graphics/panel/blankPanel.png"
zorder="1"
align="top"
edge="bottom"
x="0"
y="50"
alpha="0.90"
scale="1.0"
state="closed"
onhover="if(state == closed, showtext(Panel is Closed), showtext(Panel is Open));"
onclick="if(state == closed, action(openPanel), action(closePanel));"/>
Display More