-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexample_rating_scales.html
More file actions
46 lines (40 loc) · 1.09 KB
/
example_rating_scales.html
File metadata and controls
46 lines (40 loc) · 1.09 KB
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<link rel="stylesheet" type="text/css" href="css/ratingbar.css" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.ratingbar.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
// Custom markup
$('.various_ratings').ratingbar();
});
</script>
</head>
<body>
<h1>You can use different rating scales and text, too:</h1>
<table>
<tr>
<td>She is awesome!</td>
<td>1919</td>
<td>Tooo good :)</td>
<td class="various_ratings">6.3 out of 10</td>
</tr>
<tr>
<td>Oh my</td>
<td>2001</td>
<td>Nice book. Too short.</td>
<td class="various_ratings">2.44 / 5</td>
</tr>
<tr>
<td>She is awesome 2.</td>
<td>1988</td>
<td>Better than the first one</td>
<td class="various_ratings">41 of 5</td>
</tr>
</table>
</body>
</html>