CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 24: | Line 24: | ||
var leftElements = [ | var leftElements = [ | ||
{ | { | ||
− | 'id' : 'asteris_mirna_xA0_Image' | + | 'id' : 'asteris_mirna_xA0_Image', |
+ | 'translate' : 'matrix(0.48, 0, 0, 0.48, -85, 15.8398)' | ||
}, | }, | ||
{ | { | ||
− | 'id' : 'eugene_mirna_xA0_Image' | + | 'id' : 'eugene_mirna_xA0_Image', |
+ | 'translate' : 'matrix(0.48, 0, 0, 0.48, -85, 87.8398)' | ||
}, | }, | ||
{ | { | ||
− | 'id' : 'charis_mirna_xA0_Image' | + | 'id' : 'charis_mirna_xA0_Image', |
+ | 'translate' : 'matrix(0.48, 0, 0, 0.48, -85, 158.8799)' | ||
}, | }, | ||
{ | { | ||
− | 'id' : 'thomas_mirna_xA0_Image' | + | 'id' : 'thomas_mirna_xA0_Image', |
+ | 'translate' : 'matrix(0.48, 0, 0, 0.48, -85, 229.9199)' | ||
}, | }, | ||
{ | { | ||
− | 'id' : 'elissavet_mirna_xA0_Image' | + | 'id' : 'elissavet_mirna_xA0_Image', |
+ | 'translate' : 'matrix(0.48, 0, 0, 0.48, -85, 301.9199)' | ||
} | } | ||
]; | ]; | ||
Line 65: | Line 70: | ||
console.log('item: ' + item.id); | console.log('item: ' + item.id); | ||
console.log('index: ' + index); | console.log('index: ' + index); | ||
− | //svgDoc.getElementById(item.id).setAttribute('transform', | + | //svgDoc.getElementById(item.id).setAttribute('transform', item.translate); |
}) | }) | ||
}, false); | }, false); |
Revision as of 13:29, 21 October 2017