• PVP Redesign has UX Problems

    So PVP, a webcomic that I’ve followed since about 2002 (back when it was still physically published by Dork Storm Press) just launched a site redesign. And it looks hideous. Not in the way that most people would say hideous, mind you.  But rather from a User Experience (UX) perspective.  The header of the interior…

  • Multiple Meta-Viewports for iPad/iPhone

    It’s not ideal, as you’re manually targeting the iPad, but … Default Viewport Code (change as needed for default mobile devices) JavaScript code (play with as you like for your own purposes) if( navigator.userAgent.match(/iPad/i) != null ){ viewport = document.querySelector(“meta[name=viewport]”); viewport.setAttribute(‘content’, ‘width=1000px, user-scalable=0’); } I used this in my submission for the CSS-Off, to ensure…

  • Create New Admin Account in WordPress via FTP

    Another handy little snippet for WordPress … Have you ever had a client need help on their WordPress site, and have FTP access, but not actually give you a WordPress account to use? Just paste this snippet into their current theme’s functions.php file, or add it to a new file in their ~/wp-content/mu-plugins/ folder, and…

  • Toggle All Checkboxes with jQuery

    Just a little snippet I worked up that may be useful to someone … jQuery(document).ready(function($){ $(‘div#checkall-wrapper input[type=checkbox]’).click(function(){ if( $(this).attr(‘checked’) ){ $(‘tdiv#wraparound-targets input[type=checkbox]’).attr(‘checked’,’checked’); }else{ $(‘div#wraparound-targets input[type=checkbox]’).removeAttr(‘checked’); } }); }); Make sense?

  • Convert User Input to Number

    Handy little snippet I just kicked together: onblur=”this.value=parseFloat(this.value.replace(/[^0-9.]/g,”)).toFixed(2);” Just put it on any input element (or textarea if you really wanted to) and when a user is finished entering data, it will strip it down to a number, formatted to two decimal places. Not that I typically advocate for writing javascript inline like this, but…

  • Very useful jQuery effects library

    http://balupton.com/sandbox/jquery-sparkle/demo/ Seriously, if you use jQuery at all, check it out.

  • Manual Magento User Authentication

    Having just been building a webapp to work in conjunction with a Magento Store, it’s made sense to use the existing Magento login.  For my own future reference, and that of anyone else that might need it, here’s how to do it! To get Customers authenticated, // Or whatever the path to your app/Mage.php happens…

  • An Apple Anecdote

    Friday evening, I ordered a MacBook Pro for my wife. Figuring it was about $1000 anyways, I just tacked on one-day shipping. Saturday, when I get the notice that my order has shipped, it says that it’s going to my old address across the state from me. About five hours away. So I call Apple,…

  • Vermont Letterpress

    Some photos of what remains of my godfather’s printing supplies. Posted here for ease of sharing and discussion.

  • Ndizi Project Management 0.9.6 PRE-RELEASE

    So, largely still a work-in-progress, I overhauled how most of the functions are written and abstracted many of the grunt work out. The client front-end page probably breaks like crazy, I’ll be getting that tomorrow, but for anyone who wants to take a look at it as-is, here goes: Ndizi Class 0.9.6 Snapshot The code…