72 this.globalTapestry.append('div').attr('id','timelinehaute'); |
72 this.globalTapestry.append('div').attr('id','timelinehaute'); |
73 this.globalTapestry.append('div').attr('id','timelinebasse'); |
73 this.globalTapestry.append('div').attr('id','timelinebasse'); |
74 |
74 |
75 this.tapestryHtml = d3.select(object.parametres.selectorHaut) |
75 this.tapestryHtml = d3.select(object.parametres.selectorHaut) |
76 .style('position', 'relative') |
76 .style('position', 'relative') |
77 .style('left','200px') |
77 .style('left','0px') |
78 .style('width', object.parametres.largeur + 'px') |
78 .style('width', object.parametres.largeur + 'px') |
79 .style('height', object.parametres.hauteur + 'px') |
79 .style('height', object.parametres.hauteur + 'px') |
80 .style('background-color', 'black'); |
80 .style('background-color', 'black'); |
81 //.style('overflow','hidden'); |
81 //.style('overflow','hidden'); |
82 |
82 |
83 //---------------------------------------------------------------------- |
83 //---------------------------------------------------------------------- |
84 // BOUTON DEZOOM |
84 // BOUTON DEZOOM |
85 var left = this.parametres.largeur/2 +100+"px"; |
85 var left = this.parametres.largeur/2 +"px"; |
86 this.boutonZoom = d3.select(object.parametres.selectorBas).append('button') |
86 this.boutonZoom = d3.select(object.parametres.selectorBas).append('button') |
87 .attr('id',"dezoom") |
87 .attr('id',"dezoom") |
88 .style('position', 'relative') |
88 .style('position', 'relative') |
89 .style('top','5px') |
89 .style('top','5px') |
90 .style('left',left) |
90 .style('left',left) |