Yes and from iFrame please.
Hans
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<krpano>
<!-- use a grid preview pano as background -->
<preview type="grid(cube,16,16,512,0xCCCCCC,0xF6F6F6,0x999999);" details="16" />
<style name="button"
url="%SWFPATH%/plugins/textfield.swf"
children="false"
css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:14px;"
vcenter="true"
background="false" border="false"
shadow="0.1" shadowrange="8" shadowcolor="0xFFFFFF"
/>
<layer name="buttons1" onclick="trace('work onclick container')" type="container" bgcapture="true" bgcolor="0x000000" bgalpha="0.8" align="center" edge="center" width="176" height="42" x="-100" y="0">
<layer name="bsp21" style="button" align="center" edge="center" x="0" y="0" width="176" height="42" html=":: test container ::" enabled="false" />
</layer>
<layer name="buttons2" url="top_blue_b.png" onclick="trace('not work onclick image')" align="center" edge="center" width="176" height="54" x="100" y="0">
<layer name="bsp22" style="button" align="center" edge="center" x="0" y="0" width="176" height="54" html=":: test image ::" enabled="false" />
</layer>
</krpano>
|
|
|
Quellcode |
1 2 3 |
<layer name="buttons1" onclick="trace('work onclick container')" type="container" bgcapture="true" bgcolor="0x000000" bgalpha="0.8" align="center" edge="center" width="176" height="42" x="-100" y="0">
<layer name="bsp21" style="button" align="center" edge="center" x="0" y="0" width="176" height="42" html=":: test container ::" enabled="false" />
</layer>
|
|
|
Quellcode |
1 2 3 |
<layer name="buttons2" url="top_blue_b.png" onclick="trace('not work onclick image')" align="center" edge="center" width="176" height="54" x="100" y="0">
<layer name="bsp22" style="button" align="center" edge="center" x="0" y="0" width="176" height="54" html=":: test image ::" enabled="false" />
</layer>
|


Yes fullscreen from iFrame is possible and it does work with the latest pano2vr.
Unfortunately it does not work on iPad but I tested it in Safari, Chrome and Firefox on Mac.
Here is a test page with the special iFrame code.
http://Panoramas.dk/pano2vrtest/index.html
Hans
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »HansNyb« (7. September 2012, 08:55)
look into the 'vtourskin.xml' and search there for that line:The new interface appends a "Virtual Tour" text to the scene title... can this be removed so that only the Title of the Scene is shown?
|
|
Quellcode |
1 |
txtadd(layer[skin_title].html, get(title), ' - ', get(scene[get(xml.scene)].title) ); |
|
|
Quellcode |
1 |
txtadd(layer[skin_title].html, get(scene[get(xml.scene)].title) ); |
I identified that problem too in the meantime, it will be fixed in the next release/update soon.In the new version when you add text above graphics, it does not work onclick function.
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »DorinDXN« (9. September 2012, 15:23)