Very beginner question ! but not in examples...

  • hello,
    i'd like to make a "simple" pano with hotspots.
    But when i click on a hotspot, i would like to have "layer" (or a div, or a frame or wathever it could be) displaying HTML informations, like a popup (not jumping to another area). For instance, if i click on a flower in a pano, i want to be able to display the name, the species, all kind of informations AND photos of it (some HTML).
    How would you do this ?
    is it something to add in the xml or in the js ?
    Thanks in advance.

  • hello,
    i'd like to make a "simple" pano with hotspots.
    But when i click on a hotspot, i would like to have "layer" (or a div, or a frame or wathever it could be) displaying HTML informations, like a popup (not jumping to another area). For instance, if i click on a flower in a pano, i want to be able to display the name, the species, all kind of informations AND photos of it (some HTML).
    How would you do this ?
    is it something to add in the xml or in the js ?
    Thanks in advance.


    add

    Code
    <plugin name="editor"  url="%SWFPATH%/plugins/editor.swf" keep="true"  />

    then gen hotspot code automatically like image hotspot

    or polygonal hotspot

    write onclick like this

    Code
    onclick="action(showtextfield, flower);"

    add

  • Hi,
    you can use following code for hotspot, instead of : XXXXXXXXXXXXXXXXXX you can write the text you want.


    <hotspot name="spot1" style="hotspot_ani_white"

    ath="239"

    atv="-3"

    zoom="false"

    onhover="showtext('XXXXXXXXXXXXXXXXXX-',hotspottextstyle);"

    onclick="set(view.maxpixelzoom,null);

    set(view.fovmin,30);
    looktohotspot(get(name),20);

    loadscene(scene_Warehouse_A, null, MERGE, BLEND(2));

    lookat(356, 0, 80);

    wait(LOAD);
    oninterrupt(break);

    wait(BLEND);

    lookto(170, 1, 100, smooth(45,45,40));

    "
    />

Participate now!

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