Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 52: | Rivi 52: | ||
// add fullscreen button | // add fullscreen button | ||
memo.headerEl.append( '<div class="obschartbutton fullscreen-button" style="float: right; background-color: rgba( 255, 255, 255, 1 ); border-radius: 50%; border: 1px solid rgba( 0, 0, 0, 0.5 ); padding: 1px;"><button title="fullscreen" style="width: 24px; height: 24px; padding: 0; margin: 0; background: none; border: none; "><i class="fas fa-expand"></i></button></div>' ); | memo.headerEl.append( '<div class="obschartbutton fullscreen-button" style="display: none; float: right; background-color: rgba( 255, 255, 255, 1 ); border-radius: 50%; border: 1px solid rgba( 0, 0, 0, 0.5 ); padding: 1px;"><button title="fullscreen" style="width: 24px; height: 24px; padding: 0; margin: 0; background: none; border: none; "><i class="fas fa-expand"></i></button></div>' ); | ||
memo.fullscreenEl = jQuery( this ).find( '.fullscreen-button' ); | memo.fullscreenEl = jQuery( this ).find( '.fullscreen-button' ); | ||
// add download data button | // add download data button | ||
memo. | memo.headerEl.append( '<div class="obschartbutton download-button" style="display: none; Xposition: absolute; Xz-index: 120; float: right; Xtop: 70px; Xright: 1.5px; background-color: rgba( 255, 255, 255, .9 ); border-radius: 50%; border: 1px solid rgba( 0, 0, 0, 0.5 ); Xwidth: 24px; Xheight: 24px; padding: 1px;"><button title="' + i18n['download'][memo.lang] + '" style="width: 24px; height: 24px; padding: 0; margin: 0; background: none; border: none;"><i class="fas fa-download"></i></button></div>' ); | ||
memo.downloadEl = jQuery( this ).find( '.download-button' ); | memo.downloadEl = jQuery( this ).find( '.download-button' ); | ||


