File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
慕课网教程案例/jQuery入门教程/淡入淡出效果 Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 5
5
< meta http-equiv ="Content-type " content ="text/html; charset=utf-8 " />
6
6
< title > </ title >
7
7
< style >
8
+ select {
9
+ width : 100% ;
10
+ height : 30px ;
11
+ }
8
12
p {
9
13
color : red;
10
14
display : none;
17
21
< h2 > fadeIn</ h2 >
18
22
< p > 测试文字淡出效果</ p >
19
23
< p > 慕课网,专注分享</ p >
20
- 淡出的隐藏效果:
24
+ 选择:淡出的隐藏效果
25
+ </ br >
26
+ </ br >
21
27
< select id ="animation ">
22
28
< option value ="1 "> fadeIn( )</ option >
23
29
< option value ="2 "> fadeIn( "slow" )</ option >
@@ -26,7 +32,8 @@ <h2>fadeIn</h2>
26
32
< option value ="5 "> fadeIn( 1000, "linear" )</ option >
27
33
< option value ="6 "> fadeIn( options )</ option >
28
34
</ select >
29
- < input id ="btnFadeIn " type ="button " value ="显示 " />
35
+ </ br > </ br >
36
+ < input id ="btnFadeIn " type ="button " value ="执行淡出效果 " />
30
37
< input id ="btnHide " type ="button " value ="点击隐藏 " />
31
38
< script type ="text/javascript ">
32
39
//【显示】按钮
You can’t perform that action at this time.
0 commit comments