Posts by Lucas Souza • 11 points
3 posts
-
0
votes1
answer162
viewsA: How to change column text by javascript?
var cols = Array.prototype.slice.call(document.querySelectorAll('#data-table-buttons td.largura-tabela')); var tituloCols =…
-
1
votes1
answer472
viewsA: Animate a script that changes the image src
Why not do this with CSS only? Below is how to do it with both modes (with and without javascript). var ctImg = document.querySelector('.ct-imagem#com-js'); ctImg.onmouseenter = () => {…
-
0
votes2
answers76
viewsA: javascript picking wrong time from div
document.querySelector('.chatsPopUpUl').getBoundingClientRect().height If you try to rescue the dimensions of the element before the page is loaded it is very likely that the returned value will be…
javascriptanswered Lucas Souza 11