• Please What I have to do to show different txt when the image is open and another when the image is close?

    When the Map is close show text ( click to open)
    When the map is open show text (click to close)
    Maybe this code ..."if(isclose, showtext(click to open, buttonstyle), showtext(click to close, buttonstyle));"


    <plugin name="map" url="imagens/planta.png" keep="true"
    align="righttop" x="10" y="10" alpha="1.0" handcursor="false"
    scalechildren="true"
    onhover="showtext(Clique para alterar tamanho, txtcliente);"
    width="370"
    height="300"
    onclick="action(closemap);"
    />

    Thank you

  • Hi,

    Quote

    Maybe this code ..."if(isclose, showtext(click to open, buttonstyle), showtext(click to close, buttonstyle));"

    yes, such code could be used when your plugin the same element in closed and opened state?
    then just set your "isclose" variable to true or false in your opening or closing actions (and define it also in <plugin> element itself with it's start value)

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!