Hiho
Ich habe mit dem Multiress Dropplet (Demo) von Version 1.17 eine Tour mit 3 Panoramen erstellt. In diesen habe ich schon ein wenig testweise rumgespielt.
So habe ich onhover auf Hotspots legen wollen oder Flächenhotspots erstellt.
Jedoch sind diese ganzen Sachen nicht in meiner Tour drin.
Jedoch erscheinen sie in der Tour_Editor.
Am Code der Tour und der Tour_Editor.html habe ich nicht geändert. alles was ich selbst geändert habe, habe ich eben in der tour.xml sowie in includeten .xml rumgespielt. Den Meistteil habe ich dabei eh aus einem alten Panorama, welches in 1.16 erstellt wurde, rauskopiert. Browser ist, wie auch bei alten Versuchen, ein aktueller FF.
Wodran kann es liegen?
Hier die Tour.html
<!DOCTYPE html>
<html>
<head>
<title>krpano.com - werkstatt</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
@-ms-viewport { width:device-width; }
@media only screen and (min-device-width:800px) { html { overflow:hidden; } }
html { height:100%; }
body { height:100%; overflow:hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
</style>
</head>
<body>
<script src="tour.js"></script>
<div id="pano" style="width:100%;height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"prefer", passQueryParameters:true});
</script>
</div>
</body>
</html>
Display More
Tour_Editor.html
<!DOCTYPE html>
<html>
<head>
<title>krpano - MAKE VTOUR - Virtual Tour Editor</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
@-ms-viewport { width: device-width; }
@media only screen and (min-device-width: 800px) { html { overflow:hidden; } }
html { height:100%; }
body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
</head>
<body>
<script src="tour.js"></script>
<div id="title" style="width:100%; height:20px; padding:5px; font-size:16px;"><b>krpano - MAKE VTOUR - Virtual Tour Editor</b> <span style="font-size:10px; font-style:italic; color:#777777;">// 1. set the startup views / 2. add hotspots / 3. edit the titles / 4. save and overwrite the original tour.xml</span></div>
<div id="pano" style="width:100%; height:95%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
var vars = {};
vars["plugin[vtoureditor].url"] = "plugins/vtoureditor.swf";
vars["plugin[vtoureditor].keep"] = true;
embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"never", passQueryParameters:false, vars:vars});
function resize()
{
var th = document.getElementById("title").clientHeight;
var ph = (typeof(window.innerHeight) == 'number') ? window.innerHeight : ((document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight : ((document.body && document.body.clientHeight) ? document.body.clientHeight : 500));
document.getElementById("pano").style.height = (ph-th)+"px"
}
window.onresize = resize;
resize();
</script>
</div>
</body>
</html>
Display More
und der Vollständigkeitshalber meine (etwas gekürzte) tour.xml
<krpano version="1.17" title="Virtual Tour" onstart="startup();">
<include url="skin/vtourskin.xml" />
<include url="skin/eigen.xml" />
<plugin name="editor" url="plugins/editor.swf" align="top" x="100" y="100" />
<plugin name="options" url="plugins/options.swf" keep="true"/>
<!-- set skin settings: bingmaps? gyro? thumbnail controlling? tooltips? -->
<skin_settings bingmaps="false"
bingmaps_key=""
bingmaps_zoombuttons="false"
gyro="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
thumbs_opened="false"
thumbs_text="false"
thumbs_dragging="true"
thumbs_onhoverscrolling="false"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
controlbar_offset="20"
/>
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<scene name="scene_tisch" title="tisch" onstart="" thumburl="panos/tisch.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="-146.994" vlookat="44.913" fovtype="MFOV" fov="90.000" maxpixelzoom="2.0" fovmin="50" fovmax="140" limitview="auto" />
<preview url="panos/tisch.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="2865" tiledimageheight="2865">
<cube url="panos/tisch.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1433" tiledimageheight="1433">
<cube url="panos/tisch.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="717" tiledimageheight="717">
<cube url="panos/tisch.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/tisch.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="24.397" atv="8.720" linkedscene="scene_tresen"
onhover="showtext(Gehe zum Tresen);"
/>
<hotspot name="spot2" style="skin_hotspotstyle" ath="43.459" atv="-3.050" rotate="90.0" linkedscene="scene_werkstatt"
onhover="showtext(Gehe zur Werkstatt);"
/>
<!-- Flächenhotspots für Informationen -->
<hotspot bla="info" name="hs2" style="skin_infohotspot"
onhover="showtext(Waschmaschine [br] hier können beim drüberfahren viele informationen angezeigt werden,SKIN_TOOLTIPS);"
>
<point ath="64.9" atv="20.7" />
blablub
<point ath="48.4" atv="14.9" />
</hotspot>
<hotspot bla="info" name="hs3" style="skin_infohotspot"
onhover="showtext(Hier klicken um weitere Informationen zu dieser Jacke abzurufen,SKIN_TOOLTIPS);"
onclick="openurl(http://www.bla.de,_blank);"
>
<point ath="-27.7" atv="-35.1" />
blablub
<point ath="-29.1" atv="-32.2" />
</hotspot>
<hotspot name="hs4" style="skin_infohotspot"
onhover="showtext(Bild anzeigen,SKIN_TOOLTIPS);"
>
<point ath="-135.6" atv="-29.2" />
blablub
<point ath="-129.8" atv="-29.2" />
</hotspot>
</scene>
<scene name="scene_tresen" title="tresen" onstart="" thumburl="panos/tresen.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="-182.642" vlookat="6.862" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/tresen.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="2865" tiledimageheight="2865">
<cube url="panos/tresen.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1433" tiledimageheight="1433">
<cube url="panos/tresen.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="717" tiledimageheight="717">
<cube url="panos/tresen.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/tresen.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-167.249" atv="1.448" rotate="-90.0" linkedscene="scene_werkstatt" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="-144.670" atv="11.076" linkedscene="scene_tisch" />
</scene>
<scene name="scene_werkstatt" title="werkstatt" onstart="" thumburl="panos/werkstatt.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/werkstatt.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="2865" tiledimageheight="2865">
<cube url="panos/werkstatt.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1433" tiledimageheight="1433">
<cube url="panos/werkstatt.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="717" tiledimageheight="717">
<cube url="panos/werkstatt.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/werkstatt.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="22.752" atv="8.559" rotate="90.0" linkedscene="scene_tresen" />
</scene>
</krpano>
Display More