imgage hotspot add close button

  • hello


    when I click hotspot[showImg1], the hotspot[img1] will show , and then I want to add a button on the righttop of hotspot[img1],then I can click the button to close hotspot[img1], how can I do it ?


    and how can I set the height of hotspot equal to the window screen's height useing maxHeight or minHeight?

    <hotspot name="showImg1" style="skin_hotspotcustom" ath="-10" atv="0" distorted="false" zoom="false" onclick="set(hotspot[Img1].visible,true)" />


    <hotspot name="Img1" url="skin/img1.jpg" width="100%" height="100%" maxheight="100%"
    ath="-10" atv="0" distorted="false" zoom="false" visible="false" onclick="set(visible,false)" />


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!