Posts by Daniel • 11 points
3 posts
-
1
votes2
answers7788
viewsA: Chronometer in JS
I’m making available here the Chronometror, a javascript object that mounts a stopwatch on your page. Copy the code below and save to an HTML file Open the HTML file in a browser Find the settings…
-
0
votes5
answers6692
viewsA: How to make the textarea automatically increase height to a certain limit?
Complete solution with minimum and maximum height and solving problems with scroll: var textarea = { tornarFlex: function (id_textarea, altura_minima, altura_maxima) { var textarea =…
-
0
votes3
answers1661
viewsA: Identify Urls and create links
This is the solution, including truncating very large Urls to improve the display var expressao_regular_url = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/;…