Hi,
I tried to use onclick="switch(hotspot.alpha);" --- but when they hide the spots will not turn visible again when clicked
the
switch() action switches by default between "true" and "false", but "alpha" is a value from "0.0" to "1.0",
you could use:
|
Quellcode
|
1
|
onclick="switch(hotspot.alpha, 1, 0);"
|
to switch between visible(alpha=1) and invisible(alpha=0), the hotspots should be still clickable in this case
is there a way to make All the hotspots hide by default when the scene first loads?
e.g.
|
Quellcode
|
1
|
<krpano onstart="set(hotspot.alpha,0);" />
|
or:
|
Quellcode
|
1
|
<events onxmlcomplete="set(hotspot.alpha,0);" />
|
best regards,
Klaus