Mercurial > hg > webaudioevaluationtool
comparison interfaces/horizontal-sliders.js @ 476:9ae9d1fb80bf Dev_main
Fixed checkbox survey collection. Minor corrections to horizontal sliders. Working Chrome (Win/OSX)
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Thu, 14 Jan 2016 12:19:42 +0000 |
parents | 5bd699bc44d2 |
children | 92f26057b934 |
comparison
equal
deleted
inserted
replaced
475:aad881fa0891 | 476:9ae9d1fb80bf |
---|---|
269 this.exportXMLDOM = function(audioObject) { | 269 this.exportXMLDOM = function(audioObject) { |
270 // Called by the audioObject holding this element to export the interface <value> node. | 270 // Called by the audioObject holding this element to export the interface <value> node. |
271 // If there is no value node (such as outside reference), return null | 271 // If there is no value node (such as outside reference), return null |
272 // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute | 272 // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute |
273 // Use storage.document.createElement('value'); to generate the XML node. | 273 // Use storage.document.createElement('value'); to generate the XML node. |
274 | 274 var node = storage.document.createElement('value'); |
275 node.textContent = this.slider.value; | |
276 return node; | |
275 }; | 277 }; |
276 }; | 278 }; |
277 | 279 |
278 function resizeWindow(event) | 280 function resizeWindow(event) |
279 { | 281 { |