Tony Lea

Howdy, Welcome to My Blog

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

August 16, 2010

Google Search Results using PHP

Written by Tony Lea - 1 minute read

If you had ever wondered how people create cool keyword or marketing tools which integrate with Google results you have found the right place to learn the first step. In order to generate charts, lists, and data about Google Search results, there is ...

August 12, 2010

HTML5 video 101

Written by Tony Lea - 1 minute read

HTML 5 is the new HTML standard for constructing and building pages to be viewable in web browsers. HTML5 adds a lot of new features that HTML 4 never had a few of these features include local web-app storage, canvas drawing, and the video element. T...

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