Category Archives: Javascript

animini – A javascript micro-library for tween animations

animini was built with a single purpose in mind: to be the most convenient to use tween animation library, while keeping it lightweight. I have managed to keep it below 5K, with no external dependencies. As for being convenient, I … Continue reading

Posted in Javascript, Uncategorized | 5 Comments

Unicode Numbers In Javascript

Handling Non-ASCII Numerals In Javascript — The Way It Should Have Been Handled Source code available at uninums on github. A couple of weeks ago, I ranted about the lack of proper Unicode support in Javascript. Granted, Javascript supports Unicode … Continue reading

Posted in Javascript | Tagged , , | 8 Comments

Javascript & Unicode: The Unconsummated Marriage

Why We Need Better Unicode Support for Javascript, And What Can Be Done About It One of the smartest things ECMA did was requiring Javascript engines to use Unicode strings. This has important implications beyond the simple ability to represent … Continue reading

Posted in Javascript | Tagged , | Leave a comment

Scrolling The Selection Into View

Scrolling Text Nodes And Ranges Into View In A Cross-Browser Manner Scrolling an HTML element into view can easily be achieved using the scrollIntoView() function. But what about text nodes, ranges and selections? var o = document.getElementById(‘foo’); o.scrollIntoView(); The scrollIntoView() … Continue reading

Posted in Javascript | Tagged , | 5 Comments