This post has been edited 1 times, last edit by "panos for the people" (Nov 12th 2012, 6:00pm)
Ja - die Höhe bzw. Größe der 2 Viewer ist HTML Design und hat mit dem Viewer selbst nichts zu tun.gibt es hierfür eine Möglichkeit das Pano 100% in der Höhe darzustellen?
Nicht synchron?Und auf iOS ist das nicht synchron. Gibt es hier eine Lösung?

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
<table border="0" width="90%" height="400px" cellspacing="0" cellpadding="0"> <tr> <td width="50%" height="400px" style="overflow:hidden;"> <div id="krpanoDIV1" style="position:relative; left:0%; width:200%; height:100%;"><noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></table></noscript></div> </td> <td width="50%" height="400px" style="overflow:hidden;"> <div id="krpanoDIV2" style="position:relative; left:-100%; width:200%; height:100%;"><noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></table></noscript></div> </td> </tr> </table> |
|
|
Source code |
1 |
<plugin name="Anleitungsgrafik" ... onclick="js( verstecke_Anleitungsgrafik() );" .. /> |
|
|
Source code |
1 2 3 4 5 6 7 |
function verstecke_Anleitungsgrafik()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano1.set("plugin[Anleitungsgrafik].visible", false);
krpano2.set("plugin[Anleitungsgrafik].visible", false);
}
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
<!DOCTYPE html>
<html>
<head>
<title>...</title>
<style>
body{ font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF; background-color:#000000; margin:0; padding:0;height:100%; width:100% }
html {height:100%; width:100% }
a{ color:#FFFFFF; text-decoration:underline; }
a:hover{ color:#AAAAAA; text-decoration:underline; }
</style>
</head>
<body>
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" height="100%" style="overflow:hidden;">
<div id="krpanoDIV1" style="position:relative; left:0%; width:200%; height:100%;"><noscript><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></noscript></div>
</td>
<td width="50%" height="100%" style="overflow:hidden;">
<div id="krpanoDIV2" style="position:relative; left:-100%; width:200%; height:100%;"><noscript><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></noscript></div>
</td>
</tr>
</table>
<script src="swf/swfkrpano.js"></script>
<script>
// <![CDATA[
embedpano({swf:"swf/krpano.swf", id:"krpanoSWFObject1", xml:"xml/pano1.xml", target:"krpanoDIV1"});
embedpano({swf:"swf/krpano.swf", id:"krpanoSWFObject2", xml:"xml/pano2.xml", target:"krpanoDIV2"});
function sync_1to2()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano2.set("syncother", false);
krpano2.set("view.hlookat", krpano1.get("view.hlookat"));
krpano2.set("view.vlookat", krpano1.get("view.vlookat"));
krpano2.set("view.fov", krpano1.get("view.fov"));
}
function sync_2to1()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano1.set("syncother", false);
krpano1.set("view.hlookat", krpano2.get("view.hlookat"));
krpano1.set("view.vlookat", krpano2.get("view.vlookat"));
krpano1.set("view.fov", krpano2.get("view.fov"));
}
function hide()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano1.set("plugin[infobild].visible, false");
krpano2.set("plugin[infobild].visible, false");
}
// ]]>
</script>
</body>
</html>
|
|
|
Source code |
1 |
<plugin name="infobild" url="../images/bedienung.png" keep="true" zorder="100" alpha="1.0" align="center" onclick="js(hide);"/> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
<!DOCTYPE html>
<html>
<head>
<title>Hafensommer - color | black & white</title>
<style>
body{ font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF; background-color:#000000; margin:0; padding:0;height:100%; width:100% }
html {height:100%; width:100% }
a{ color:#FFFFFF; text-decoration:underline; }
a:hover{ color:#AAAAAA; text-decoration:underline; }
</style>
</head>
<body>
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" height="100%" style="overflow:hidden;">
<div id="krpanoDIV1" style="position:relative; left:0%; width:200%; height:100%;"><noscript><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></noscript></div>
</td>
<td width="50%" height="100%" style="overflow:hidden;">
<div id="krpanoDIV2" style="position:relative; left:-100%; width:200%; height:100%;"><noscript><tr valign="middle"><td><center>ERROR:<br/><br/>Javascript not activated<br/><br/></center></td></tr></noscript></div>
</td>
</tr>
</table>
<script src="swf/swfkrpano.js"></script>
<script>
// <![CDATA[
embedpano({swf:"swf/krpano.swf", id:"krpanoSWFObject1", xml:"xml/pano1.xml", target:"krpanoDIV1"});
embedpano({swf:"swf/krpano.swf", id:"krpanoSWFObject2", xml:"xml/pano2.xml", target:"krpanoDIV2"});
function sync_1to2()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano2.set("syncother", false);
krpano2.set("view.hlookat", krpano1.get("view.hlookat"));
krpano2.set("view.vlookat", krpano1.get("view.vlookat"));
krpano2.set("view.fov", krpano1.get("view.fov"));
}
function sync_2to1()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano1.set("syncother", false);
krpano1.set("view.hlookat", krpano2.get("view.hlookat"));
krpano1.set("view.vlookat", krpano2.get("view.vlookat"));
krpano1.set("view.fov", krpano2.get("view.fov"));
}
function hide()
{
var krpano1 = document.getElementById("krpanoSWFObject1");
var krpano2 = document.getElementById("krpanoSWFObject2");
krpano1.set("plugin[infobild].visible, false");
krpano2.set("plugin[infobild].visible, false");
}
// ]]>
</script>
</body>
</html>
|