Follow Script & Style on Twitter!
I know you all love Twitter. I also know you all love Script & Style. Now you can have the best of both worlds by receiving S&S post updates when you follow Script & Style on Twitter: @scriptandstyle!
Enjoy!
I know you all love Twitter. I also know you all love Script & Style. Now you can have the best of both worlds by receiving S&S post updates when you follow Script & Style on Twitter: @scriptandstyle!
Enjoy!
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...
While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready? Promises are becoming a big part of the JavaScript world...
A long time back I coded a MooTools class called OpenLinks. The class is quite useful but the code...sucks. I've gotten much better with MooTools over the past years so I thought I'd go back and update the class to be better, faster...
I was incredibly happy when CSS text-overflow: ellipsis (married with fixed width and overflow: hidden was introduced to the CSS spec and browsers; the feature allowed us to stop trying to marry JavaScript width calculation with string width calculation and truncation. CSS ellipsis was also very friendly to...



