Tutorials

Using The Twitter API With PHP and SimpleXML

Using The Twitter API With PHP and SimpleXML

February 16th, 2010

Twitter has opened up a huge array of functionality through the use of it’s API and it’s really easy to use. In this tutorial I am going to make use of the API to make a simple search using search phrases as well as hashtags. I’m going to retrieve the data via XML and parse it using SimpleXML - now built into PHP5 and return the results to the browser.
(more…)

Theme Switcher With PHP Variables In CSS

Theme Switcher With PHP Variables In CSS

January 20th, 2010

There are many theme switchers out there that do the job just great. Whether you change the theme via a server sided script like PHP or through Javascript most theme switchers do the job of changing the CSS file that styles your content.  But what if you want to just change a few of the styles on the page? What if you only want to have to update just one CSS file? (more…)

A Simple Introduction To JSON with jQuery and PHP

A Simple Introduction To JSON with jQuery and PHP

January 6th, 2010

Before javascript libraries like jQuery came along asynchronously updating content with AJAX involved writing code which would account for the different ways that browsers posted back to the server with HTTP. Using the jQuery method post, we can easily load results via an HTTP post request with only a few lines of javascript.
(more…)

View more or less content with jQuery

View more or less content with jQuery

August 22nd, 2009

jQuery can be easily used to manipulate the way that content is displayed on a page. Using unobtrusive javascript we can easily enhance a users experience if they have javascript enabled by allowing users to click to view more content.

(more…)

Cross Browser Transparent Div With Opaque Content

Cross Browser Transparent Div With Opaque Content

February 1st, 2009

As described in an earlier tutorial covering CSS tips and tricks we can create content in a page element and style that element to be semi transparent using a variety of techniques so that the transparency works across multiple browsers. Using this technique on a div will also make the containing content semi-transparent.

We will look at a method to transform the content to opaque onto a semi-transparent background across multiple browsers.
(more…)