This commit is contained in:
abe- 2017-06-17 21:42:24 +02:00
parent 5fce82e65a
commit 4b4f7c2a24

View file

@ -28,8 +28,8 @@ function setup() {
var as = 519. / 800.; var as = 519. / 800.;
zoom = .95; zoom = .95;
var framesWidth = window.parent.$("iframe.p5").width(); var framesWidth = document.getElementbyId("#p5").offsetWidth;
var framesHeight = window.parent.$("iframe.p5").height(); var framesHeight = document.getElementbyId("#p5").offsetHeight;
createCanvas(framesWidth,framesHeight); createCanvas(framesWidth,framesHeight);
nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias"); nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias");