Se quita el fondo
This commit is contained in:
parent
efe00b49d3
commit
59eaee13fc
@ -848,12 +848,12 @@ function getMin(arr, prop) {
|
||||
function CambiarFondo(intensidad){
|
||||
// console.log(intensidad)
|
||||
if(intensidad>5){
|
||||
$('#cuerpo').css("background-image", "url(./imgs/Pna.jpg)");
|
||||
// $('#cuerpo').css("background-image", "url(./imgs/Pna.jpg)");
|
||||
}
|
||||
if(intensidad <=35){
|
||||
$('#cuerpo').css("background-image", "url(./imgs/Pna2.jpg)");
|
||||
// $('#cuerpo').css("background-image", "url(./imgs/Pna2.jpg)");
|
||||
}
|
||||
if(intensidad<5 && intensidad>-1){
|
||||
$('#cuerpo').css("background-image", "url(./imgs/Pna3.jpg)");
|
||||
// $('#cuerpo').css("background-image", "url(./imgs/noche.jpg)");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user