Hi there!
I was hoping that someone could help me with this one...
I have a page that looks like this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>.::Wide Circle::.</title>
<link rel="stylesheet" type="text/css" href="styles/styles.css" />
<!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ -->
<script type="text/javascript" src="swfobj_adress/swfobject.js"></script>
<script type="text/javascript" src="swfobj_adress/swfaddress.js"></script>
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="100%" height="100%">
<div id="flashcontent">
Content
</div>
</td>
<td><img src="spacer.gif" alt="" width="1" height="615" align="top" id="spacer" /></td>
</tr>
</table>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("master.swf", "sotester", "100%", "100%", "8", "#FFFFFF", true);
so.addParam("scale", "noscale");
so.addVariable("lang", "swe");
so.write("flashcontent");
// ]]>
</script>
</body>
</html>
What I want is the spacer.gif to work so that the browser's scroller appears if needed eventhough the flash movie is fullscreen. The way it is now is that if I scroll in IE6 the flashmovie doesn't get refreshed - it gets cropped where the latest height was and a horizontal scroller also appears. If I remove the DOCTYPE it works perfect.
Que? So weird...
The styles.css looks like this:
Code:
html {
height: 100%;
overflow: auto;
}
#flashcontent {
height: 100%;
min-height: 615px;
}
body {
height: 100%;
margin: 0;
padding: 0;
}
.bodyText {
font-size: 8pt;
font-family: embed;
color: #333333;
}
Niklas