Posts by Luiz Felipe Nalin Borges • 36 points
3 posts
-
0
votes1
answer94
viewsA: Add content at cursor position with Froala editor
Place an onclick in the textarea to call a function to pick up the cursor position and save to a global variable. Use the code: document.getElementById("IdTextarea").selectionStart; Then create a…
-
1
votes2
answers44
viewsA: Add javascript to worddpress
Dude, depending on how is configured your theme is just put the path normally in the theme header that works. <script src="caminhoDoSeuCodigo/code.js"></script> I’ve done so, I don’t…
-
1
votes1
answer55
viewsA: how to roll a scroll of a div out of it
puts this code in the "root" (outside other functions) of the code. window.onscroll = function() {executaFuncaoAqui()};