Category: Web Development

Blog posts about web design, development and general web topics.

Retrieve Facebook page status with no authenticating or permissions issues

If you’re just looking to read the ‘Stream’ or ‘Statuses’ of a Facebook fan page (not a normal Profile page) it can be done very easily. Due to all Fan Pages being public (their are 2 settings: published or unpublished), as long as the Fan page is published then you [...]

read more

JQuery: Open external links in new window

Finally got round to writing a small bit of code to automatically force anchor links to open in new windows if they are for different domains:
$(document).ready(function() {
var myDomain = ["www.ajgraham.com", "testing.ajgraham.com", "lifestream.ajgraham.com"]; //do NOT include the http:// pls!
$(“a[href^='http://']“).each(function() {
var slicedHref = $(this).attr(‘href’).slice(7);
var slashPosition = slicedHref.indexOf(“/”);
if (slashPosition != -1) {
slicedHref = [...]

read more

Simple but powerful JQuery Form Validation

I wrote a relatively simple and intuitive form validation script for a client, which they kindly allowed me to release into the open-source community.
Contents
The Objective
The Basics
Including The JavaScript
Explaining The Code
Core Functions
Expanded Functions
Options
HTML
Examples
Download
License
To-Do’s
Change-log
The Objective
The aim was to develop a simple JavaScript form validator plugin to be:

JQuery based
Fast and efficient
Automated (via CSS [...]

read more

Tracking Email Signature click throughs

A while ago I thought about how best to create a more modern and useful email signature. At the same time I was doing some work with Google Analytics and thought it might be useful to track how many people click on my website link in my signature. I decided [...]

read more

Website redevelopment

I moved to Prague about a month ago, despite a lack of blog posts, I have been both a live and working (although not doing any bank manager pleasing work in the sense of making any money). Just managed to finish my own website redesign which I’d spent a while [...]

read more