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?

  • 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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!