browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Hints and Tips

this is for all the code snippets or useful plugins that I find

Dynamic URL Shortener

I need to condense URLs on a client site and I found this script by Brian Cray that works a treat. Super simple to setup and get running. You’ll need a super short domain to start with though, no getting around that one. One thing to note though, for being a “front end engineer” Brian … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , | Leave a comment

SVG Gradients v2.0

I know it hasn’t been long since I released my first SVG gradient script, but I added a new feature to the script that I wanted to share. The new version of the script includes an attribute for “origin”. I’ve set the values to match the points on a compass (n,ne,e,se,s,sw,w,nw). This works for both … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , , , , | Leave a comment

Programmatic SVG Gradients

I love using all the new CSS3 stuff on sites these days, one aspect that’s not real universal but is super awesome is gradients. Currently there is no W3C spec for css gradients. Webkit has their own version and FireFox has another. IE doesn’t have any at all, not even IE9, neither does Opera or … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , , , , | Leave a comment

idleTimeout plugin for JQuery

I found this cool plugin that checks to see if your users are still logged in after X amount of time and then gives them a prompt to stay logged in or logs them out. It seems to be working pretty good near as I can tell so I wanted to pass some link love … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , | Leave a comment

A cool little jquery color picker

I needed a color picker for one of the admin forms I’m working on and nearly all of the ones I could find had nice gradient images for you to drag your mouse around to get the exact hue and shade you want, as well as input rgb or hex values. Most of the users … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , | Leave a comment

Getting some info from your site’s users

Had to rework my 404 alert script a bit and tweaked a useful function that will extract the user’s browser or if it’s a known bot. I’ve included both if folks are interested in using them. Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , , | Leave a comment

BonBon Buttons

I can’t even begin to tell you how excited I am about all the new stuff we web guys can do with CSS3 and HTML5. In fact all of the sites I’ve been working on recently use a lot of CSS3 design elements and honestly look mighty drab in IE… That said, however, I wanted … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , | Leave a comment

How to monitor all your websites using several different hosts

I’ve had a lot of trouble keeping tabs on all of the sites that we maintain at work across several servers. Here is how I solved the issue and put my collection of hosts to work for me in alerting me when our sites go down. Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , , | Leave a comment

PNG fix for IE6

I know this is old news, but I only just got around to trying out a few different solutions.. I couldn’t for the life of me get the CSS hack using ‘filter’ to work, so I had to turn to other methods.  I came across a very cool method developed by Angus over at TwinHelix Designs that … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , , , | Leave a comment

Detecting if users are riding a mobile browser or a standard browser

Greg Bulmash over at brainhandles.com came up with this awesome little php function. This simple snippet will detect whether your website users are riding in on a standard browser or a mobile one and then return a TRUE or FALSE value. With that info you can easily use a bit of conditional logic to spit … Continue reading »

Categories: Hints and Tips, Web Work | Tags: , | Leave a comment