<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jo Cox Design</title>
	<atom:link href="http://www.jocoxdesign.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jocoxdesign.co.uk</link>
	<description></description>
	<lastBuildDate>Wed, 15 Feb 2012 17:30:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>5 Free AJAX Lightbox Scripts</title>
		<link>http://www.jocoxdesign.co.uk/website-design/5-free-ajax-lightbox-scripts/</link>
		<comments>http://www.jocoxdesign.co.uk/website-design/5-free-ajax-lightbox-scripts/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 09:30:13 +0000</pubDate>
		<dc:creator>Jo</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jocoxdesign.co.uk/?p=3050</guid>
		<description><![CDATA[Lightbox scripts are great. They allow you to display content within the page itself, overcoming the need for pop up windows. This makes them perfect for displaying images, contact forms, login scripts and previews. Here are 5 of the best that I&#8217;ve worked with recently. 1. Colorbox My go-to lightbox script these days. It supports images, image groups, videos, ajax, ...]]></description>
			<content:encoded><![CDATA[<p>Lightbox scripts are great. They allow you to display content within the page itself, overcoming the need for pop up windows. This makes them perfect for displaying images, contact forms, login scripts and previews. Here are 5 of the best that I&#8217;ve worked with recently.</p>
<h2>1. <a title="Colorbox" href="http://jacklmoore.com/colorbox/" target="_blank">Colorbox</a></h2>
<p><img class="size-full wp-image-3051 colorbox-3050" title="Colorbox" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/colorbox.jpg" alt="Colorbox" width="540" height="300" /></p>
<p>My go-to lightbox script these days. It supports images, image groups, videos, ajax, inline content and iframe content. You can also implement it easily within your WordPress blog using the &#8216;JQuery Colorbox&#8217; plugin, with multiple styles.</p>
<h2>2. <a title="fancyBox" href="http://fancyapps.com/fancybox/" target="_blank">fancyBox</a></h2>
<p><img class="alignnone size-full wp-image-3060 colorbox-3050" title="fancyBox" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/fancybox.jpg" alt="fancyBox" width="540" height="300" /></p>
<p>fancyBox displays images, html and multimedia content like many of the others, but it stands out for being particularly smooth and stylish. As with colorbox, there&#8217;s also a WordPress plugin.</p>
<h2>3. <a title="LightWindow" href="http://www.p51labs.com/lightwindow/" target="_blank">LightWindow</a></h2>
<p><img class="alignnone size-full wp-image-3054 colorbox-3050" title="LightWindow" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/lightwindow.jpg" alt="LightWindow" width="540" height="300" /></p>
<p>I came across LightWindow when I was looking for a script that would work with an image map (see my previous post: <a title="Lightboxing With an Image Map" href="http://www.jocoxdesign.co.uk/website-design/lightboxing-with-an-image-map/">Lightboxing With an Image Map</a>). It can handle pretty much any function you could possibly want a lightbox script to perform.</p>
<h2>4. <a title="Lightbox2" href="http://lokeshdhakar.com/projects/lightbox2/" target="_blank">Lightbox2</a></h2>
<p><img class="alignnone size-full wp-image-3056 colorbox-3050" title="Lightbox2" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/lightbox2.jpg" alt="Lightbox2" width="540" height="300" /></p>
<p>You will have seen Lightbox and Lightbox2 absolutely everywhere. It&#8217;s very widely used, although only supports images and sideshows.</p>
<h2>5. <a title="Boxy" href="http://onehackoranother.com/projects/jquery/boxy/" target="_blank">Boxy</a></h2>
<p><img class="alignnone size-full wp-image-3059 colorbox-3050" title="Boxy" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/boxy.jpg" alt="Boxy" width="540" height="300" /></p>
<p>Boxy probably isn&#8217;t for you if you&#8217;re looking for a fancy image script, but it is certainly perfect for dialog box overlays. It&#8217;s designed to look similar to Facebook overlays, with support for dragging and size tweening.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jocoxdesign.co.uk/website-design/5-free-ajax-lightbox-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Compatibility and the Death of IE6</title>
		<link>http://www.jocoxdesign.co.uk/website-design/browser-compatibility-and-the-death-of-ie6/</link>
		<comments>http://www.jocoxdesign.co.uk/website-design/browser-compatibility-and-the-death-of-ie6/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 10:15:58 +0000</pubDate>
		<dc:creator>Jo</dc:creator>
				<category><![CDATA[Website Design]]></category>
		<category><![CDATA[browsercompatibility]]></category>
		<category><![CDATA[ie6]]></category>

		<guid isPermaLink="false">http://www.jocoxdesign.co.uk/?p=3039</guid>
		<description><![CDATA[Yesterday, Microsoft announced that Internet Explorer 6 usage in the US had finally fallen below 1%. They celebrated, I celebrated, and I&#8217;m pretty sure other developers around the world were celebrating. Why? Because more than 10 years on from it&#8217;s original release, IE6 has become a real pain in the neck for us. I found this great illustration by John ...]]></description>
			<content:encoded><![CDATA[<p>Yesterday, Microsoft announced that Internet Explorer 6 usage in the US had finally fallen below 1%. They celebrated, I celebrated, and I&#8217;m pretty sure other developers around the world were celebrating. Why? Because more than 10 years on from it&#8217;s original release, IE6 has become a real pain in the neck for us. I found this great illustration by <a title="John Martz" href="http://johnmartz.com" target="_blank">John Martz</a> which sums the feeling up quite well:</p>
<p><img class="aligncenter size-full wp-image-3040 colorbox-3039" title="Robot Johnny IE6" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/robotjohnnyIE6.jpg" alt="Robot Johnny IE6" width="640" height="448" /></p>
<p>All browsers render elements on a web page differently, which means that when you&#8217;re designing and building a website you have to be savvy to the alternate ways the code you produce may be interpreted on a users screen. It is our cross to bear, to some extent, for having free choice rather than a Microsoft monopoly.</p>
<p>That being said, the majority of modern browsers (including Chrome, Opera, Firefox, Internet Explorer and Safari) at least adhere to common web standards, making the job of cross browser testing a necessary but relatively quick and easy task. Internet Explorer 6, however, provides significant headaches. The two biggest limitations that I have come across are:</p>
<ol>
<li>IE6 does not fully nor properly support CSS Version 2. Regularly I have seen layouts which render perfectly in every other browser go completely haywire in IE6.</li>
<li>IE6 does not support alpha transparency in PNG images. Instead, you get a horrible grey background colour.</li>
</ol>
<p>Considering how web browsing and internet use have changed since IE6 was released back in 2001, the news that it&#8217;s usage is finally petering out doesn&#8217;t come as a shock. The only real surprise is that it clung on so long, although this probably has something to do with the fact it was the default browser shipped with Windows XP. As a result, Microsoft have agreed to continue its support until Windows XP SP3 support is withdrawn in 201, whilst encouraging users to make the leap up to IE9 as soon as possible.</p>
<p>Does this mean we should keep supporting it ourselves in future website designs and upgrades? I would suggest looking at Analytics data to establish how many of your visitors are using IE6 to navigate your website before making any decisions. Some larger sites have already made public decisions, including the withdrawal of IE6 support for Facebook chat, and the withdrawal of IE6 support by YouTube and other Google owned companies, but if you currently still have a significant number of IE6 hits you may want to tread carefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jocoxdesign.co.uk/website-design/browser-compatibility-and-the-death-of-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Tables to WordPress Posts and Pages</title>
		<link>http://www.jocoxdesign.co.uk/wordpress/how-to-add-tables-to-wordpress-posts-and-pages/</link>
		<comments>http://www.jocoxdesign.co.uk/wordpress/how-to-add-tables-to-wordpress-posts-and-pages/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 09:15:46 +0000</pubDate>
		<dc:creator>Jo</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jocoxdesign.co.uk/?p=3030</guid>
		<description><![CDATA[Table layouts in web design may have gone out with the last Ice Age, but there are still plenty of times when it&#8217;s necessary to add tabular data within a blog post or page. The WordPress TinyMCE editor, whilst richly featured and easy to use, doesn&#8217;t come with any table editing options by default. Here are two options to help ...]]></description>
			<content:encoded><![CDATA[<p>Table layouts in web design may have gone out with the last Ice Age, but there are still plenty of times when it&#8217;s necessary to add tabular data within a blog post or page. The WordPress TinyMCE editor, whilst richly featured and easy to use, doesn&#8217;t come with any table editing options by default. Here are two options to help you add tables to WordPress posts and pages:</p>
<h3>Tables in HTML View</h3>
<p>If you know some basic HTML you always have the option to flip over to the HTML view and input your table code directly. Here is a simple example:</p>
<pre><code>&lt;table width=&quot;400&quot; border=&quot;1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;5&quot;&gt;
  &lt;tr&gt;
    &lt;th&gt;Heading 1&lt;/th&gt;
    &lt;th&gt;Heading 2&lt;/th&gt;
    &lt;th&gt;Heading 3&lt;/th&gt;
    &lt;th&gt;Heading 4&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Data&lt;/td&gt;
    &lt;td&gt;Data&lt;/td&gt;
    &lt;td&gt;Data&lt;/td&gt;
    &lt;td&gt;Data&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Data&lt;/td&gt;
    &lt;td&gt;Data&lt;/td&gt;
    &lt;td&gt;Data&lt;/td&gt;
    &lt;td&gt;Data&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;</code></pre>
<p>Pasted in, it should look something like this (keep in mind the table you see here is being altered slightly by my stylesheet):</p>
<table width="400" border="1" cellspacing="0" cellpadding="5">
<tr>
<th>Heading 1</th>
<th>Heading 2</th>
<th>Heading 3</th>
<th>Heading 4</th>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</table>
<h3>Tables Using a Plugin</h3>
<p>As with most problems in WordPress, the table issue can be solved with a simple plugin. There are quite a few options but my favourite is <a title="MCE Table Buttons" href="http://wordpress.org/extend/plugins/mce-table-buttons/" target="_blank">MCE Table Buttons</a>. Once activated it simply adds in another row of buttons so you can control tables in the same way as all your other formatting.</p>
<p><img class="alignnone size-full wp-image-3031 colorbox-3030" title="MCE Table Buttons" src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/mce-table-buttons.png" alt="MCE Table Buttons" width="480" height="227" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jocoxdesign.co.uk/wordpress/how-to-add-tables-to-wordpress-posts-and-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Enable Featured Images in Your WordPress Theme</title>
		<link>http://www.jocoxdesign.co.uk/wordpress/how-to-enable-featured-images-in-your-wordpress-theme/</link>
		<comments>http://www.jocoxdesign.co.uk/wordpress/how-to-enable-featured-images-in-your-wordpress-theme/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 09:40:17 +0000</pubDate>
		<dc:creator>Jo</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jocoxdesign.co.uk/?p=3002</guid>
		<description><![CDATA[It has always been possible to effectively attach an associated image to an article, either by uploading to the media library and creating a query, creating a custom field or installing a plugin, it&#8217;s just been a bit of a pain in the butt and required you to handle all of the cropping yourself. Cries of relief then as WordPress ...]]></description>
			<content:encoded><![CDATA[<p>It has always been possible to effectively attach an associated image to an article, either by uploading to the media library and creating a query, creating a custom field or installing a plugin, it&#8217;s just been a bit of a pain in the butt and required you to handle all of the cropping yourself. Cries of relief then as WordPress 2.9 was released at the end of 2009, when this became a native function. In this and all subsequent versions you can attach a Featured Image to any post or page and pull it through into your theme with just one simple line of code, giving you a clean and standardised way to create essential elements such as thumbnail images.</p>
<p><center><img src="http://www.jocoxdesign.co.uk/wp-content/uploads/2012/01/wordpress-featured-image.jpg" alt="WordPress Featured Image" title="WordPress Featured Image" width="298" height="271" class="alignnone size-full wp-image-3023 colorbox-3002" /></center></p>
<h3>Enabling Featured Image Support</h3>
<p>Featured Image support needs to be enabled on a theme by theme basis. To do so, open or create the functions.php file in your theme&#8217;s root (wp-content/themes/your-theme-name).</p>
<p>To add thumbnail support for all post types, add this command somewhere after the opening &lt;?php:</p>
<pre><code>add_theme_support('post-thumbnails');</code></pre>
<p>Or, to enable thumbnails for just posts:</p>
<pre><code>add_theme_support('post-thumbnails',&nbsp;array('post'));</code></pre>
<p>Or, just pages:</p>
<pre><code>add_theme_support('post-thumbnails', array('page'));</code></pre>
<h3>Setting Sizes</h3>
<p>You have two options here &#8211; box resizing and hard cropping. Box resizing shrinks an image proportionally (without distorting it), until it fits inside the box you’ve specified. The whole image will show, but to get it to fit in the box it won&#8217;t always be the same size. To set your thumbnail using box-resizing, add this command below the line you created to add theme support:</p>
<pre><code>set_post_thumbnail_size( 50, 50 );</code></pre>
<p>Your second option is hard cropping, where the image is cropped to match the target aspect ratio, and is then shrunk to fit in the specified dimensions exactly. You&#8217;ll get the exact size you asked for, but parts of your image may have to be cropped out to get the image to fit. To set your thumbnail using hard cropping, add this command below the line you created to add theme support:</p>
<pre><code>set_post_thumbnail_size( 50, 50, true );</code></pre>
<h3>Displaying Featured Images in the Theme</h3>
<p>Now you can add your Featured Image, if it exists, to the loop:</p>
<pre><code>&lt;?php
if ( has_post_thumbnail() ) {
	// the current post has a thumbnail
} else {
	// the current post lacks a thumbnail
}
?&gt;</code></pre>
<p>You can get around the problems associated with both kinds of sizing by uploading image with the correct aspect ratio.</p>
<h3>Creating Multiple Sizes</h3>
<p>What if, for example, you want to display a hard cropped square thumbnail on your category pages but a box resized rectangular header image within your individual posts? The answer is simple &#8211; just specify additional custom sizes:</p>
<pre><code>add_image_size( 'instance-name', 400, 9999 );</code></pre>
<p>And pull it through into the theme:</p>
<pre><code>&lt;?php the_post_thumbnail( 'instance-name' ); ?&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jocoxdesign.co.uk/wordpress/how-to-enable-featured-images-in-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Competition Winner 2011</title>
		<link>http://www.jocoxdesign.co.uk/competitions/christmas-competition-winner-2011/</link>
		<comments>http://www.jocoxdesign.co.uk/competitions/christmas-competition-winner-2011/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 14:39:41 +0000</pubDate>
		<dc:creator>Jo</dc:creator>
				<category><![CDATA[Competitions]]></category>

		<guid isPermaLink="false">http://www.jocoxdesign.co.uk/?p=2865</guid>
		<description><![CDATA[This year my Christmas Competition was to win a free website with hosting and domain registration. Entries closed at 12pm on Thursday 15th December and the draw was made today. To prove I really did draw the winner from a hat, I&#8217;ve created this video: &#160; Congratulations to Jane Roberts, who will be contacted separately. Merry Christmas everyone!]]></description>
			<content:encoded><![CDATA[<p>This year my Christmas Competition was to win a free website with hosting and domain registration. Entries closed at 12pm on Thursday 15th December and the draw was made today. To prove I really did draw the winner from a hat, I&#8217;ve created this video:</p>
<div class='video_frame'><iframe id='youtube_video_1' class='youtube_video' style='height:340px;width:560px' src='http://www.youtube.com/embed/gGHOaU0Hz7E?autohide=2&amp;autoplay=0&amp;controls=1&amp;disablekb=0&amp;fs=0&amp;hd=0&amp;loop=0&amp;rel=1&amp;showinfo=1&amp;showsearch=1&amp;wmode=transparent&amp;enablejsapi=1' width='560' height='340' frameborder='0'></iframe></div>
<p>&nbsp;</p>
<p>Congratulations to Jane Roberts, who will be contacted separately. Merry Christmas everyone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jocoxdesign.co.uk/competitions/christmas-competition-winner-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

