No need to click a save button anymore with this jQuery plugin: jQuery Autosave. Seriously, this is something I’ve been wanting and never had the time to develop. Thankfully, these guys/girls created what I’ve been wanting. In this article I’m going to let you know some of the features this plugin offers, how to use it, link you to a demo, and thank you for taking the time out to read what I have to say!

Features


CONTINUE READING


This gave me a giggle even though my head feels like it’s being prodded with a fork by a phantom…


Been out of the game a little while, my apologies. I know there isn’t much I can do to make it up to you (my fans); however, I’ll give you this in hopes of trying to win you back.

Format phone function using PHP:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function format_phone($country, $phone) {
$function = 'format_phone_' . $country;
if(function_exists($function)) {
return $function($phone);
}
return $phone;
}

function format_phone_us($phone) {
// note: making sure we have something
if(!isset($phone{3})) { return ''; }
// note: strip out everything but numbers
$phone = preg_replace("/[^0-9]/", "", $phone);
$length = strlen($phone);
switch($length) {
case 7:
return preg_replace("/([0-9]{3})([0-9]{4})/", "$1-$2", $phone);
break;
case 10:
return preg_replace("/([0-9]{3})([0-9]{3})([0-9]{4})/", "($1) $2-$3", $phone);
break;
case 11:
return preg_replace("/([0-9{1})([0-9]{3})([0-9]{3})([0-9]{4})/", "$1($2) $3-$4", $phone);
break;
default:
return $phone;
break;
}
}

// usage
$phone = '111 111 1111';
$phone = format_phone('us', $phone);
echo $phone;


CONTINUE READING


Hey team, check this out: http://webtecker.com/2008/04/07/14-css-tools-to-save-you-time/

It’s an article telling you about the 14 CSS Tools to Save you Time.

It should save you time, I hope.


Ever have that annoying dotted outline around your flash or image? You know, the one around your anchor links that you ignore most of the time…ever have someone tell you to take it off and not know how?

It happens to the best of us. It’s the annoying dotted outline (dotted line) that we don’t even think about until we have to launch a product.

What does the dotted outline look like?

Just so we’re clear about what the dotted outline looks like, here’s an example:

Dotted Outline

The Solution

And now, here’s how you’re going to get rid of it for your flash piece:

1
2
3
object {
outline: none;
}


CONTINUE READING


I like you. I think you’re cool. Thank you for reading my Blog. It’s getting better the more I write. But anyway, enough about us. Let’s talk about how you’re going to use my Image Preloader script. It’s free, do whatever you want with it. Call it your own, whatever, I don’t really care. I like FREE knowledge. I love to compete. I love it when I’ve worked so hard that I can’t think anymore. Call me crazy, but at least call me because I can make you wealthy: 801-787-3237.

I digress.

I wanted to share with you all a way to preload your images with jQuery. If you don’t know what jQuery is, you’re living in the stone age of the web. jQuery makes the average developer look like a Rockstar. I’m not even kidding. Please, read up on jQuery. I’m a firm believer that no site should be built without jQuery at its core.

Now, here’s how you can make yourself an image preloader with jQuery, or well, it’s how you preload your images with jQuery. Okay? We on the same page here?

The code:

1
2
3
4
5
jQuery.preload_images = function() {
    for(var i = 0; i < arguments.length; i++) {
    jQuery("<img>").attr("src", arguments[i]);
  }
};


CONTINUE READING


As many of you already know, MACs are evil and I will not talk about them in this post. Hopefully someday MACs will do away with their evilness, but until then…

Consumer Reports did its usual software ratings and stuff like that. What I thought was interesting was that it rated these 3 pieces of software pretty highly:

For more, you’re gonna have to Google it or sign up with Consumer Reports.


I recently stumbled upon this site that lists 8 free Photoshop alternatives. I thought I’d share it with you.

http://www.makeuseof.com/tag/8-simple-free-photoshop-alternatives-that-are-under-2-mb/

Cheers!