Sie sind nicht angemeldet.

1

Dienstag, 1. Februar 2011, 03:07

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

Dienstag, 1. Februar 2011, 03:21

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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

3

Dienstag, 1. Februar 2011, 11:20

it only works on the desktop.


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

Hans