Shaun Mccran

My digital playground

28
J
U
N
2010

My handy custom font header building function

I've been putting together a personal site for a little while now, and one of the more common pieces of work I've had to do is creating the page headers from a custom font library in Photoshop. The site is 'comic' themed, and as such has an appropriate font (not comic sans!) .

Rather than having to create a new image for each page, I thought I'd cut up the alphabet, and create a function to turn a string into a set of graphics.

[ More ]

17
J
U
N
2010

How to move a Wordpress Blog (same domain) and redirect your users

One task that has come up recently when dealing with the SEO side of a client's portfolio is the positioning of their Blog. They are using Wordpress, so I searched for and found a few other guides to moving Wordpress Blogs, but they are all quite length, and don't deal with the social side of things, like re pointing your XML feeds and redirects on the old Blog URL.

[ More ]

15
J
U
N
2010

JQuery 101: Setting html attributes and content using JQuery

This article follows one from a few days ago, where I explained how to use the JQuery .attr() method to get html attributes. In this article I will show you how a small change to the same .attr() method will allow you to set the value of html attributes.

I'll also cover the .text() and .html methods as they allow very similar functionality.

This article is the second in a planned series demonstrating some of the key concepts of the JQuery library, and how to use it, starting at a beginner level and working up.

Here is an example of setting attributes using JQuery.

[ More ]

11
J
U
N
2010

JQuery 101: Getting html attributes using JQuery

One of the things I find myself doing a lot in JQuery is getting and setting html attributes. It is very easy indeed to get the values of attributes, much like the old style document.getElementById javascript method, except in JQuery it is much easier.

This article is the first in a planned series demonstrating some of the key concepts of the JQuery library, and how to use it, starting at a beginner level and working up.

Here is an example of getting attributes using JQuery.

[ More ]

_UNKNOWNTRANSLATION_ /