Why does the blog look terrible? Find out
mikestreety

It’s My Way or the Highway. Not.

Recently with the spate of CSS3 and media queries, there has been a few debates over how development should be done. Several people have emerged saying that you should be considering mobile first. The attitude of some of these people on the web, is do mobile first or don’t bother doing it at all. Now, I understand why …

Read More

HTML5 Template with jQuery

A useable, simple HTML5 template with jQuery included. By no means a replacement for the HTML5 Boilerplate, but a quick simple something to get you started!

Read More

Whats Up, Blog?

Right, I’ve decided to start blogging again. Recently, I’ve been wanting to get my point across in more than the 140 characters that twitter lets you. And if I have got my point across, I often get several replies that would be better if one another could see the replies. Other times i’ve come across …

Read More

Strip out YouTube code from the URL

Big thanks to Kris Noble for this snippet of code. If you are setting up a CMS for a client which includes a video of sorts – you may wish to keep the ratio and dimensions, but allow them to change the code through the CMS. This function below strips out the required code from …

Read More
Posted in PHP

Text Area Non-Resizeable – Firefox and Chrome

Firefox and chrome both now feature the ability to have their textareas re-sized. This function can be turned off, or adapted with some simple css. To turn the feature off, include the following line in your css: There is also horizontal or vertical only resizing available. The next example is to force the textarea to …

Read More

HTML5 Template with jQuery

This post has been updated Just wanted to have a quick resource for starting a HTML5 based page. I have included jQuery as so many sites seem to use it these days! If you can think of anything else that should be added – feel free to get in touch!

Read More

Twitter Style Glow on Input Focus

Recently Twitter homepage went through a redesign and included a soft glow on their login boxes when highlighted. A colleague wanted to recreate the effect and asked me to provide the code. The twitter one is a lot more complex and has a few more functions but the code below is the basics behind the …

Read More

Widgetizing a WordPress Sidebar and Creating an Additional One

When developing a WordPress theme, you may wish to take advantage of the built in system to manage, edit and order the sidebar widgets. Many themes have this built in, but if you’re developing from scratch, you might not have the code to implement it. First, locate your functions.php. This can be found in: wp-contentthemesYOUR …

Read More

jQuery Expand/Collapse FAQs

To make a expanding FAQ style section, first make a simple definition list with terms and definitions. Give the list an id of ‘faq’. The code should look something like this: [HTML] FAQ 1 Answer 1 FAQ 1 Answer 1 FAQ 1 Answer 1 [/HTML] Make sure you have included jQuery and then use the …

Read More