Popup image in iOS from hotspot?

  • I created a hotspot that is clickable in chrome and works fine but not on an ipad hoping someone could help me out a bit.

    <hotspot name="hs2" onclick="tween(plugin[MacBook].alpha,1,1); tween(plugin[MacBook].scale, 1,1);>">
    <point ath="-90.2" atv="27.6" />
    <point ath="-82.7" atv="25.5" />
    <point ath="-83.3" atv="30.3" />
    <point ath="-90.8" atv="32.4" />
    </hotspot>


    <plugin name="MacBook"
    url="MacBook.png" width="900" height="594"
    align="center"
    edge="center"
    alpha="0"
    scale="0"
    onclick="tween(plugin[MacBook].alpha,0,1); tween(plugin[MacBook].scale, 0,1);>"
    />


    the code does work if i make it a clickable image :-s

    <hotspot name="mbp"
    parent=""
    url="mag.png"
    align=""
    zorder="1"
    atv="9.211" ath="-104.252" ox="" oy=""
    width="48" height="49"
    scale="1.00"
    onover=""
    onout=""
    onhover="showtext(This is a popup example!,TEXTSTYLE1);"
    onclick="tween(plugin[MacBook].alpha,1,1); tween(plugin[MacBook].scale, 1,1);>"
    />


    <plugin name="MacBook"
    url="MacBook.png" width="900" height="594"
    align="center"
    edge="center"
    alpha="0"
    scale="0"
    onclick="tween(plugin[MacBook].alpha,0,1); tween(plugin[MacBook].scale, 0,1);>"
    />

Jetzt mitmachen!

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