You are not logged in.

1

Monday, April 4th 2011, 10:14pm

vtour to load scenetitle automatically in showtext

I'd like to add some "showtext(get(scenetitle),infostyle" onstart, automatically for every scene. I don't know how to write it to the vtour?
thx
wishbone

2

Wednesday, April 13th 2011, 10:33pm

Hi,

search for this line in the vtour.xml template (or in the generated xml file):

Source code

1
set(plugin[get(thumbname)].onclick, openthumbs() );


and change it to:

Source code

1
2
3
set(plugin[get(thumbname)].onclick, openthumbs() );
copy(plugin[get(thumbname)].scenetitle, scene[get(i)].title);
set(plugin[get(thumbname)].onhover, showtext(get(scenetitle),infostyle) );


best regards,
Klaus