Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
//Get parameters | //Get parameters | ||
var xmlfile= 'https://2013.igem.org/Team:Paris_Saclay/'+sb.getAttribute('data-load')+'?action=raw&ctype=text/css'; | var xmlfile= 'https://2013.igem.org/Team:Paris_Saclay/'+sb.getAttribute('data-load')+'?action=raw&ctype=text/css'; | ||
- | |||
var width= sb.getAttribute('data-width'); | var width= sb.getAttribute('data-width'); | ||
var height= sb.getAttribute('data-height'); | var height= sb.getAttribute('data-height'); | ||
Line 40: | Line 39: | ||
xhr.open("GET", xmlfile, false); | xhr.open("GET", xmlfile, false); | ||
xhr.send(); | xhr.send(); | ||
- | xmldata= xhr. | + | xmldata= xhr.responseXML; |
} | } | ||
catch(err) | catch(err) |
Revision as of 18:51, 2 August 2013