Mercurial > hg > webaudioevaluationtool
comparison core.js @ 963:ba734075da2d
Bug #1235: Slider, slider objects and scale markings are adjusted on window resize.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Wed, 27 May 2015 11:49:20 +0100 |
parents | c35bd010cebb |
children | 9c09cb530ec1 |
comparison
equal
deleted
inserted
replaced
962:2910699456bb | 963:ba734075da2d |
---|---|
261 css.href = 'ape.css'; | 261 css.href = 'ape.css'; |
262 | 262 |
263 document.getElementsByTagName("head")[0].appendChild(css); | 263 document.getElementsByTagName("head")[0].appendChild(css); |
264 } | 264 } |
265 document.getElementsByTagName("head")[0].appendChild(interfaceJS); | 265 document.getElementsByTagName("head")[0].appendChild(interfaceJS); |
266 | |
267 // Define window callbacks for interface | |
268 window.onresize = function(event){resizeWindow(event);}; | |
266 } | 269 } |
267 | 270 |
268 function createProjectSave(destURL) { | 271 function createProjectSave(destURL) { |
269 // Save the data from interface into XML and send to destURL | 272 // Save the data from interface into XML and send to destURL |
270 // If destURL is null then download XML in client | 273 // If destURL is null then download XML in client |