Scrollbar i browser
HejJeg har programmeret min hjemmeside i flash(980x710) og indsat den(SWF) via html.
Jeg mangler at få indsat en scrollbar i min browseren, hvis SWF'en er større end browservinduet.
Hjemmesiden ligger på www.arkimm.dk
Min html ser således ud:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>// Arki MM - Den rigtige vej gennem byggeriet //</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
<!-- Adobe recommends that developers use SWFObject2 for Flash Player detection. -->
<!-- For more information see the SWFObject page at Google code (http://code.google.com/p/swfobject/). -->
<!-- Information is also available on the Adobe Developer Connection Under Detecting Flash Player versions and embedding SWF files with SWFObject 2" -->
<!-- Set to minimum required Flash Player version or 0 for no version detection -->
var swfVersionStr = "8.0.24";
<!-- xiSwfUrlStr can be used to define an express installer SWF. -->
var xiSwfUrlStr = "";
var flashvars = {};
var params = {};
params.quality = "best";
params.bgcolor = "#000000";
params.play = "true";
params.loop = "true";
params.wmode = "direct";
params.scale = "exactfit";
params.menu = "true";
params.devicefont = "false";
params.salign = "center";
params.allowscriptaccess = "sameDomain";
var attributes = {};
attributes.id = "Main Test referencer1";
attributes.name = "Main Test referencer1";
attributes.align = "top";
swfobject.createCSS("html", "height:100%; background-color: #000000;");
swfobject.createCSS("body", "margin:0; padding:0; overflow:hidden; height:100%;");
swfobject.embedSWF(
"Main Test referencer1.swf", "flashContent",
"980", "710",
swfVersionStr, xiSwfUrlStr,
flashvars, params, attributes);
</script>
</head>
<body>
<div align="center">
<!-- SWFObject's dynamic embed method replaces this alternative HTML content for Flash content when enough JavaScript and Flash plug-in support is available. -->
<div id="flashContent">
<a href="https://www.adobe.com/go/getflash">
<img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<p>This page requires Flash Player version 10 or higher.</p>
</div>
</html>