You are not logged in.

1

Sunday, April 10th 2022, 9:37am

beginner action question

thank u for reading my question


how to use '<seeting css=""/>" in action


code here.

Source code

1
2
3
4
5
<krpano>
<settings	css="color:#2d64a7; font-size:16px; text-align:left;line-height:25px; font-weight:700;"/>
<action name = "abc">......
	set(layer[get(name)].css, settings.css);....</action>
</krpano>



it's not working..
best regard:)

2

Sunday, April 10th 2022, 9:44am

set(layer[get(name)].css, get(settings.css));
or better
copy(layer[get(name)].css, settings.css);