-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportfolio.js
More file actions
34 lines (32 loc) · 1.14 KB
/
Copy pathportfolio.js
File metadata and controls
34 lines (32 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function mudar(){
var imagem = document.getElementById("serralheiro");
imagem.src = "https://static.wixstatic.com/media/1f7d33_a3008effeb1f43278aaf342ed7faee93~mv2.png/v1/fill/w_1000,h_668,al_c,q_90/1f7d33_a3008effeb1f43278aaf342ed7faee93~mv2.png"
var opacity = 0.5;
imagem.style.opacity = opacity;
}
function prox(){
var imagem = document.getElementById("serralheiro");
imagem.src = "https://casaserralheiro.com.br/wp-content/uploads/2022/01/casadoserralheiro-blog-equipamentos-para-serralheria-epis-indispensaveis.png"
var opacity = 1;
imagem.style.opacity = opacity;
}
function escurecerG(){
var icon = document.getElementById("logogthb");
var opacity = 1;
icon.style.opacity = opacity;
}
function clarearG(){
var icon = document.getElementById("logogthb");
var opacity = 0.6;
icon.style.opacity = opacity;
}
function escurecerL(){
var icon = document.getElementById("logolkdn");
var opacity = 1;
icon.style.opacity = opacity;
}
function clarearL(){
var icon = document.getElementById("logolkdn");
var opacity = 0.6;
icon.style.opacity = opacity;
}