mirror of
https://github.com/medialab-prado/poblados-colonizacion-colonias-penitenciarias.git
synced 2024-12-27 04:51:22 +01:00
parcelas
This commit is contained in:
parent
14101a68df
commit
6efb6054b0
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="video-container">
|
<div class="video-container">
|
||||||
<iframe src="graficos/parcelas.html" width="100%" height="539px" style="overflow:hidden" allowfullscreen="" frameborder="0">
|
<iframe id="p5" src="graficos/parcelas.html" width="100%" height="539px" style="overflow:hidden" allowfullscreen="" frameborder="0">
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -27,8 +27,9 @@ function setup() {
|
||||||
pg = createGraphics(800, 519);
|
pg = createGraphics(800, 519);
|
||||||
var as = 519. / 800.;
|
var as = 519. / 800.;
|
||||||
zoom = .95;
|
zoom = .95;
|
||||||
var w = windowWidth*zoom;
|
|
||||||
var h = windowHeight*as*zoom;
|
var framesWidth = window.parent.$("iframe.p5").width();
|
||||||
|
var framesHeight = window.parent.$("iframe.p5").height();
|
||||||
|
|
||||||
createCanvas(w,h);
|
createCanvas(w,h);
|
||||||
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");
|
||||||
|
|
Loading…
Reference in a new issue