diff --git a/adf/index.html b/adf/index.html index 8cc0bb6..c94091d 100644 --- a/adf/index.html +++ b/adf/index.html @@ -65,7 +65,7 @@ $(function() { slider.slider("value", parseInt(savedValue)); // Aktualizujeme text a obličej podle načtené hodnoty - //$("#text_ad").text(getText(savedValue)); + $("#text_ad").text(getText(savedValue)); $("#amount").text(savedValue); updateFace(savedValue); }, @@ -82,9 +82,8 @@ $(function() { value: 3, slide: function(event, ui) { // Při změně slideru aktualizujeme text, obličej a ukládáme hodnotu na server - //$("#text_ad").text(getText(ui.value)); - //$("#amount").text(ui.value); - $("#amount").text(getText(ui.value)); + $("#text_ad").text(getText(ui.value)); + $("#amount").text(ui.value); saveDataToServer(ui.value); updateFace(ui.value); } diff --git a/adf/styles/styles.css b/adf/styles/styles.css index 9c0bd7f..2ae5057 100644 --- a/adf/styles/styles.css +++ b/adf/styles/styles.css @@ -35,6 +35,7 @@ /** SLIDER **/ #slider { border-radius: 50px; + margin-bottom: 20px; } #slider .ui-slider-handle { border: none; @@ -472,3 +473,10 @@ .h_main { text-align: center; } + +/*********************************** ************* my ***********************************/ + +#text_ad { + font-size: 18px; + margin-top: 10px; /* Přidáme mezeru nad text_ad */ +} \ No newline at end of file