Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

81
Visualizações
graph for Firefox

I have a page where there is a slider and a graph is drawn according to the value. The slider has values from 1 to 5 and there are also 5 chart types. In Chrome everything is fine. However, Firefox can't handle it. I am attaching a piece of code and asking how to solve this? Thank you

<div class="slidecontainer" style="height: 0 !important;">
<input type="range" min="1" max="5" aria-orientation="vertical" value="#{IVB.iQ.q1}" class="slider"
id="myRange" onclick="asd()" onchange="#{IVB.yAL()}" ondurationchange="asd()"/>
</div>


<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

            <script type="text/javascript">

                google.charts.load('current', {
                    'packages': ['corechart']
                });
                google.charts.setOnLoadCallback(drawChart);

                function asd(){
                    document.getElementById("j_idt26:est").value = document.getElementById("myRange").value
                    updateData();
                }

                function drawChart() {
                    let data;
                    if(document.getElementById("myRange").value == 1){
                        data = google.visualization.arrayToDataTable([
                            [' ', 'Mv', 'Mz'],
                            [' ', 0, 0],
                            [' ', 2000, -1000]
                        ]);
                    }
</script>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This: -webkit-appearance: slider-vertical; was wrong.

Final solution:

.slider {
    width: 150px;
    height: 15px;
    position: relative;
    top: -310px;
    left: 840px;
    border-radius: 5px;
    background-color: #26C6DA;
    outline: none;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    transform: rotate(270deg);
    -webkit-transition: .2s;
    transition: opacity .2s;
}
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda