Showtext in HTML5 and Zorder for Vtour-Thumbnails

  • When looking at the functions in HTML5 that does not work there is one i think which I would assume could be done easy.
    Showtext looks to me as something that should work without problem in HTML so why does it not.

    I find it a very useful function which can save a lot of time when doing virtual tours.

    Another very irritating thing is that the Thumbnails in Vtours does not have a Zorder and will overlay any images you popup.

    Hans

  • He Hans,

    i think that you can easily add a zorder.
    well actualy they have a zorder


    <action name="buildthumbs">
    if(%1 != NEXT, set(i,0));
    if(i LT scene.count,
    copy(thumb, scene[get(i)].thumburl);
    txtadd(thumbname,'thumb_',get(i));
    addplugin(get(thumbname));
    set(plugin[get(thumbname)].url, get(thumb));
    set(plugin[get(thumbname)].keep, true);
    set(plugin[get(thumbname)].align, rightbottom);
    set(plugin[get(thumbname)].width, 40);
    set(plugin[get(thumbname)].height, 40);
    set(plugin[get(thumbname)].x, 10);
    set(plugin[get(thumbname)].y, 10);
    mul(plugin[get(thumbname)].x, i,3);
    mul(plugin[get(thumbname)].y, i,0);
    add(plugin[get(thumbname)].x, 10);
    add(plugin[get(thumbname)].y, 10);
    copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
    copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
    add(plugin[get(thumbname)].zorder, 100, i);
    set(plugin[get(thumbname)].effect,glow(0xFFFFFF,1.0,2,10000));
    set(plugin[get(thumbname)].jsborder,'1px solid #FFFFFF');
    copy(plugin[get(thumbname)].thumbpos, i);
    set(plugin[get(thumbname)].linkedscene, get(scene[get(i)].name) );
    set(plugin[get(thumbname)].onclick, openthumbs() );
    inc(i);
    buildthumbs(NEXT);
    );
    </action>


    hope it helps

    Tuur *thumbsup*

  • Ups

    So thats why my test using exactly Zorder=100 did not work.

    Hans

    when zorders match things would act randomly sometimes they will appear on top sometimes under it hard to say which one will take priority. i agree with showtext it is so helpful i didnt realize how much i used it until it was not available in html5. i hope that is one of the first things added in the new version.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!