Hi there!
I tried to improve standard fullscreen.ggs template by adding a frame (using table) round about the panorama.
But I cannot set height of the panorama. The height still stays the same size, independently of the tab height tag value.
Can anyone help?
Thanks,
jare
Html template - Insert panorama into a table
- Attachments
-
- screen shot
- screenshot.jpg (23.68 KiB) Viewed 3751 times
Hi there
Could you post your html source code?
Most likely you overlooked something, let us have a look and tell you where the problem is.
regards
Sebastian
Could you post your html source code?
Most likely you overlooked something, let us have a look and tell you where the problem is.
regards
Sebastian
Here is the html code:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="100%" heihgt=100% border="2">
<tr>
<td><head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Moscow</title>
<script type="text/javascript" src="p2q_embed_object.js">
</script>
<style type="text/css" title="Default">
body, div, h1, h2, h3, span, p {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #000000;
}
html, body {
margin:0;
padding:0;
border:0;
height:100%;
font-size: 10pt;
background : #ffffff;
}
h1 {
font-size: 18pt;
}
h2 {
font-size: 14pt;
}
.warning {
font-weight: bold;
}
</style>
</head>
<body>
<script type="text/javascript">
<!--
if ((window.p2q_Version) && (window.p2q_Version>=2.0)) {
// Check to see if the version meets the requirements for playback
var flashvars="";
p2q_EmbedFlash('full.swf','100%','95%','allowFullScreen','true','FlashVars',flashvars);
if (!DetectFlashVer(9,0,0)) {
document.write('<p class="warning">This content requires Adobe Flash Player Version 9 or higher. '
+ '<a href="http://www.adobe.com/go/getflash/">Get Flash<\/a><\/p>');
}
} else {
document.writeln('<p class="warning">p2q_embed_object.js is not included or it is too old! Please copy this file into your html directory.<\/p>');
}
//-->
</script>
<noscript>
<p class="warning">Please enable Javascript!</p>
</noscript> </td>
</tr>
</body></table>
</html>
As you can see in your code, there is two HEAD and BODY tags. You copy paste by mistake too much stuff into your HTML
Also, I would suggest, instead of using Table, use DIV <div id="flashcontent"> to place flash content within that, and set it to
100% using:
#flashcontent {height: 100%;}
It's much more reliable than tables.
Also, I would suggest, instead of using Table, use DIV <div id="flashcontent"> to place flash content within that, and set it to
100% using:
#flashcontent {height: 100%;}
It's much more reliable than tables.