<?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>Chris Parker &#124; Design Inspiration</title>
	<atom:link href="http://www.chrisparker.info/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisparker.info/blog</link>
	<description>Design Inspiration for us all</description>
	<lastBuildDate>Wed, 21 Mar 2012 10:45:32 +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>How to make striped table rows with Javascript</title>
		<link>http://www.chrisparker.info/blog/php-snippets/how-to-make-striped-table-rows-with-javascript/</link>
		<comments>http://www.chrisparker.info/blog/php-snippets/how-to-make-striped-table-rows-with-javascript/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 10:39:03 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=354</guid>
		<description><![CDATA[1. Enter this Javascript in the head of your page along with the latest jquery pack ( http://docs.jquery.com/Downloading_jQuery ) &#60;script type=&#8221;text/javascript&#8221; src=&#8221;** your scripts folder ***/jquery-latest.pack.js&#8221;&#62;&#60;/script&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; $(function(){ $(&#8220;table.tablerow tr:even&#8221;).addClass(&#8220;oddrow&#8221;); }); &#60;/script&#62; 2. Then create a line of CSS (&#8230;)<p><a href="http://www.chrisparker.info/blog/php-snippets/how-to-make-striped-table-rows-with-javascript/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>1. Enter this Javascript in the head of your page along with the latest jquery pack ( http://docs.jquery.com/Downloading_jQuery )</p>
<blockquote><p>
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;** your scripts folder ***/jquery-latest.pack.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
$(function(){<br />
$(&#8220;table.tablerow tr:even&#8221;).addClass(&#8220;oddrow&#8221;);<br />
});<br />
&lt;/script&gt;</p></blockquote>
<p>2. Then create a line of CSS in your stylesheet:</p>
<blockquote><p>.oddrow td { background-color:#eee }</p></blockquote>
<p>3. Then add the class &#8216;tablerow&#8217; to your HTML table</p>
<p>And that&#8217;s it!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/php-snippets/how-to-make-striped-table-rows-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress permalinks not working on Namesco server</title>
		<link>http://www.chrisparker.info/blog/snippets/wordpress-permalinks-not-working-on-namesco-server/</link>
		<comments>http://www.chrisparker.info/blog/snippets/wordpress-permalinks-not-working-on-namesco-server/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 11:02:50 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Web Design Snippets]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=348</guid>
		<description><![CDATA[I recently had an issue with one of my website blogs where the custom WordPress permalinks would fail due to it being hosted on a namesco.co.uk server. Because the Namesco server is a &#8216;Zeus&#8217; server, the usual htaccess and mod-rewrite (&#8230;)<p><a href="http://www.chrisparker.info/blog/snippets/wordpress-permalinks-not-working-on-namesco-server/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I recently had an issue with one of my website blogs where the custom WordPress permalinks would fail due to it being hosted on a namesco.co.uk server. Because the Namesco server is a &#8216;Zeus&#8217; server, the usual htaccess and mod-rewrite functionality of Apache does not work. To fix this a new file needs to be created in the root directory called &#8216;rewrite.script&#8217; containing the following code:</p>
<blockquote><p>#### Please note this rewrite code works where WordPress is installed in a directory called /blog within the /web directory and ignores a directory called /admin in the root #########</p>
<p>#Zeus webserver version of basic WordPress mod_rewrite rules<br />
map path into SCRATCH:path from %{URL}<br />
look for file at %{SCRATCH:path}<br />
if exists then goto END<br />
look for dir at %{SCRATCH:path}<br />
if exists then goto END</p>
<p>##### FIX FOR LOGIN/FORGOTTEN PASSWORD/ADMIN ETC #####<br />
match URL into $ with ^/blog/wp-.*$<br />
if matched then goto END<br />
##### FIX TO ALLOW SEARCH TO WORK #####<br />
match URL into $ with ^/blog/(.*)<br />
if matched then<br />
set URL = /blog/index.php/$1<br />
goto END<br />
endif</p>
<p>match URL into $ with ^/admin/.*<br />
if matched then goto END</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/snippets/wordpress-permalinks-not-working-on-namesco-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create dynamic copyright text with php</title>
		<link>http://www.chrisparker.info/blog/snippets/how-to-create-dynamic-copyright-text-with-php/</link>
		<comments>http://www.chrisparker.info/blog/snippets/how-to-create-dynamic-copyright-text-with-php/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 13:40:10 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Web Design Snippets]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=326</guid>
		<description><![CDATA[&#60;?php ini_set(&#8216;date.timezone&#8217;, &#8216;Europe/London&#8217;); $startYear = 2007; $thisYear = date(&#8216;Y&#8217;); If ($startYear == $thisYear) { echo $startYear; } else { echo &#8220;{$startYear}-{$thisYear}&#8221;; } ?&#62; YourWebsiteHere.co.uk&#60;/span&#62;]]></description>
			<content:encoded><![CDATA[<p>&lt;?php<br />
ini_set(&#8216;date.timezone&#8217;, &#8216;Europe/London&#8217;);<br />
$startYear = 2007;<br />
$thisYear = date(&#8216;Y&#8217;);<br />
If ($startYear == $thisYear) {<br />
echo $startYear;<br />
}<br />
else {<br />
echo &#8220;{$startYear}-{$thisYear}&#8221;;<br />
}<br />
?&gt;</p>
<p>YourWebsiteHere.co.uk&lt;/span&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/snippets/how-to-create-dynamic-copyright-text-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create sharper text on a dark background with CSS</title>
		<link>http://www.chrisparker.info/blog/snippets/how-to-create-sharper-text-on-a-dark-background-with-css/</link>
		<comments>http://www.chrisparker.info/blog/snippets/how-to-create-sharper-text-on-a-dark-background-with-css/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 13:38:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Web Design Snippets]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=324</guid>
		<description><![CDATA[This snippet of CSS is effective in sharpening the text in the Safari browser when light text is displayed agianst a dark or black background: text-shadow:rgba(0,0,0,0.01) 0 0 0; &#160;]]></description>
			<content:encoded><![CDATA[<p>This snippet of CSS is effective in sharpening the text in the Safari browser when light text is displayed agianst a dark or black background:</p>
<p><strong><em>text-shadow:rgba(0,0,0,0.01) 0 0 0;</em></strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/snippets/how-to-create-sharper-text-on-a-dark-background-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Magazine Review</title>
		<link>http://www.chrisparker.info/blog/fresh/design-magazine-review/</link>
		<comments>http://www.chrisparker.info/blog/fresh/design-magazine-review/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 16:12:31 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Client Testimonials]]></category>
		<category><![CDATA[Fresh looking packaging]]></category>
		<category><![CDATA[Identity Design]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=302</guid>
		<description><![CDATA[Recently some of my packaging creative was featured in a design publication from Brazil. The article roughly translates as: &#8220;Drinks with high caffeine content began to emerge in the UK. The providers of healthier drinks reacted to this, as was (&#8230;)<p><a href="http://www.chrisparker.info/blog/fresh/design-magazine-review/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.chrisparker.info/blog/fresh/design-magazine-review/attachment/magazine/" rel="attachment wp-att-304"><img class="alignleft size-thumbnail wp-image-304" style="margin-right: 20px;" title="magazine" src="http://www.chrisparker.info/blog/wp-content/uploads/2011/08/magazine-300x250.jpg" alt="" width="300" height="250" /></a>Recently some of my packaging creative was featured in a design publication from Brazil.<span id="more-302"></span></p>
<p><!--more-->The article roughly translates as:</p>
<p>&#8220;Drinks with high caffeine content began to emerge in the UK. The providers of healthier drinks reacted to this, as was the case of The Feel Good Drinks Co. The company’s natural juices claimed an alternative benefit to energy with the presence of several vitamins. Hired to portray this whole concept, the designer Chris Parker then created a character to express all that appeal and bright colours used to reinforce the trend. With the use of labels in transparency, the result was vibrant.&#8221;</p>
<p>This design work was created whilst I was a designer at Pritchards Creative Communications agency based in Cheltenham.</p>
<p><a href="http://www.chrisparker.info/blog/fresh/design-magazine-review/attachment/spritz_lrg/" rel="attachment wp-att-310"><img class="alignleft size-full wp-image-310" title="spritz_lrg" src="http://www.chrisparker.info/blog/wp-content/uploads/2011/08/spritz_lrg.jpg" alt="" width="267" height="780" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/fresh/design-magazine-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to leave a Group on Linkedin</title>
		<link>http://www.chrisparker.info/blog/uncategorized/how-to-leave-a-linkedin-group/</link>
		<comments>http://www.chrisparker.info/blog/uncategorized/how-to-leave-a-linkedin-group/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 10:17:21 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Humourous]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design Snippets]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=297</guid>
		<description><![CDATA[I&#8217;m sure the Linkedin website is useful for something however I think it&#8217;s main forte is in bombarding you with emails from groups you thought were a great idea to join. Give your inbox a break by following 4 easy (&#8230;)<p><a href="http://www.chrisparker.info/blog/uncategorized/how-to-leave-a-linkedin-group/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure the Linkedin website is useful for something however I think it&#8217;s main forte is in bombarding you with emails from groups you thought were a great idea to join. Give your inbox a break by following 4 easy steps:</p>
<p>1. Go to Profile -&gt; Edit Profile in the top menu bar<br />
2. Scroll down the page and in the list of groups click the tiny &#8216;change visibility&#8217; link<br />
3. On the next page click the &#8216;leave group&#8217; button bottom right<br />
4. Make note to self not to join any more groups on Linkedin</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/uncategorized/how-to-leave-a-linkedin-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add text that disappears in a form text field when clicked (onfocus)</title>
		<link>http://www.chrisparker.info/blog/snippets/how-to-add-text-that-disappears-in-a-form-text-field-when-clicked-onfocus/</link>
		<comments>http://www.chrisparker.info/blog/snippets/how-to-add-text-that-disappears-in-a-form-text-field-when-clicked-onfocus/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 12:21:48 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Web Design Snippets]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=295</guid>
		<description><![CDATA[.. very simply by adding onfocus=&#8221;this.value=&#8221;&#8221;  to your input or text area HTML. i.e.  &#60;textarea name=&#8221;caption&#8221; id=&#8221;caption&#8221;  onfocus=&#8221;this.value=&#8221;&#8221; rows=&#8221;1&#8243;&#62;enter  your new caption here&#60;/textarea&#62;]]></description>
			<content:encoded><![CDATA[<p>.. very simply by adding <em><strong>onfocus=&#8221;this.value=&#8221;&#8221;</strong></em>  to your input or text area HTML.</p>
<p>i.e.  &lt;textarea name=&#8221;caption&#8221; id=&#8221;caption&#8221;  onfocus=&#8221;this.value=&#8221;&#8221; rows=&#8221;1&#8243;&gt;enter  your new caption here&lt;/textarea&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/snippets/how-to-add-text-that-disappears-in-a-form-text-field-when-clicked-onfocus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a Spry Collapsible Panel within a repeat region</title>
		<link>http://www.chrisparker.info/blog/snippets/how-to-create-a-spry-collapsible-panel-within-a-repeat-region/</link>
		<comments>http://www.chrisparker.info/blog/snippets/how-to-create-a-spry-collapsible-panel-within-a-repeat-region/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 17:18:26 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Web Design Snippets]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=289</guid>
		<description><![CDATA[I had to create an FAQ section on a website recently so this solution came in very handy as the standard DW collapsible panel does not work if you put it inside a repeat region. Why? because each panel needs (&#8230;)<p><a href="http://www.chrisparker.info/blog/snippets/how-to-create-a-spry-collapsible-panel-within-a-repeat-region/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I had to create an FAQ section on a website recently so this solution came in very handy as the standard DW collapsible panel does not work if you put it inside a repeat region. Why? because each panel needs a unique id number each time to make the open/close work.<span id="more-289"></span></p>
<p>The solution is to create a php counter that increases by one each time the region is repeated and put a bit of php code that echoes this after &#8216;div id=&#8221;CollapsiblePanel&#8217; in the panel code and also after &#8216;var CollapsiblePanel&#8217; in the script.</p>
<div id="&quot;CollapsiblePanel'">
<p><strong>1.</strong> Put the counter code at the top of the page after the &lt;body&gt; tag: &#8216;<strong><em>&lt;? php $counter = 1; ?&gt;</em></strong>&#8216; This defines the variable &#8216;counter&#8217;.</p>
<p><strong>2.</strong> Move the Spry javascript that usually appears at the foot of the page to within the repeat region itself.</p>
<p><strong>3.</strong> Put <em><strong>&lt;?php echo $counter; ?&gt;</strong></em> after the div id and in the script so the code looks like this.</p>
<p>Top line of Spry Collapsible Panel: <em>&lt;div id=&#8221;CollapsiblePanel<strong>&lt;?php echo $counter; ?&gt;</strong>&#8220;&gt;</em></p>
<p>Javascript:   <em>&lt;script type=&#8221;text/javascript&#8221;&gt;</em><br />
<em>var CollapsiblePanel<strong>&lt;?php echo $counter; ?&gt;</strong> = new Spry.Widget.CollapsiblePanel(&#8220;CollapsiblePanel<strong>&lt;?php echo $counter; ?&gt;</strong>&#8220;, {contentIsOpen:false});</em><br />
<em>&lt;/script&gt;</em></p>
<p><strong>4.</strong> Put the php counter-increase code <strong><em>&#8216;&lt;?php $counter++; ?&gt;&#8217;</em></strong> just before the end of the repeat region.</p>
<p>And that&#8217;s it. If your recordset is called rs_faq your code should look something like this:</p>
<p>&lt;?php do { ?&gt;</p>
<p>&lt;div id=&#8221;CollapsiblePanel&lt;?php echo $counter; ?&gt;&#8221;&gt;<br />
&lt;div tabindex=&#8221;0&#8243;&gt; &lt;?php echo $row_rs_faq['question']; ?&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;?php echo $row_rs_faq['answer']; ?&gt;&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var CollapsiblePanel&lt;?php echo $counter; ?&gt; = new Spry.Widget.CollapsiblePanel(&#8220;CollapsiblePanel&lt;?php echo $counter; ?&gt;&#8221;, {contentIsOpen:false});<br />
&lt;/script&gt;</p>
<p>&lt;?php<br />
$counter++;<br />
?&gt;</p>
<p>&lt;?php } while ($row_rs_faq = mysql_fetch_assoc($rs_faq)); ?&gt;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/snippets/how-to-create-a-spry-collapsible-panel-within-a-repeat-region/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design work for the NHS</title>
		<link>http://www.chrisparker.info/blog/testimonials/design-work-for-the-nhs/</link>
		<comments>http://www.chrisparker.info/blog/testimonials/design-work-for-the-nhs/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 13:42:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Client Testimonials]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=279</guid>
		<description><![CDATA[&#8220;Chris Parker is a pleasure to work with – always comes up with surprising but perfectly apt designs which are clear and eye catching. He is easy to brief and interprets the brief in the most appropriate way.&#8221; Jackie Dietrich (&#8230;)<p><a href="http://www.chrisparker.info/blog/testimonials/design-work-for-the-nhs/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><img style="float: left;" src="http://www.chrisparker.info/blog/wp-content/uploads/2011/07/nhs_featured_image-300x250.jpg" alt="" /></p>
<p>&#8220;Chris Parker is a pleasure to work with – always comes up with surprising but perfectly apt designs which are clear and eye catching. He is easy to brief and interprets the brief in the most appropriate way.&#8221;</p>
<p>Jackie Dietrich<br />
Communications &amp; Engagement Officer<br />
The Dudley Group of Hospitals</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/testimonials/design-work-for-the-nhs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>School of Advertising</title>
		<link>http://www.chrisparker.info/blog/advertising/school-of-advertising/</link>
		<comments>http://www.chrisparker.info/blog/advertising/school-of-advertising/#comments</comments>
		<pubDate>Mon, 16 May 2011 16:20:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Client Testimonials]]></category>

		<guid isPermaLink="false">http://www.chrisparker.info/blog/?p=249</guid>
		<description><![CDATA[It&#8217;s always nice to get feedback from projects and recently I&#8217;ve been asked by Jennifer Wong a school teacher at Nanchang Number 2 High School in China if she can use some of my SHOEI ad creative as part of (&#8230;)<p><a href="http://www.chrisparker.info/blog/advertising/school-of-advertising/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-262" href="http://www.chrisparker.info/blog/advertising/school-of-advertising/attachment/shoei_sml-2/"><img class="alignleft size-full wp-image-262" title="SHOEI Ad" src="http://www.chrisparker.info/blog/wp-content/uploads/2011/05/shoei_sml1.jpg" alt="" width="300" height="195" /></a>It&#8217;s always nice to get feedback from projects and recently I&#8217;ve been asked by Jennifer Wong a school teacher at Nanchang Number 2 High School in China if she can use some of my SHOEI ad creative as part of a exam on advertising for the pupils.<span id="more-249"></span></p>
<p>As Jennifer explains: &#8220;The students are Grade 10 students in China in their first year of the &#8220;Sino-Canadian&#8221; program.  As part of the Canadian curriculum, they are required to do a unit in Media Literacy, where they are expected to be able to deconstruct an advertisement and comment on how the graphics and language work together for a specific purpose.  I chose your advertisement because I felt it would be a good idea to expose them to techniques aimed at them. The advertisement it self was also very effective because it used many advertising techniques that we had discussed in class. &#8221;</p>
<p>Here&#8217;s a scan of one of the pupils&#8217; papers…<br />
<a rel="attachment wp-att-250" href="http://www.chrisparker.info/blog/advertising/school-of-advertising/attachment/student2/"><img class="alignleft size-large wp-image-250" title="Student2" src="http://www.chrisparker.info/blog/wp-content/uploads/2011/05/Student2-520x715.jpg" alt="" width="500" height="687" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisparker.info/blog/advertising/school-of-advertising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

