task #0001272: Rendre possible l'appel de la calculatrice depuis le fin fond d'une page.

This commit is contained in:
Dany De Bontridder 2017-10-24 20:43:20 +02:00
parent d4903f740b
commit ff6f08fc72
3 changed files with 1 additions and 1 deletions

BIN
html/image/arrow-up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

BIN
html/image/compute.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

View file

@ -2849,7 +2849,7 @@ function init_scroll()
"style":"padding:10px;left:auto;width:60px;height: auto;display:none;position:fixed;top:25px;right:20px;text-align:center",
id:"go_up"
});
up.innerHTML=' <a class="button" href="#up_top" ><img src="image/arrow-up.svg"/></a><a href="javascript:show_calc()" class="button"><img src="image/compute.svg"/></a>';
up.innerHTML=' <a class="button" href="#up_top" ><img src="image/arrow-up.png"/></a><a href="javascript:show_calc()" class="button"><img src="image/compute.png"/></a>';
document.body.appendChild(up);
window.onscroll=function () {
if ( document.viewport.getScrollOffsets().top> 0) {