addhotspot in the url ?

  • Hi, maybe it's a stupid question...
    Is it possible to execute an action in the url when passQueryParameters is set to true ?
    I would like to be able to create links wich would add an hotspot in the panorama, something like that :
    my_url/my_panorama.html?onstart=addhotspot(newspot)&set(hotspot[newspot].url,spot.png)&set(hotspot[newspot].ath,150)&set(hotspot[newspot].atv,30)...

    thanx !

  • Hi,

    yes, that's possible, but your syntax is wrong - action calls need to separated by ';' characters and not by '&',
    e.g.

    Code
    my_url/my_panorama.html?onstart=addhotspot(newspot);set(hotspot[newspot].url,spot.png);set(hotspot[newspot].ath,150);set(hotspot[newspot].atv,30);...

    Best regards,
    Klaus

Jetzt mitmachen!

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