class= " lineNumbers " del
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:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
|
class= del
class= >//slider1 " notpretty " del id= " codeSnippet815514 " del = 0 del cordx) {
$ (“#slider1”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider1”) .addClass (“rating0”);
document.getElementById (“rating1”) .value = 0;
} //close si 1
si (<= 40 del cordx del && del >= 20 del cordx) {
$ (“#slider1”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider1”) .addClass (“rating1”);
document.getElementById (“rating1”) .value = 1;
} //close si 1
si (<= 60 del cordx del && del >= 40 del cordx) {
$ (“#slider1”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider1”) .addClass (“rating2”);
document.getElementById (“rating1”) .value = 2;
} //close si 2
si (<= 80 del cordx del && del >= 60 del cordx) {
$ (“#slider1”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider1”) .addClass (“rating3”);
document.getElementById (“rating1”) .value = 3;
} //close si 3
si (<= 100 del cordx del && del >= 80 del cordx) {
$ (“#slider1”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider1”) .addClass (“rating4”);
document.getElementById (“rating1”) .value = 4;
} //close si 4
si (>= 100 del cordx) {
$ (“#slider1”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider1”) .addClass (“rating5”);
document.getElementById (“rating1”) .value = 5;
} //close si 5
},
valores: [
[0.1.2.3.4.5]
]
}
);
$ (“#slideBox2”). Resbalador (
{
aceptar: “#marker2”,
fracciones: 5,
onSlide: función (cordx, cordy, x, y)
{
si (<= 20 del cordx del && del >= 0 del cordx) {
$ (“#slider2”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider2”) .addClass (“rating0”);
document.getElementById (“rating2”) .value = 0;
} //close si 1
si (<= 40 del cordx del && del >= 20 del cordx) {
$ (“#slider2”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider2”) .addClass (“rating1”);
document.getElementById (“rating2”) .value = 1;
} //close si 1
si (<= 60 del cordx del && del >= 40 del cordx) {
$ (“#slider2”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider2”) .addClass (“rating2”);
document.getElementById (“rating2”) .value = 2;
} //close si 2
si (<= 80 del cordx del && del >= 60 del cordx) {
$ (“#slider2”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider2”) .addClass (“rating3”);
document.getElementById (“rating2”) .value = 3;
} //close si 3
si (<= 100 del cordx del && del >= 80 del cordx) {
$ (“#slider2”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider2”) .addClass (“rating4”);
document.getElementById (“rating2”) .value = 4;
} //close si 4
si (>= 100 del cordx) {
$ (“#slider2”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider2”) .addClass (“rating5”);
document.getElementById (“rating2”) .value = 5;
} //close si 5
},
valores: [
[0.1.2.3.4.5]
]
}
);
$ (“#slideBox3”). Resbalador (
{
aceptar: “#marker3”,
fracciones: 5,
onSlide: función (cordx, cordy, x, y)
{
si (<= 20 del cordx del && del >= 0 del cordx) {
$ (“#slider3”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider3”) .addClass (“rating0”);
document.getElementById (“rating3”) .value = 0;
} //close si 1
si (<= 40 del cordx del && del >= 20 del cordx) {
$ (“#slider3”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider3”) .addClass (“rating1”);
document.getElementById (“rating3”) .value = 1;
} //close si 1
si (<= 60 del cordx del && del >= 40 del cordx) {
$ (“#slider3”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider3”) .addClass (“rating2”);
document.getElementById (“rating3”) .value = 2;
} //close si 2
si (<= 80 del cordx del && del >= 60 del cordx) {
$ (“#slider3”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider3”) .addClass (“rating3”);
document.getElementById (“rating3”) .value = 3;
} //close si 3
si (<= 100 del cordx del && del >= 80 del cordx) {
$ (“#slider3”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider3”) .addClass (“rating4”);
document.getElementById (“rating3”) .value = 4;
} //close si 4
si (>= 100 del cordx) {
$ (“#slider3”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider3”) .addClass (“rating5”);
document.getElementById (“rating3”) .value = 5;
} //close si 5
},
valores: [
[0.1.2.3.4.5]
]
}
);
$ (“#slideBox4”). Resbalador (
{
aceptar: “#marker4”,
fracciones: 5,
onSlide: función (cordx, cordy, x, y)
{
si (<= 20 del cordx del && del >= 0 del cordx) {
$ (“#slider4”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider4”) .addClass (“rating0”);
document.getElementById (“rating4”) .value = 0;
} //close si 1
si (<= 40 del cordx del && del >= 20 del cordx) {
$ (“#slider4”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider4”) .addClass (“rating1”);
document.getElementById (“rating4”) .value = 1;
} //close si 1
si (<= 60 del cordx del && del >= 40 del cordx) {
$ (“#slider4”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider4”) .addClass (“rating2”);
document.getElementById (“rating4”) .value = 2;
} //close si 2
si (<= 80 del cordx del && del >= 60 del cordx) {
$ (“#slider4”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider4”) .addClass (“rating3”);
document.getElementById (“rating4”) .value = 3;
} //close si 3
si (<= 100 del cordx del && del >= 80 del cordx) {
$ (“#slider4”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider4”) .addClass (“rating4”);
document.getElementById (“rating4”) .value = 4;
} //close si 4
si (>= 100 del cordx) {
$ (“#slider4”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider4”) .addClass (“rating5”);
document.getElementById (“rating4”) .value = 5;
} //close si 5
},
valores: [
[0.1.2.3.4.5]
]
}
);
$ (“#slideBox5”). Resbalador (
{
aceptar: “#marker5”,
fracciones: 5,
onSlide: función (cordx, cordy, x, y)
{
si (<= 20 del cordx del && del >= 0 del cordx) {
$ (“#slider5”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider5”) .addClass (“rating0”);
document.getElementById (“rating5”) .value = 0;
} //close si 1
si (<= 40 del cordx del && del >= 20 del cordx) {
$ (“#slider5”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider5”) .addClass (“rating1”);
document.getElementById (“rating5”) .value = 1;
} //close si 1
si (<= 60 del cordx del && del >= 40 del cordx) {
$ (“#slider5”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider5”) .addClass (“rating2”);
document.getElementById (“rating5”) .value = 2;
} //close si 2
si (<= 80 del cordx del && del >= 60 del cordx) {
$ (“#slider5”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider5”) .addClass (“rating3”);
document.getElementById (“rating5”) .value = 3;
} //close si 3
si (<= 100 del cordx del && del >= 80 del cordx) {
$ (“#slider5”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider5”) .addClass (“rating4”);
document.getElementById (“rating5”) .value = 4;
} //close si 4
si (>= 100 del cordx) {
$ (“#slider5”) .removeClass (“rating1 rating2 rating3 rating4 rating5 rating0”);
$ (“#slider5”) .addClass (“rating5”);
document.getElementById (“rating5”) .value = 5;
} //close si 5
},
valores: [
[0.1.2.3.4.5]
]
}
);
|