Tutorials Page 95

  • By
    Poll:  JavaScript Var Declaration

    Hardcore developers of any language are generally very opinionated when it comes to the specifics of how they code. In the JavaScript community, one subject of heated debate is whether to use the `var` keyword once and separate declarations by line: or use the `var` keyword...

  • By
    Being a Good Member of the Community

    Disclaimer:  I've been waiting, a long, long time to write a post like this.  Passion may be present... A man stands up with a sheepish smirk, sweat visible. "My name is David Walsh", the studly newcomer said, wearing his Arsenal jersey like a suit of armor.  "I'm...

  • By
    User Agent Parsing with PHP, JavaScript, or Python

    Saying the phrase "user agent" or "user agent string" is tantamount to saying a swear word. Developers used to use the user agent to detect if a browser had a given feature, instead of, you know, checking to see if the feature actually existed via...

  • By
    CSS Columns

    One major gripe that we've always had about CSS is that creating layouts seems to be more difficult than it should be. We have, of course, adapted and mastered the techniques for creating layouts, but there's no shaking the feeling that there should be a...

  • By
    Detecting Mozilla App Install Capabilities with JavaScript

    If you follow me on Twitter, you know I'm riveting super excited about the forthcoming Firefox Marketplace. A marketplace where you can download desktop, tablet, and mobile phone applications based on web technologies, from a host with a record as awesome as Mozilla, is...

  • By
    CSS pointer-events

    The responsibilities taken on by CSS seems to be increasingly blurring with JavaScript. Consider the -webkit-touch-callout CSS property, which prevents iOS's link dialog menu when you tap and hold a clickable element. The pointer-events property is even more JavaScript-like, preventing: click actions from doing...

  • By
    Node.js CSS Compressor:  clean-css

    One of my recent finds on the goldmine that is GitHub is GoalSmasher's account. The GoalSmashers team has created three notable (or at least useful to me) utilities you all should know about: enhance-css: embeds imagery into stylesheets via Base64 encoding

  • By
    Locating the iPhone and iPad Simulators on Mac

    I recently received a new MacBook Pro and started configuring debugging tools I had debugged ages ago on my personal machine.  In doing so, I completely forgot that the iOS Simulator provided by XCode isn't added directly to the Applications directory;  instead, you have to dig...

  • Media Temple Hosting
  • By
    X-Tag Web Components

    One of the awesome parts at working at Mozilla is being able to see and use projects from fellow engineers before they are shared with the world. One such effort comes from Daniel Buchner: X-Tag. X-Tag is a cross-browser web component...

  • By
    Function Debouncing with Underscore.js

    The ability to listen and react to user interactions with JavaScript is fundamental and incredibly useful. Some interactions happen frequently and some rarely. Some listener functions are light of action, others can be quite taxing on the browser. Take window's resize event for...