Sie sind nicht angemeldet.

1

Donnerstag, 30. Mai 2019, 08:54

how to hide some thumbs in thumbBar

how can I hide some thumbs by javascript or I create an action when I click layer,
such as when I click layer A ,then some thumbs relevant A when be showed ,and others will be hide ,then I click Layer B ,the B's thumbs will show ,and others hide ?

2

Samstag, 15. Juni 2019, 14:53

Hi,

the whole code of the default vtour skin is available in the vtourskin.xml...

Best regards,
Klaus

3

Samstag, 15. Juni 2019, 20:51

Is it something like grouping scenes? http://novosibpano.ru/VT/sc/

light_line

Fortgeschrittener

Beiträge: 169

Beruf: krpano freelancer || creating ideas & coding them || krpano developer

  • Nachricht senden

4

Sonntag, 16. Juni 2019, 22:17

Hi,
I edited the vtourskin.xml.
by using this file, if you add ignore_thumb="false" to any scene, it would be hidden in thumb-bar.

Zitat

<scene name="scene_01" title="01" onstart="" thumburl="panos/01.tiles/thumb.jpg" lat="" lng="" heading="" ignore_thumb="false">

<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

<preview url="panos/01.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="1024" tiledimageheight="1024">
<cube url="panos/01.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
</image>

</scene>
»light_line« hat folgende Datei angehängt:
  • vtourskin.xml (57,26 kB - 100 mal heruntergeladen - zuletzt: 3. Oktober 2023, 20:25)