menu onder div
ipv
wmode = transparant
en t moet werken in IE/FF
kunt altijd zelf checken : http://www.haco.com/new_site_v2/index.php?lang=47&menu=26&submenu=22&topitem=15&subitem=14&machine=14&info=
post even een stukje omringende code en CSS ivm de divjes.
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#head_menu
{
position: absolute;
top: 110px;
left: 150px;
z-index: 2;
}
#content
{
padding: 5px;
color: #cccccc;
background-color: #333333;
position: absolute;
top: 145px;
left: 200px;
width:814px;
height: 450px;
overflow: auto;
}
{
position: absolute;
top: 110px;
left: 150px;
z-index: 2;
}
#content
{
padding: 5px;
color: #cccccc;
background-color: #333333;
position: absolute;
top: 145px;
left: 200px;
width:814px;
height: 450px;
overflow: auto;
}
headmenu is het menu en content de div waar de filmpje sin komen
de code waarin het filmpje wordt opgeroepen
Code (php)
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
<div id="content">
<br /><h3>Single workpiece</h3>
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p><script type="text/javascript">
var s1 = new SWFObject("http://www.haco.com/new_site_v2/streaming_video/flvplayer.swf","single","300","170","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","http://www.haco.com/new_site_v2/video/SWPC_high.flv");
s1.addVariable("image","http://www.haco.com/new_site_v2/images/previewmubea.png");
s1.write("player1");
</script> </div>
<br /><h3>Single workpiece</h3>
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p><script type="text/javascript">
var s1 = new SWFObject("http://www.haco.com/new_site_v2/streaming_video/flvplayer.swf","single","300","170","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","http://www.haco.com/new_site_v2/video/SWPC_high.flv");
s1.addVariable("image","http://www.haco.com/new_site_v2/images/previewmubea.png");
s1.write("player1");
</script> </div>
nog iets nodig??
Gewijzigd op 01/01/1970 01:00:00 door jordy
Code (php)
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
<div id="content">
<br /><h3>Single workpiece</h3>
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p><script type="text/javascript">
var s1 = new SWFObject("http://www.haco.com/new_site_v2/streaming_video/flvplayer.swf","single","300","170","7");
s1.addParam("allowfullscreen","true");
s1.addParam("wmode","transparent");
s1.addVariable("file","http://www.haco.com/new_site_v2/video/SWPC_high.flv");
s1.addVariable("image","http://www.haco.com/new_site_v2/images/previewmubea.png");
s1.write("player1");
</script> </div>
<br /><h3>Single workpiece</h3>
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p><script type="text/javascript">
var s1 = new SWFObject("http://www.haco.com/new_site_v2/streaming_video/flvplayer.swf","single","300","170","7");
s1.addParam("allowfullscreen","true");
s1.addParam("wmode","transparent");
s1.addVariable("file","http://www.haco.com/new_site_v2/video/SWPC_high.flv");
s1.addVariable("image","http://www.haco.com/new_site_v2/images/previewmubea.png");
s1.write("player1");
</script> </div>
ik had nogthans de wmode al op transparant gezet in mijn javascript die de flashfile oproept