You are not logged in.

panoyun

Intermediate

  • "panoyun" started this thread

Posts: 234

Location: Somalia

  • Send private message

1

Thursday, July 8th 2021, 8:45am

< and > Unable to display properly

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<action autorun="onstart">
showlog();
set(bbc,'');
for(set(i,0), i LT hotspot.count, inc(i),
txtadd('bbc',
'&lt;',
'hotspot name=&quot;',get(hotspot[get(i)].name),'&quot; ',
'ath=&quot;',get(hotspot[get(i)].ath),'&quot; ',
'atv=&quot;',get(hotspot[get(i)].atv),'&quot; ',
'style=&quot;',get(hotspot[get(i)].name),'&quot; ',
'/',
'&gt;'
);
trace(get(bbc));
);
</action>



&lt; and &gt; Unable to display properly
Ask for help

*confused* *confused* *confused*

panoyun

Intermediate

  • "panoyun" started this thread

Posts: 234

Location: Somalia

  • Send private message

3

Thursday, July 8th 2021, 12:54pm

I'm using lt; And & gt;

Only these two cannot display <>

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

4

Thursday, July 8th 2021, 1:36pm

Hi,

do something like:

Source code

1
2
    <data name="h_open"><![CDATA[<hotspot]]></data>
    <data name="close"><![CDATA[/>]]></data>


.. and then get(data[h_open].content).. etc..

(since calc i never use txtadd anymore)

Hope it helps,
Tuur *thumbsup*

panoyun

Intermediate

  • "panoyun" started this thread

Posts: 234

Location: Somalia

  • Send private message

5

Thursday, July 8th 2021, 3:14pm

@indexofrefraction
@Tuur


Thank you very much,

You are my good friends

thank you
*thumbsup* *thumbsup* *thumbsup*

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<action autorun="onstart">
	showlog();
	set(bbc,'');
	for(set(i,0), i LT hotspot.count, inc(i),
 txtadd('bbc',
 get(data[h_open].content),
 ' name=&quot;',get(hotspot[get(i)].name),'&quot; ',
 'ath=&quot;',get(hotspot[get(i)].ath),'&quot; ',
 'atv=&quot;',get(hotspot[get(i)].atv),'&quot; ',
 'style=&quot;',get(hotspot[get(i)].name),'&quot; ',
 get(data[close].content),
 );
 trace(get(bbc));
	);
	</action>