-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenutrasparente.txt
70 lines (62 loc) · 2.22 KB
/
menutrasparente.txt
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*painel transparente*/
window.addEventListener("scroll", function(){
let header = document.querySelector('#menu_principal')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*logo zip*/
window.addEventListener("scroll", function(){
let header = document.querySelector('#logo_zip_menu')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*links */
/*link1 */
window.addEventListener("scroll", function(){
let header = document.querySelector('.links_do_menu1')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*link2 */
window.addEventListener("scroll", function(){
let header = document.querySelector('.links_do_menu2')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*link3 */
window.addEventListener("scroll", function(){
let header = document.querySelector('.links_do_menu3')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*link4 */
window.addEventListener("scroll", function(){
let header = document.querySelector('.links_do_menu4')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*link5 */
window.addEventListener("scroll", function(){
let header = document.querySelector('.links_do_menu5')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*link6 */
window.addEventListener("scroll", function(){
let header = document.querySelector('.links_do_menu6')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*icones */
/*icone pesquisa */
window.addEventListener("scroll", function(){
let header = document.querySelector('#imagem_da_barra_de_pesquisa')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*iccone favorito */
window.addEventListener("scroll", function(){
let header = document.querySelector('#imagem_do_icone_de_favorito')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*icone pessoa */
window.addEventListener("scroll", function(){
let header = document.querySelector('#imagem_do_icone_de_pessoa')
header.classList.toggle('rolagem',window.scrollY > 300)
})
/*icone sacola */
window.addEventListener("scroll", function(){
let header = document.querySelector('#imagem_do_icone_da_sacola')
header.classList.toggle('rolagem',window.scrollY > 300)
})