Beiträge von dijegermeister

    everybody, I have stuck in developing a plugin.
    I need to create a hotspot to show/hide a picture (layer) and picture itself hide on click
    can someone help me, its urgent
    thank you

    years ago I have created a scrip by using pano2vr, now I must the same project convert to krpano
    example:
    http://istrapano360.com/user/plustudio…-vila/index.php

    <hotspot name="icon"
    url="icon.png"
    ath="0"
    atv="0"
    scale="1.0"
    keep="true"
    onclick= SHOW/HIDE "layer picture"
    >

    <layer name="picture_1"
    url="picture1.jpg"
    x="0"
    y="0"
    align="center"
    scale="1.0"
    keep="true"
    onclick= HIDE "layer picture_n"
    >

    I will use pictures size 1024x768, the picture is connected to the scene

    hello
    I didn't read everything, yust want to know it will be also
    compatibile the web-vr for iphone, or how to activate?
    And, a observation, maybe you alredy know, in web-vr mode
    the crin go to lock after that time that is in the preference of the phone, I had set to my phone to 5 min when I 'm watching with the vr glasses. Exsample YUTUBE doesn't lock the screen while you are watching a video.
    it will be some anti-locking screen in the future?
    Best Regards
    Diego

    Hi,

    here an action that will loop through all hotspots and check if the 'tag' attribute is 'hs' and hide the hotspot if yes:

    Code
    for(set(i,0), i LT hotspot.count, inc(i), 
        if(hotspot[get(i)].tag == hs, 
            set(hotspot[get(i)].visible,false); 
          ); 
       );

    best regards,
    Klaus


    hello,
    After 3 years, I have a similar problem
    I do not want to hide and show what is called a hotspot
    Only hotspots with a specific name + suffix.
    (spot1, spot2, spot3,) but not (info1, info2).
    Some advice?
    thank you

    I'm Trying to hide all layers and hotspots on a tour when I press the hide skin button.
    I have copied hide and show logo function
    for hide:

    Code
    <action name="skin_hideskin">
    if(layer[skin_logo], tween(layer[skin_logo].alpha, 0.0, 0.5, default, set(layer[skin_logo].visible,false)); );


    for show:

    Code
    <action name="skin_showskin">
    if(layer[skin_logo], set(layer[skin_logo].visible,true); tween(layer[skin_logo].alpha, 1.0); );

    I don't have a idea how to use on hotspots with different names but same style.
    thank you

    looks great :), I didn't try jet I've bought two days ago the software.
    I have a question: the line "http://your_domain.com/path_to_tour/page.html url " must be every time unique, or can be like
    I found on a site:

    Code
    <a onclick="
    		    window.open(
    		      'http://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href), 
    		      'facebook-share-dialog', 
    		      'width=626,height=436'); 
    		    return false;" href="#">
    		  Share on Facebook
    		</a>

    this code open a dialog box 626x 436 with the current URL copied inside
    I hope I was useful, and learned something from you
    Best regards
    Diego.