From e451ff758edd595cff2c4dc6bdeb63073b11d2a9 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 24 Oct 2017 20:35:39 +0200 Subject: [PATCH] task #0001272: Rendre possible l'appel de la calculatrice depuis le fin fond d'une page. --- html/js/scripts.js | 6 +++--- html/style-r692.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/js/scripts.js b/html/js/scripts.js index a62c75758..a2f7044f2 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -1059,7 +1059,7 @@ function show_calc() } var sid = 'calc1'; var shtml = ''; - shtml += '
Fermer
'; + shtml += '
X
'; shtml += '

Calculatrice

'; shtml += '
Calculatrice simplifiée: écrivez simplement les opérations que vous voulez puis la touche retour. exemple : 1+2+3*(1/5) '; shtml += '

Taper une formule (ex 20*5.1) puis enter
'; @@ -2846,10 +2846,10 @@ function create_anchor_up() function init_scroll() { var up=new Element('div',{"class":"inner_box", - "style":"padding:10px;left:auto;width:30px;height: auto;display:none;position:fixed;top:25px;right:20px;text-align:center", + "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=' '; + up.innerHTML=' '; document.body.appendChild(up); window.onscroll=function () { if ( document.viewport.getScrollOffsets().top> 0) { diff --git a/html/style-r692.css b/html/style-r692.css index 03c893103..536326cbf 100644 --- a/html/style-r692.css +++ b/html/style-r692.css @@ -1093,7 +1093,7 @@ table.table_large tr.odd ,table.table_large tr.even { } #calc1 { - position:absolute; + position:fixed; display:block; top:30px; left:150px;