Thanks for your help with syntax but your code still doesn't affect my plugin.
I'm confused by this, because I have a functioning piece of code, inside an action connected to the 'onclick' event in the plugin, that lets me "close" the plugin when click anywhere directly
on the plugin. But when I put the same code, or action-call, inside
another action I get nothing!
So, to be clear, when I do this:
|
Source code
|
1
|
<plugin name="testwindow1" url="testpopup.png" visible="true" enabled="true" " alpha="1.0" onclick="Simonshutsup()" />
|
and this:
|
Source code
|
1
|
<action name="Simonshutsup"> set(plugin[testwindow1].visible,false); </action>
|
it works.
But when I do this:
<events onviewchange= "checkH();" />
and this:
|
Source code
|
1
|
<action name="checkH"> if ( plugin[testwindow1].visible, set(plugin[testwindow1].visible,false) ); </action>
|
it doesn't work!
As they say in the Bronx, "What's up with that?"