-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
73 lines (60 loc) · 4.12 KB
/
test.html
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
71
72
73
<html>
<head>
<style>
.contents { width:70%; padding:10px; border:solid 1px #778899; }
.contents, .contents * { margin:0 auto; }
.title { width:50%; text-align:center; }
.cvInfosEltClass1 { float:right; }
.cvInfosEltClass1 { float:left; }
hr { width:90%; color:#E0E0E0; border:0; border-top:1px solid #E0E0E0; margin:10px auto !important; }
p { text-align:justify; width:50%; background-color:#F5F5F5; margin:10px auto !important; }
</style>
</head>
<body>
<div class="contents">
<div class="title" >
<span class="cvwhat">This a very good movie.</span>
<span class="cvMoreEltClass">More infos ?</span>
<span class="cvLessEltClass">Less infos ?</span>
</div>
<div id="cvwhat" class="cvInfosEltClass">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
</div>
<hr>
<div class="title" >
<span class="cvwhat1">This a very good movie.</span>
<span class="cvMoreEltClass1">More infos ?</span>
<span class="cvLessEltClass1">Less infos ?</span>
</div>
<div id="cvwhat1" class="cvInfosEltClass1">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
</div>
<hr>
<div class="title" >
<span class="cvwhat2">This a very good movie.</span>
<span class="cvMoreEltClass2">More infos ?</span>
<span class="cvLessEltClass2">Less infos ?</span>
</div>
<div id="cvwhat2" class="cvInfosEltClass2">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
</div>
<hr>
<div class="title" >
<span class="cvwhat3">This a very good movie.</span>
<span class="cvM oreEltClass3">More infos ?</span>
<span class="cvLessEltClass3">Less infos ?</span>
</div>
<div id="cvwhat3" class="cvInfosEltClass3">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
</div>
</div>
<script src="jquery.js"></script>
<script src="jquery.addeffect.js"></script>
<script type="text/javascript">
$(".cvInfosEltClass").addEffect({cvMoreEltClass:'.cvMoreEltClass',cvLessEltClass:'.cvLessEltClass',effect:'0',cvTime:'100000'});
$(".cvInfosEltClass1").addEffect({cvMoreEltClass:'.cvMoreEltClass1',cvLessEltClass:'.cvLessEltClass1',effect:'1',cvTime:'50000',hiddingTime:'2000'});
$(".cvInfosEltClass2").addEffect({cvMoreEltClass:'.cvMoreEltClass2',cvLessEltClass:'.cvLessEltClass2',effect:'2',cvTime:'12550'});
$(".cvInfosEltClass3").addEffect({cvMoreEltClass:'.cvMoreEltClass3',cvLessEltClass:'.cvLessEltClass3'});
</script>
</body>
</html>