Posts by rplaurindo • 231 points
3 posts
-
1
votes1
answer103
viewsQ: How to load recursively chained scripts with javascript?
Hello, guys. I’m trying to do a function that works like the require of some languages, like Ruby. Use createElement after the page is already loaded is quiet, but chain and loading time is a tricky…
javascriptasked rplaurindo 231 -
12
votes4
answers2204
viewsQ: How to get page load percentage?
How to get the size of a page and how much it was downloaded to calculate the percentage of its load. But I would like to not use any framework, only pure JS. I really want to try that.…
-
0
votes2
answers306
viewsQ: Do not select, dynamically, always the last li in the hierarchy
Note the HTML and CSS below. This is the initial CSS ul ul li:nth-last-of-type(2){ background: #ff0000; } <ul> <li>bla <ul> <li>bla bla <ul> <li>bla bla…