function trocaIMG(){
var previsao = document.forms[0].previsoes.value;
if(previsao==”precipitacao”){
document.getElementById(“imagem1”).src = “https://s0.cptec.inpe.br/grafico/Satelite/goes16/realcadas/pagina/g16ch13_cptec.jpg”
document.getElementById(“imagem2”).src = “https://s0.cptec.inpe.br/grafico/Satelite/goes16/realcadas/pagina/g16ch13_cptec.jpg”
}else if(previsao==”op2″){
document.getElementById(“imagem1”).src = “http://img0.cptec.inpe.br/~rclima/previsao/consenso/previsao.gif”
document.getElementById(“imagem2”).src = “http://img0.cptec.inpe.br/~rclima/previsao/consenso/previsao.gif”
}else if(previsao==”op3″){
document.getElementById(“imagem1”).src = “http://146.164.214.21/api2/SBRJ/graficos/barbela3h.png”
document.getElementById(“imagem2”).src = “http://146.164.214.21/api2/SBRJ/graficos/barbela3h.png”
}
}
.tamImg{
max-width: 500px!important;
}
.grid-container {
display: grid;
grid-template-columns: auto auto auto;
grid-column-gap: 10px;
}
24h
48h