Category Archives: Behind the Websites

Everything to do with website coding that we can think of. Front-end, back-end, upside and down, you’ll find it here. It also contains our thoughts about Content Management Systems (CMS) and all the other little and technical things.

Behind the Websites: jQuery 1.5 as jQuery 1.5.0

When jQuery 1.4 was released, the Google URL being publicised by the jQuery team was http://…/jquery/1.4/jquery.min.js – while Google had set it up as http://…/jquery/1.4.0/jquery.min.js. I had problems with this seemingly minor difference.

Behind the Websites: HTML5 for Web Designers

The first release from publisher A Book Apart does exactly what I would hope for from the people who brought us the excellent A List Apart online magazine. It simplifies a topic and gets me excited about using new web technologies.

Behind the Websites: JavaScript Localisation in WordPress

I was asked on Twitter recently if it’s possible to pass WordPress data to JavaScript, wp_localize_script() is the tool to do it with.

Behind the Websites: Delay Print Stylesheets Plugin

A few weeks ago I wrote a post in which I adapted an idea from a zOompf article to delay the loading of print stylesheets until after a web page has fully rendered. I’ve decided to convert the code from the original post into a plugin and add it to the WordPress plugin directory.

Behind the Websites: Delay loading of print CSS

Recently I stumbled across an article detailing browser performance with the CSS print media type. In most recent browsers the print stylesheet held up rendering.

The article suggested a solution, which I decided to automate for WordPress.

Behind the Websites: Thesis V WordPress, Pearson V Mullenweg

Mullenweg believes that, because WordPress is released under the GPLv2 license, all themes and plugins developed for WordPress must also be released under the same license. Pearson disagrees. I believe that Mullenweg is wrong. WordPress themes can operate on other blogging platforms with minimal changes.

Behind the Websites: Getting the bloginfo correctly

One of the standout problems when using plugins with WordPress MS is when they define a constant for the plugin’s url as the script starts executing.

Behind the Websites: ‘Skip to Content’ Links

Josh and I were discussing the positioning of Skip to Content links on a website. In the past I’ve placed these in the first menu on the page, usually positioned under the header.

Behind the Websites: Valid Isn’t Best Practice

Not long ago, on the @soupgiant account, I tweeted “Vaild html / css doesn’t indicate your code is best practice; it may even indicate the opposite. #css3″. Neither the xHTML nor the CSS on this site validates, we consider it to observe best practices.

Behind the Websites: JavaScript the WordPress Way / Part 2

In Part 1 we introduced the wp_register_script and wp_enqueue_script functions developed to avoid JavaScript conflicts.

In this section we’ll deal with a more complicated example. We’ll also take what we’ve learnt about including JavaScript and apply it to our CSS.