Bug Tracker

Ticket #3624: form.2.html

File form.2.html, 1.3 KB (added by danf, 6 years ago)

Example opacity error

Line 
1***************
2Line: 1106
3***************
4elem.filter = (elem.filter || "").replace( /alpha\([^)]*\)/, "" ) +
5 (parseInt( value ) + '' == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
6***************
7
8After process hide to show. The text "<LABEL>Text</LABEL>" have a little transparency on IE7. I comment this line(:1106) for cancel opacity then it's works.
9
10-------
11Fussia, Daniel.
12from brazil.
13
14
15
16<html>
17
18<script src="jquery-latest.js"></script>
19 
20<script>
21
22  $(document).ready(function(){   
23
24    function doShow() {
25      $("form").show("normal");
26    }
27    function doHide() {
28      $("form").hide("normal");
29    }
30
31    $('[id=show]').click(doShow);
32    $('[id=hide]').click(doHide);
33
34  });
35
36</script>
37
38<style type="text/css">
39<!--
40.font {
41        font-family: Geneva, Arial, Helvetica, sans-serif;
42        font-size: 16px;
43        font-style: normal;
44        line-height: normal;
45        font-weight: normal;
46        font-variant: normal;
47        text-transform: none;
48        color: #000000;
49}
50-->
51</style>
52
53
54<body>
55<input type="button" id="hide" value="hide">
56<input type="button" id="show" value="show">
57<form>
58   <label>A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z</label>
59</form>
60   <BR>
61   <label>A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z</label>
62</body>
63</html>