You are not logged in.

1

Tuesday, February 1st 2011, 3:07am

Titles for vtour thumbnails on ipad

For use on the desktop you can add the following two lines to the <buildthumbs> action (insert them just above the "inc(i);" line):

copy(plugin[get(thumbname)].scenetitle, scene[get(i)].title);
set(plugin[get(thumbname)].onhover, showtext(get(scenetitle)) );

Which will use the title="xyz" from your <scene>.

This works great, on a desktop, but onhover obviously doesn't exist on the iPad...

I would love to know how, on an ipad, you can open the thumbnails and have the "title" appear next to, on, or below the thumbnail... specifying the text style would be that much better... any ideas?

2

Tuesday, February 1st 2011, 3:21am

Additionally, if you want to provide a style for the above, you can use this in lieu:

copy(plugin[get(thumbname)].scenetitle, scene[get(i)].title);
set(plugin[get(thumbname)].onhover, showtext(get(scenetitle), thumbtextstyle ));

Then define a text style for the thumbs:

<textstyle name="thumbtextstyle"
font="Arial"
fontsize="12.0"
bold="false"
italic="false"
background="true"
backgroundcolor="0xFFFFFF"
alpha="1.0"
blendmode="normal"
effect=""
origin="cursor"
edge="bottom"
textalign="none"
xoffset="0"
yoffset="-3"
showtime="0.1"
fadetime="0.0"
fadeintime="0.0"
noclip="true"
/>

Just some random additional code... again, it only works on the desktop.

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

3

Tuesday, February 1st 2011, 11:20am

it only works on the desktop.


And on all Android devices. So remember that when you set the font sizes.

Hans