Sie sind nicht angemeldet.

1

Donnerstag, 4. August 2011, 10:40

Webapp problem

Hello to everybody,

I am working on a webapp with included panos. Everything is loading just the panorama is not shown. has anybody maybe a solution?

here the code:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=1.0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta names="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<link rel="apple-touch-icon" href="images/touch-icon-iphone.png" />
<link href="images/startup.png" rel="apple-touch-startup-image" />
<meta content="minimum-scale=0.9, width=device-width, maximum-scale=0.6667, user-scalable=no" />

<title>Panoramawelten</title>

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jque…e-1.0b1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>

</head>


<body>

<div data-role="page" id="home">


<script src="panos/see/see.js"></script>
<div id="pano" style="width:100%; height:100%; z-index:100; background-color:none;">
<script>
embedpano({xml:"panos/see/see.xml", target:"pano"});
</script>
</div>

</div><!-- /page -->


</body>
</html>



Thank you and best regards!!

2

Donnerstag, 4. August 2011, 12:30

Where do you embed your krPano files???
Normally there should be something like this in your <head>:

Quellcode

1
<script type="text/javascript" src="player/swfkrpano.js"></script>


...? *confused*

3

Donnerstag, 4. August 2011, 14:43

Hi,

try starting with an unmodified html file from krpano,
and then try to add/modify step by step own things,

the meta tags seem a bit strange,

best regards,
Klaus

4

Donnerstag, 4. August 2011, 16:53


Where do you embed your krPano files???
Normally there should be something like this in your <head>:

Quellcode

1
<script type="text/javascript" src="player/swfkrpano.js"></script>


...?



It is here: <script src="panos/see/see.js"></script>


5

Samstag, 6. August 2011, 11:29

Hi,

try using here an absolute pixel size instead of a 100% parent size:
<div id="pano" style="width:100%; height:100%; z-index:100; background-color:none;">
best regards,
Klaus

Ähnliche Themen