comparison interfaces/mushra.js @ 1143:c1c5cb020fd3

Added new horizontal slider class. Launched using ABC test interface.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 13 Jan 2016 12:27:38 +0000
parents 3924a4e1499b
children 92f26057b934
comparison
equal deleted inserted replaced
1142:3924a4e1499b 1143:c1c5cb020fd3
200 this.holder.style.height = window.innerHeight-200 + 'px'; 200 this.holder.style.height = window.innerHeight-200 + 'px';
201 this.holder.appendChild(this.title); 201 this.holder.appendChild(this.title);
202 this.holder.appendChild(this.slider); 202 this.holder.appendChild(this.slider);
203 this.holder.appendChild(this.play); 203 this.holder.appendChild(this.play);
204 this.holder.align = "center"; 204 this.holder.align = "center";
205 if (audioObject.id == 0) 205 if (label == 0)
206 { 206 {
207 this.holder.style.marginLeft = '0px'; 207 this.holder.style.marginLeft = '0px';
208 } 208 }
209 this.holder.setAttribute('trackIndex',audioObject.id); 209 this.holder.setAttribute('trackIndex',audioObject.id);
210 210