Ik heb een probleempje met het niet zichtbaar zijn van een object wat op de voorgrond zou moeten staan. Op de achtergrond draait een Flash filmpje. In Opera en IE werkt het prima, maar in FF dus niet. Waarom???
http://www.daanooms.nl
In Firefox wordt de Flash movie boven het geel zwarte geval getoond (is niet de bedoeling). Terwijl de Flash movie z-index: -1; heeft en dat geel zwarte ding z-index: 100; en de w mode van de flash film op transparant staat.
Weet iemand hoe dat opgelost kan worden?
CSS flash filmpje
CSS geelzwarte geval
xhtml
http://www.daanooms.nl
In Firefox wordt de Flash movie boven het geel zwarte geval getoond (is niet de bedoeling). Terwijl de Flash movie z-index: -1; heeft en dat geel zwarte ding z-index: 100; en de w mode van de flash film op transparant staat.
Weet iemand hoe dat opgelost kan worden?
CSS flash filmpje
code:
1
2
3
4
5
6
7
8
| div#mmets {
top : 20px;
z-index : -1;
width : 360px;
height : 288px;
float : left;
border : 2px solid red;
} |
CSS geelzwarte geval
code:
1
2
3
4
5
6
7
8
9
| div#korhoen {
z-index : 100;
width : 305px;
height : 297px;
float : left;
border : 2px solid red;
margin-top : -40px;
margin-left : 60px;
} |
code:
1
2
3
| .clear {
clear : both;
} |
xhtml
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| <div id="site">
<div id="mmets">
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="360" height="288"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="http://www.daanooms.nl/mmets.swf" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="wmode" value="transparent">'
+ '<embed src="http://www.daanooms.nl/mmets.swf" wmode="transparent" loop="true" quality="high" bgcolor="#000000" '
+ 'width="360" height="288" name="mmets" align="middle"'
+ 'play="true"'
+ 'loop="true"'
+ 'wmode="transparent"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = '<p>[img]"http://www.daanooms.nl/images/waarschuwingmmets.jpg"></p[/img]'
+ 'This content requires the Macromedia Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not support scripting
// or for those that have scripting disabled.
<p>[img]"http://www.daanooms.nl/images/waarschuwingmmets.jpg"></p[/img] This content requires the Macromedia Flash Player.
<a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
</noscript>
</div>
<div id="dehaas">
<a href="" onclick="winBRopen('http://www.daanooms.nl/dehaas/index.htm','dehaas','577','477','no');return false">
[img]"http://www.daanooms.nl/images/dehaasklein.jpg"[/img]</a>
</div>
<div class="clear">
</div>
<div id="korhoen">
<a href="http://www.daanooms.nl/korhoen/index.htm">
[img]"http://www.daanooms.nl/images/korhoenkleiner.gif"[/img]</a>
</div>
<div id="button">
<a href="http://www.daanooms.nl//cement/index.htm">
[img]"http://www.daanooms.nl/images/buttons/cementgroenwit.gif"[/img]</a>
</div>
<div class="clear">
</div>
</div> |
[ Voor 138% gewijzigd door Verwijderd op 10-03-2006 14:51 ]