bonsoir !
la réponse doit être très simple mais j'avoue que là je trouve pas
simple, j'ai un bouton (img) qui se voit attribuer un hover, au repos, elle a une opacité de 10, et en survol normalement je voudrais 100 hors donc je n'ai pas l'effet escompté cela doit être la fatigue ...
merci d'avance ^^
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
61
62
63
64
65
66
67
68
69
70 <html> <body> <style> .FLVplayer { width: 384px; height: 288px; display: none; text-align: center; border: 0px red; text-decoration: none; position:absolute; top:0px; left:0px; margin:0px 0px; z-index: 45; } .video { background-image: url(th008.gif); position:absolute; background-repeat: no-repeat; top:8px; left:500px; width: 38px; height: 38px; padding: 0; z-index:60; opacity:0.1; filter:alpha(opacity=10); -moz-opacity:0.1; -khtml-opacity:0.1 } .video:hover { opacity:1; filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity:1 } .video:active { opacity:1; filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity:1 } </style> <div class="video" onclick="showDiv();"> </div> <div class="FLVplayer" id="monid"> <object type="application/x-shockwave-flash" width="384" height="288" wmode="transparent" data="flvplayer.swf?file=alice.FLV"> <param name="movie" value="flvplayer.swf?file=alice.FLV" /> <param name="wmode" value="transparent" /> </object> </div> <script language="javascript"> function showDiv(){ document.getElementById('monid').style.display = (document.getElementById('monid').style.display == '')?"block":""; } </script> </body> </html>
Partager