Beiträge von Max Mecklenburg

    Dear all,
    I am a beginner developer and student. (Thanks for your support and reply)
    being in your community is appreciated

    I have one background layer which shows a list of some items and I want to have scrollArea inside it.
    Unfortunately I am confused about parents and children. In addition, I don't know how to use this pluging and i dont have its .js and .swf files.
    If you kindly do me a favour and help me, it will be appreciated.
    I want to share your opinion with me (even wrong *wink* )
    Best regards
    Max Mecklenburg


    codes of bg:


    <layer name="Wish_list_bg"
    type="container"
    bg ="true"
    bgcolor="0xcccccc"
    bgalpha="1"
    width="400"
    height="500"
    keep="true"
    visible="false"
    align="center"
    y="0"
    x="0"
    alpha="0.9"
    zorder="5"
    handcursor="false"

    />



    codes of items:

    <layer name="chair1"
    type="text"
    html="[h1]sessel anzahl 1[/h1]"
    css="font-size:7pt; color:#5e5e5e; font-family:Arial; margin-left:30px; margin-top:30px; "
    width="400"
    height="80"
    keep="true"
    parent="Wish_list_bg"
    visible="false"
    align="topleft"
    y="0"
    x="0"
    bg="true"
    bgcolor="0xad9de0"
    alpha="1"
    zorder="70"
    handcursor="false"
    onloaded=""
    />


    or



    <layer name="chair2"
    type="text"
    html="[h1]sessel anzahl 2[/h1]"
    css="font-size:7pt; color:#5e5e5e; font-family:Arial; margin-left:30px; margin-top:30px; "
    width="400"
    height="80"
    keep="true"
    parent="Wish_list_bg"
    visible="false"
    align="topleft"
    y="0"
    x="0"
    bg="true"
    bgcolor="0xad9de0"
    alpha="1"
    zorder="70"
    handcursor="false"
    onloaded=""
    />

    Dear all,
    I am a beginner developer and student. (Thanks for your support and reply)
    being in your community is appreciated

    I want to write some lines in my project and save it in a text file out of my project with txt format. I want to kindly ask how can I do it?
    I want to share your opinion with me (even wrong *wink* )
    Best regards
    Max Mecklenburg

    Dear all,
    I am a beginner developer and student. (Thanks for your support and reply)
    being in your community is appreciated

    I want to make a list of some items using HTML in Krpano project in the way that visitors of my website download that list(for example list of the seats which the user clicked on it)
    I want to share your opinion with me (even wrong *wink* )
    Best regards
    Max Mecklenburg

    Hi Max, welcome!

    Could you please share the code used to create the hotspot? Don't forget to use the "Insert code" button to get proper formatting.

    Djodi

    sure here you are...
    code:

    <hotspot name="spot1" style="skin_hotspotstyle" ath="5.805" atv="7.002" onclick="loadscene(scene_mob_middle_cam_03_p1 ,,, BLEND(0.5, easeinquad))" />

    Dear all thanks for previous reply.
    I want to put radius border for a picture which have circle shape. I use "bgborder" but it does not work. would you please help me with it ?
    best regards
    Max Mecklenburg
    code :

    bgborder="10 0x2b6e3d 1"

    The code itself looks okay, except the missing end-quote here:

    Code
    calc(plugin[hotspot_pos_info].html, '  "' +m1 + '"[br] ');
                                                                          ^- here

    Thanks for your soon reply dear Klaus,
    You were right but unfortunately it still shows "undefined".
    Do you have any other opinion or idea to solve this problem?
    Thanks again

    Dear all,
    Thanks for previous reply.
    would you please give me a hand with this code?
    I want to print m1 as output of this action but it shows "undefined"
    feel free to contact me and share your opinion (even wrong ideas *wink* )
    your soon reply will be appreciated
    best regards

    code:


    <action name="print_hotspot_pos"><![CDATA[

    set(var1,get(hotspot[measure1].atv));
    set(var2,get(hotspot[measure1].ath));

    set(dep,1000);
    spheretospace(var2,var1,dep, m1,o1,p1);

    calc(plugin[hotspot_pos_info].html, '&nbsp;&nbsp;"' +m1 + '"[br]&nbsp;);

    ]]></action>

    Dear all,
    your previous answers were appreciated.

    I wanted to use some mathematical functions and variables to do some calculations. Unfortunately, it doesn't work and I need your opinions and ideas (even wrong *wink* ) to fix this problem.
    Thanks in advance for your help.
    Best regards


    code:

    <action name="print_hotspot_pos"><![CDATA[

    set(var1,get(hotspot[measure1].atv));
    set(var2,get(hotspot[measure2].atv));
    set(var3,get(hotspot[measure1].ath));
    set(var4,get(hotspot[measure2].ath));

    copy(var1sin,Math.sin(var1););
    copy(var2sin,Math.sin(var2););
    copy(var3sin,Math.sin(var3););
    copy(var4sin,Math.sin(var4););

    copy(var1cos,Math.cos(var1););
    copy(var2cos,Math.cos(var2););
    copy(var3cos,Math.cos(var3););
    copy(var4cos,Math.cos(var4););

    copy(x1,mul(var1sin,var1cos););
    mul(x1,3);
    mul(x1,x1);
    copy(x2,mul(var2sin,var2cos););
    mul(x2,3);
    mul(x2,x2);
    copy(y, sub(x2,x1););

    copy(y1,mul(var1sin,var3sin););
    mul(y1,3);
    mul(y1,y1);
    copy(y2,mul(var2sin,var4sin););
    mul(y2,3);
    mul(y2,y2);
    copy(y, sub(y2,y1););

    copy(z1,mul(var1cos,3););
    mul(z1,z1);
    copy(z2,mul(var2cos,3););
    mul(z2,z2);
    copy(z, sub(z2,z1););

    add(x,y)
    add(x,z)
    Math.abs(x);
    Math.sqrt(x)

    roundval(x, 1);
    set(result,get(x));
    Math.abs(result);

    calc(plugin[hotspot_pos_info].html, '&nbsp;&nbsp;"' + result + '"[br]&nbsp;);


    ]]></action>

    Dear all,

    I want to save atv of a hotspot in a variable and I used follow code
    but when I print it, it will show ".atv" while I am expecting it to show a number
    I will appreciate it if you share your opinion with me and give me a hand to fix this problem.
    best regards


    code:

    set(var1,hotspot[measure1].atv);

    Dear all,
    Firstly I am thankful for your previous answers.
    I want to kindly ask how can a user add hotspot freely and system saves coordinate of that hotspot in one or more variables?

    feel free to contact me for sharing your opinions and codes (even wrong answers or failed attempts *wink* )
    best regards

    Dear all,
    I want let users make hotspot freely in the project whenever and wherever they want. Would you please share your opinion with me about it?
    please share your codes and opinions with me if you have an idea.
    feel free to contact me *smile*
    best wishes

    dear all,
    I want to kindly ask about measurement tools.
    1. Is it possible to draw a line on Vtour and it automatically shows us the length of this line?
    2. if it is possible, will you kindly help me by adding this feature to my project and telling me how does it work?
    feel free to contact me and share your opinion with me (Even wrong ideas *wink* )
    Wish you answer me ASAP
    best Regards