Tony Lea

Howdy, Welcome to My Blog

December 13, 2010

jQuery 101 - The Basics

Written by Tony Lea - 4 minute read

Quite possibly one of the best things to happen to HTML since peanut butter met jelly! jQuery is one of the most popular javascript libraries in the world. There are so many cool and fun interactive features that jQuery brings to the web interface....

November 5, 2010

Creating your first WordPress Plug-in

Written by Tony Lea - 1 minute read

Wordpress is great for writing posts, adding videos, and many other of your media blogging needs. Well, when you want to extend WordPress to be 'all it can be', you may want to start diving into creating WordPress Plug-ins. Which are surprisingly eas...

October 22, 2010

Safari Overflow Hidden Problem

Written by Tony Lea - 1 minute read

There may be times when you need to hide the overflow (scrollbars) being visible on a page. You can specify to have all scrollbars hidden or the x and y scroll bars separately. When trying to hide the overflow of a project I was working on I realized...

October 20, 2010

jQuery Javascript arrow Keycodes

Written by Tony Lea - 1 minute read

When using Javascript and building a web interface, there may come a time when you want to be able to detect when the arrow keys are being pressed. This cannot be done using the standard jQuery .keypress() function. Instead you have to use some alter...

October 20, 2010

Codeigniter instance inside a custom library or helper

Written by Tony Lea - 1 minute read

When first creating your own custom helpers or libraries inside of codeigniter you may find yourself not able to use some of the core libraries and helpers provided by codeigniter. For instance, lets say that you wanted to call the database class ($t...

October 19, 2010

When to use a helper and when to use a library

Written by Tony Lea - 1 minute read

Using Codeigniter there are two main types of references you can use in conjunction with the codeigniter framework. These two include 'libraries' and 'helpers'. A library is a specific object that can be loaded and used inside of your code. A few exa...

September 26, 2010

CodeIgniter last inserted ID

Written by Tony Lea - 1 minute read

At times when you insert a new row into a database you may need to capture that last unique ID that has just been added to the database. Well, lucky for you.... getting the last database inserted ID using CodeIgniter is very simple. All you need to d...

August 29, 2010

jQuery is display block or none

Written by Tony Lea - 1 minute read

jQuery is excellent for creating compelling user interfaces. Some of the most common jquery functions include the .show, .hide, .toggle, .slideDown, .slideUp, or .slideToggle. Each of these functions toggle the CSS display attribute of that particula...

August 24, 2010

Point, Pixel, Ems, Percent Chart

Written by Tony Lea - 1 minute read

There are two main measurements for web fonts. Points and Pixels (pt and px). The ratio between the two is 0.75:1. This means each pixel is equivalent to 0.75 pt. This means that a font of size 8px would be equal to a font of 6pt. I have created a si...

August 17, 2010

Find your google rank for a specific keyword

Written by Tony Lea - 1 minute read

In the previous post I showed you how to obtain Google Search Results using PHP. I went ahead and collaborated upon that previous tutorial and created a tool where users can enter in a specific URL and a string of keywords. When the user clicks submi...

1 2 ... 8 9 10 11 12 13 14 15 16 17