how to do this effect

  • hi all
    I want this effect:
    before open/load the pano, i want to preload a infomation plugin in the center screen, it's a pic or text, just a introduction of the pano.
    if i click the info area, then load the whole pano clearly;
    if i dont click the info area, it just load the preview.jpg pano or do nothing!
    how to set the code?
    thanks

    Code
    <krpano version="1.0.8" onstart="set(plugin[info].visible,true)">
    	<plugin name="info"
    			url="info.jpg"
    			align="center"
    			edge="center"
    			visible="false"
    			preload="true"
    			onclick=""
    			/>
    </krpano>
  • Are you using scenes? Do you have a command to select the scene on start? Why not set visible="true" and not use the on start command? If you are using scenes you will probably need to add keep="true" to that plugin too.


  • Hello!

    try this:



    for hide button use set(plugin[button].visible, false); in setsceneimage action.

    Result:
    first load only preview
    onclick button will load cube images

    Good luck!
    Hope this help!

Jetzt mitmachen!

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