Howdy, Welcome to My Blog
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 ...
Written by Tony Lea - 1 minute read
Have you ever wanted to replace a particular part of a string in SQL and you don't want to go through the hassle of coding the query and using PHP functions to parse and replace that specific part of the string. Well, now you don't have to... There i...
Written by Tony Lea - 1 minute read
There is a very simple way to retrieve your youtube thumbnail images for a specific video. The simplest way is to go to the following URL: http://img.youtube.com/vi/VIDEO_ID/#.jpg Of course, you'll need to replace [VIDEO_ID] with your youtube video...
Written by Tony Lea - 1 minute read
Sometimes when using php you may have a string containing a file location. In many cases (most of the time when you are manipulating images) you may want to create a duplicate or modify the filename in someway. In order to do this you will most likel...
Written by Tony Lea - 1 minute read
Using your .htaccess you can do a lot of things, such as making SE Friendly URL's. One more great trick is the ability to redirect your site so that it always points to the www version or without. Let's say that your base URL for your site is linking...
Written by Tony Lea - 2 minute read
.slideUp() .slideDown() Here is a beginner tutorial on using the jQuery slideUp() and slideDown() functions. This article contains the code used to perform the jQuery slide functionality. Watch the video to be shown from beginning to end,...
Written by Tony Lea - 5 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....
Written by Tony Lea - 2 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...
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...
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...