Browse by Tags

Tagged Content List
  • Blog Post: How to optimize WordPress popup-on-hover menus for touch devices

    Many web sites have menus that are displayed on hover. On touch-enabled devices, there is no mouse and thus no hover effect. On those menu elements, set the tag property aria-haspopup ="true". When an Internet Explorer 10 (Windows 8, Surface, Windows Phone 8, etc.) user on a touch-enabled device...
  • Blog Post: JS: Improve performance when starting IE using Visual Studio

    When developing web sites in VS, I always start IE by pressing F5 or by right-clicking on the HTML page and clicking on "View in Browser". Recently, I was experimenting with HTML5 code to copy the frames of an MP4 video, reverse the frame data and render it back on a canvas. The code uses requestAnimationFrame...
  • Blog Post: JS: Dots are bad, M'kay?

    When the return value of a function is needed multiple times, and the value is a constant, a variable should be used to cache it. In JavaScript, every dot that appears in a statement is equivalent to a function call. Run the following code and you should see a 20% to 50% performance increase...
Page 1 of 1 (3 items)