Problems in my photo gallery.

  • Hello friends,
    I'm having a problem with a code of my photo gallery, by clicking the arrow left or right it does not change the image, I used this code in version 1.0 of krpano, I am now using version 1.8.

    Code:

    <Action name = "p1">
    set (plugin [text] .url, hotspots / text / 01.png);
    loadscene (get (scene [1] .name), null, MERGE, BLEND (1));

    set (plugin [camera] .Visible, true);
    p1_f1 ();
    </ Action>

    <Action name = "p1_f1">
    set (plugin [photo] .url, photos / hall-beige / 1.jpg);

    set (plugin [left] .onclick,);
    set (plugin [right] .onclick, p1_f2 ());
    </ Action>

    <Action name = "p1_f2">
    set (plugin [photo] .url, photos / hall-beige / 2.jpg);

    set (plugin [left] .onclick, p1_f1 ());
    set (plugin [right] .onclick, p1_f3 ());
    </ Action>

    <Action name = "p1_f3">
    set (plugin [photo] .url, photos / hall-beige / 3.jpg);

    set (plugin [left] .onclick, p1_f2 ());

    </ Action>

    <Plugin
    name = "photo"
    url = "images / hall-beige / 1.jpg"
    keep = "true"
    devices = "all"
    visible = "false"
    enabled = "false"
    handcursor = "false"
    align = "center"
    ZOrder = "95"
    />

    <Plugin
    name = "left"
    url = "images / Left.png"
    keep = "true"
    devices = "all"
    visible = "false"
    enabled = "true"
    handcursor = "true"
    align = "center"
    ZOrder = "99"
    y = "237"
    x = "- 90"
    />

    <Plugin
    name = "right"
    url = "images / right.png"
    keep = "true"
    devices = "all"
    visible = "false"
    enabled = "true"
    handcursor = "true"
    align = "center"
    ZOrder = "99"
    y = "237"
    x = "90"
    />

Jetzt mitmachen!

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