You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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