Tony Lea

Howdy, Welcome to My Blog

June 16, 2011

Expand your short URL's

Written by Tony Lea - 1 minute read

When working on a project I found that I needed a simple solution that would allow me to expand or unshorten a short URL. I'm sure you know what short URL's look like: http://bit.ly/mwyBzI Anyway, there are several ways to do this. My first attempt w...

June 10, 2011

PHP Detect if non-english

Written by Tony Lea - 1 minute read

If there ever comes a time when you wish to detect whether a string has english characters or not... There is a very simple way of representing this in PHP. Here is a PHP function which will return true if the string contains english characters or i...

June 10, 2011

Glue Framework Vs. Full Stack Framework

Written by Tony Lea - 1 minute read

If you are in the process of starting a new project, or perhaps re-writing an existing project, and you are trying to decide on which PHP framework to use it is very important to understand the two differences between most frameworks. A framework is...

May 30, 2011

jQuery illuminate

Written by Tony Lea - 1 minute read

jQuery Illuminate is a plug-in that will allow you to add an Illuminate effect on any element on your webpage, this particularly works well with buttons. Be sure to check out how to use this plug-in below. Additionally, you can check out the github r...

April 26, 2011

How to create your own jQuery Lightbox

Written by Tony Lea - 1 minute read

Yeah, Yeah, I know there are so many jQuery lightbox plug-ins available today; however, if you want to create your own for any reason, I have created this video tutorial to show you the basic functionality of a jQuery lightbox. There are a lot more a...

April 21, 2011

Youtube - iFrame not displaying correctly on iOS devices

Written by Tony Lea - 1 minute read

The new Youtube iFrame embed is great; however, it seems that there are still some bugs that YouTube is trying to fix. One of those bugs is displaying the iFrame embed code on iOS mobile devices. If you try embedding an iFrame youtube video on a page...

April 1, 2011

Best iPhone Game Frameworks

Written by Tony Lea - 5 minute read

Do you have a general knowledge of programming and want to learn how to create iPhone, iPad, or mobile games? If you are unfamiliar with Objective-C or Cocoa; you still have many alternatives. There are several great game frameworks available for do...

March 24, 2011

Sending JSON data array to Javascript

Written by Tony Lea - 1 minute read

Let's say that we wanted to send an Ajax or jQuery post to a page and we wanted to receive an array of values back. What would be the easiest way, you may ask yourself? Well, the answer is JSON. If you are not familiar with JSON, it is merely a text ...

March 23, 2011

What is JSON?

Written by Tony Lea - 1 minute read

I'm sure if you are a web developer you have probably heard of the word JSON or JSON array. Don't be scared about the word, it's actually very simple, and just because I have to say it... It stands for Javascript Object Notation. Hope that didn't sca...

March 21, 2011

Javascript - Detecting the bottom of the page.

Written by Tony Lea - 1 minute read

When working on a project of mine, I needed to detect when a user was scrolling the page if they had reached the bottom. I tried looking for a simple solution; however, I could not find one. Well, using jQuery and a little Javascript this can easily ...

1 2 ... 11 12 13 14 15 16 17 18 19 20