Tony Lea

Howdy, Welcome to My Blog

November 7, 2011

Creating a Jquery Exit Popup

Written by Tony Lea - 1 minute read

Isn't it super annoying when you visit a website and upon closing the page a Javascript alert Pops up and asks you if you really want to leave or stay on the site. Instead a less annoying way of doing this would be to use Jquery and when the users cu...

June 24, 2011

jQuery Horizontal Scrollbars

Written by Tony Lea - 1 minute read

We all know that horizontal scrollbars are hideous. So, wouldn't it be nice if we had a simple way to represent horizontal overflow? Well, thanks to a few javascript functions and some dinking around, I have put together a jQuery plug-in that will sh...

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 ...

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 - 4 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 ...

1 2 ... 5 6 7 8 9 10 11 12 13 14