Hi,
onnewpano="skin_showloading(true); skin_update_scene_infos(); plugin[skin_cb_scenes].selectiditem(get(linkedscene));"
This is already the right direction - but there is no 'linkedscene' variable in this case (the linkedscene is only an attribute that was used by hotspot in the default vtour skin).
The current scene name would be available via 'xml.scene' - that means when your item-id and scene-name are the same - using get(xml.scene) - could work in this case:
|
Quellcode
|
1
|
plugin[skin_cb_scenes].selectiditem(get(xml.scene));
|
Otherwise you could also store a custom attribute for the item-id at each scene element - e.g.
|
Quellcode
|
1
2
|
<scene .... cbid="...">
...
|
and then load/use this id to select the right item:
|
Quellcode
|
1
|
plugin[skin_cb_scenes].selectiditem(get(scene[get(xml.scene)].cbid));
|
Best regards,
Klaus