How to make a comparison between jQuery objects
In my day to day jQuery programming, I often come across a comparison that would be a lot easier if I could just compare the 2 jQuery objects I have. With this short amount of code, you can!…
Web Development for 2012
In my day to day jQuery programming, I often come across a comparison that would be a lot easier if I could just compare the 2 jQuery objects I have. With this short amount of code, you can!…
Although I've been using JavaScript for years, the way I've gone about it has evolved greatly over time. There are a few methods of creating objects that I would like to explain. I'm going to demonstrate the different ways by doing the same thing, that is, a simple wrapper for the console.log() method provided by Firebug. It will allow you to call init() to initialise wther the wrapper will use console.log() or alert(), and it will provide public methods to addMessage(), print() and printAll().…
These days, SEO is very important, and links on your page are an important part of improving your rankings. It is important to know a few things about the links on your page and how to improve them.…
Sometimes, it is necessary to moves the files or somehow change the URL of a page. To help SEO, help prevent link rot and in general be of assistance to your site's visitors, it is important to not let the old URLs become dead links. This is easy using a few lines in your .htaccess file. If you have access to Apache's httpd.con, you can place the redirects there.…
Sometimes, when using a loop in PHP, you think to yourself "If this was a function, I could return here and not have to process the rest of this loop block". This sort of functionality inside of a loop is achievable, by using the break and / or continue statement.…
Sometimes, it's useful to know how many objects were matched with a jQuery selector. This is rather easy by accessing the length property of the object. This is also something that makes jQuery useful - the object returned by a selector has array like properties.…
As an added aid for usability, it is useful to add a small icon next to external links to let users know that the link will take them off the site.…
A lot of the time, using pure clean URLs are impossible due to certain limitations such as the possibility of the segment mapping to more than one resource. In this case, the URL must contain an ID (generally the ID in the database).…
This plugin will automatically highlight the terms used to find your page.
This handy plugin provides an easy way to allow you to acheive new window links with a minimum of fuss.
A completely useless plugin which allows text to behave like it is alergic to the mouse cursor.
I'm a web developer from the Sunshine Coast, Australia. more »