<?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>sam_george &#187; Web Development</title>
	<atom:link href="http://www.samgeorge.co.uk/blog/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.samgeorge.co.uk/blog</link>
	<description>web design &#38; music chitter chatter</description>
	<lastBuildDate>Mon, 14 Jun 2010 14:29:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PDF Form submission to PHP</title>
		<link>http://www.samgeorge.co.uk/blog/2010/05/31/pdf-form-submission-to-php/</link>
		<comments>http://www.samgeorge.co.uk/blog/2010/05/31/pdf-form-submission-to-php/#comments</comments>
		<pubDate>Mon, 31 May 2010 11:13:04 +0000</pubDate>
		<dc:creator>Sam George</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cfml]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.samgeorge.co.uk/blog/?p=206</guid>
		<description><![CDATA[Just a short one, was trying to submit a PDF form (created in LiveCycle) and submit it to a PHP when I performed a print_r($_POST); all I saw on screen was. array(0) { array[0]=&#62; } When looking in Charles I saw all my POST variables so i was like &#8230; HUH? Anyway it turns out [...]]]></description>
			<content:encoded><![CDATA[<p>Just a short one, was trying to submit a PDF form (created in LiveCycle) and submit it to a PHP when I performed a print_r($_POST); all I saw on screen was.</p>
<p><code>array(0) { array[0]=&gt; }</code></p>
<p>When looking in <a href="http://www.charlesproxy.com/">Charles</a> I saw all my POST variables so i was like &#8230; HUH?</p>
<p>Anyway it turns out that the submit Format was incorrect, so to fix it you must&#8230;</p>
<p><code>Highlight the submit button and click the XML Source tab. Below the tag, near the tag for the button, find and change format="formdata" to format="urlencoded"</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samgeorge.co.uk/blog/2010/05/31/pdf-form-submission-to-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 &#8211; Drop Shadows &#8211; single side</title>
		<link>http://www.samgeorge.co.uk/blog/2010/04/06/css3-drop-shadows-single-side/</link>
		<comments>http://www.samgeorge.co.uk/blog/2010/04/06/css3-drop-shadows-single-side/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 12:37:58 +0000</pubDate>
		<dc:creator>Sam George</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[box-shadow]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.samgeorge.co.uk/blog/?p=150</guid>
		<description><![CDATA[Bit more playing around with CSS3. I was trying to get an effect with a single shadow down one side of a box, using the BOX-SHADOW in CSS.  The &#8220;standard&#8221; deployment gave some results I was not too happy with. This was because the Shadow were spilling out over edges that I didn&#8217;t want it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-151" title="css3" src="http://www.samgeorge.co.uk/blog/uploads/2010/04/css3.jpg" alt="css3" width="600"  /></p>
<p>Bit more playing around with CSS3.</p>
<p>I was trying to get an effect with a single shadow down one side of a box, using the BOX-SHADOW in CSS.  The &#8220;standard&#8221; deployment gave some results I was not too happy with. This was because the Shadow were spilling out over edges that I didn&#8217;t want it to be displayed on. See the image below.</p>
<div id="attachment_152" class="wp-caption aligncenter" style="width: 558px"><a href="http://www.samgeorge.co.uk/blog/uploads/2010/04/spilling.jpg"><img class="size-full wp-image-152" title="spilling" src="http://www.samgeorge.co.uk/blog/uploads/2010/04/spilling.jpg" alt="poor shadow effect" width="548" height="226" /></a><p class="wp-caption-text">As you can see the shadow is spilling over the top an bottom edge</p></div>
<p>I wanted the Left Side edge to ONLY have shadow on it&#8230;.so after about 10 mins of clicking&#8230;..</p>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 576px"><a href="http://www.samgeorge.co.uk/blog/uploads/2010/04/perfect1.jpg"><img class="size-full wp-image-155" title="perfect" src="http://www.samgeorge.co.uk/blog/uploads/2010/04/perfect1.jpg" alt="After a bit of tinkering this is the result!" width="566" height="226" /></a><p class="wp-caption-text">After a bit of tinkering this is the result!</p></div>
<p>The CSS code is a follows :<br />
<code>box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;<br />
-o-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;<br />
-icab-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;<br />
-khtml-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;<br />
-moz-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;<br />
-webkit-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;<br />
</code></p>
<p>The way that this code is working is the first three shadows are full opacity in White (#fff) &#8211; which matches the BG of the box, and the last shadow applies the #333 shadow to the left hand edge. Yes it does increase the edge by 5px, but thats how I wanted the effect to look&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samgeorge.co.uk/blog/2010/04/06/css3-drop-shadows-single-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twinkling Cloud, jQuery effect</title>
		<link>http://www.samgeorge.co.uk/blog/2010/03/21/twinkling-cloud-jquery-effect/</link>
		<comments>http://www.samgeorge.co.uk/blog/2010/03/21/twinkling-cloud-jquery-effect/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 10:50:09 +0000</pubDate>
		<dc:creator>Sam George</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.samgeorge.co.uk/blog/?p=109</guid>
		<description><![CDATA[I am playing with a lot more jQuery now. I decided that it would be cool to have a Cloud that pulsed in and out so they looked like stars, yeah it might be sad but I think it looks pretty cool so I have decided to share it with you! if you look up [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.samgeorge.co.uk/code/jqueryeffects-stars.php"><img src="http://www.samgeorge.co.uk/blog/uploads/2010/03/jqueryeffects.jpg" alt="JQuery Effects - Stars Sparkles" title="JQuery Effects - Stars Sparkles" width="600"  class="aligncenter size-full wp-image-112" /></a><br />
I am playing with a lot more jQuery now. I decided that it would be cool to have a Cloud that pulsed in and out so they looked like stars, yeah it might be sad but I think it looks pretty cool so I have decided to share it with you!</p>
<p>if you look up you will se it in action, I have made a <a href="/code/jqueryeffects-stars.php" target="_blank">single page with the JQuery</a> in and some sample data so you can see it without the bulk of my site surrounding it.</p>
<p><strong>How it works</strong>:<br />
Its a really simple function set on a Interval than changes the opacity of the selected item, it could be a link, an image or anything you like really.</p>
<p>There is a small number of variables that you can change to make it fit your site better, the code is to be used at your own risk etc&#8230; I am just simply pointing out what you could do. </p>
<p>It can just be plugged into a WordPress theme if you wanted, just change the &#8220;what&#8221; variable in the JQuery to reflect the name of your cloud.</p>
<p>Enjoy it.</p>
<p><a href="/code/jqueryeffects-stars.php" target="_blank">See the example code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samgeorge.co.uk/blog/2010/03/21/twinkling-cloud-jquery-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Switcher</title>
		<link>http://www.samgeorge.co.uk/blog/2010/03/21/tab-switcher/</link>
		<comments>http://www.samgeorge.co.uk/blog/2010/03/21/tab-switcher/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 09:40:23 +0000</pubDate>
		<dc:creator>Sam George</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[fallback]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.samgeorge.co.uk/blog/?p=100</guid>
		<description><![CDATA[What I try to do is remember the rule of Javascript is that its for Bells and whistles &#8211; it makes the page a bit more enjoyable, it shouldn&#8217;t be the Core functionality. So taking that in mind I will show you how I did it, the idea of out front page was for a [...]]]></description>
			<content:encoded><![CDATA[<p>What I try to do is remember the rule of Javascript is that its for Bells and whistles &#8211; it makes the page a bit more enjoyable, it shouldn&#8217;t be the Core functionality.</p>
<p>So taking that in mind I will show you how I did it, the idea of out front page was for a Showcase that shows off their current products.</p>
<p>What I use is two &#8216;pages&#8217; one of them being the frame (index.php) and the second being the contents (index_include.php).</p>
<p>On the index I put a PHP include to the &#8216;index_include&#8217;, the index page contains :</p>
<p><code>&lt;!-- The JQuery (later explained) ---&gt;<br />
&lt;script src="/common/js/contentswitcher.js" type="text/javascript"&gt;&lt;/script&gt;<br />
&lt;div&gt;<br />
&lt;div id="contentstochange"&gt;<br />
&lt;?php require_once($_SERVER['DOCUMENT_ROOT'] . '/index_include.php'); ?&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;a href="index.cfm?tab=FR" class="stayblack bigtabs &lt;?php if($tab=='FR') echo ' selected' ; ?&gt;"&gt;<br />
&lt;h2&gt;<br />
&lt;img src="/images/fr_box_front.png" alt="FR" border="0" /&gt;FusionReactor<br />
&lt;/h2&gt;<br />
&lt;/a&gt;</code></p>
<p>The &lt;A&gt; tag is the key here : as you can see it calls the href to itself with a URL string of tab=FR</p>
<p>the Class tag contains modification for PHP to add selected when that tab is selected.</p>
<p>Index_include page contains: A Simple Switch statement.</p>
<p><code>&lt;?php<br />
$tab = 'FR';<br />
if(isset($_GET['tab'])){<br />
$tab = $_GET['tab'];<br />
}<br />
switch($tab) { case 'FR' : ?&gt;<br />
THE HTML CONTENTS GO IN HERE<br />
&lt;?php<br />
break;<br />
case 'n' :<br />
break;<br />
?&gt;</code><br />
So what we have done here is Really simple. We have an index page with a PHP include of the page ‘index_include’. when the &lt;a href&gt; is pressed it will load the correct case statement into the ‘index’ page.</p>
<p>So, where is the JQuery ?</p>
<p>all what we need to do now is to stop the Page moving as we want the user to remain on the same page so it looks like the tabs are fading in and out nicely.</p>
<p>so add this to the &lt;a href&gt;</p>
<p><code>onClick="runcontent('FR');return false;" id="FR"</code></p>
<p>Then we go make the JQuery</p>
<p><code>function runcontent(selection){<br />
$("#contentstochange").fadeOut('fast');<br />
// Now make the request<br />
this.timer = setTimeout(function () {<br />
$.ajax({<br />
url: "/index_include.php?tab=" + selection,<br />
dataType: 'html',<br />
success: function (response) {<br />
runme(response)<br />
}<br />
});<br />
}, 150);<br />
function runme(response) {<br />
$("#contentstochange").fadeIn('slow').html(response);<br />
}<br />
$(".bigtabs").removeClass("selected");<br />
$("#"+selection).addClass("selected");<br />
}</code></p>
<p>What it does is Fade out the container div &#8211; Requests the index_include page with the Sent variable, it responds then Fades in the new page &#8211; it also sends through data to the ‘index’ page to change the style on the Tab so it looks selected.</p>
<p>So what we have now is a Tab that when clicked will open a new tab with new content with a nice fade in fade out effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samgeorge.co.uk/blog/2010/03/21/tab-switcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Books to Coda</title>
		<link>http://www.samgeorge.co.uk/blog/2009/11/27/adding-books-to-coda/</link>
		<comments>http://www.samgeorge.co.uk/blog/2009/11/27/adding-books-to-coda/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 21:01:59 +0000</pubDate>
		<dc:creator>Sam George</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[books in coda]]></category>
		<category><![CDATA[coda]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[TEA]]></category>
		<category><![CDATA[ZEN CODE]]></category>

		<guid isPermaLink="false">http://www.samgeorge.co.uk/blog/?p=45</guid>
		<description><![CDATA[I have been looking at getting a replacement to Dreamweaver as its starting to bug me using it with an SVN. as the file view is scattered full of .svn files, and the FTP client in DW is well&#8230;crap&#8230; So I have been looking at Coda + TEA &#8230;. as you can use ZEN CODE [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-47 marginbottom" title="codatea" src="http://www.samgeorge.co.uk/blog/uploads/2009/11/codatea.jpg" alt="codatea" width="600"  /></p>
<p>I have been looking at getting a replacement to Dreamweaver as its starting to bug me using it with an SVN. as the file view is scattered full of .svn files, and the FTP client in DW is well&#8230;crap&#8230;</p>
<p>So I have been looking at <a href="http://www.panic.com/coda/" target="_blank">Coda</a> + <a href="http://onecrayon.com/tea/coda/" target="_blank">TEA</a> &#8230;. as you can use <a href="http://code.google.com/p/zen-coding/" target="_blank">ZEN CODE</a> inside, which will help me with my development speed and the Coda CSS editor is wonderfull</p>
<p>I was looking at how to add extra books to Coda and came across a wonderful Blog post explaining how to do it, along with front covers for each book. So to find out how to <a href="http://www.drastudio.com/past/2008/11/29/adding-more-coda-books/" target="_blank">add more books to coda</a> follow me &#8230;. Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samgeorge.co.uk/blog/2009/11/27/adding-books-to-coda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer and HTML5</title>
		<link>http://www.samgeorge.co.uk/blog/2009/11/19/internet-explorer-and-html5/</link>
		<comments>http://www.samgeorge.co.uk/blog/2009/11/19/internet-explorer-and-html5/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 21:10:17 +0000</pubDate>
		<dc:creator>Sam George</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.samgeorge.co.uk/blog/?p=34</guid>
		<description><![CDATA[&#8220;Microsoft wants people to use its Silverlight plug-in, so Internet Explorer isn’t supporting native video playback in the browser at all.&#8221; To me an absolute horrific comment, Internet Explorer is holding back the development on the World Wide Web again. Lets just remind ourselves that Silverlight Can ONLY be developed under windows, and is not [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;<em>Microsoft wants people to use its Silverlight plug-in, so Internet Explorer isn’t supporting native video playback in the browser at all.</em>&#8221;</p>
<p>To me an absolute horrific comment, Internet Explorer is holding back the development on the World Wide Web again.<br />
Lets just remind ourselves that Silverlight Can ONLY be developed under windows, and is not supported on Linux or the web browser Opera&#8230;..</p>
<p>What a Shambles.</p>
<p>Lets just show Silverlight is not supported, compared to Adobe Flash&#8230;.</p>
<p><strong>OS Support Statistics: </strong>shows the percentage of computers that do <strong>NOT</strong> support RIA’s (<em>not detected, reasons for non-detection is because JavaScript is disabled</em>).</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="145" valign="top">OS/RIA</td>
<td width="145" valign="top"><strong>Flash</strong></td>
<td width="145" valign="top"><strong>Silverlight</strong></td>
</tr>
<tr>
<td width="145" valign="top"><strong>ALL</strong></td>
<td width="145" valign="top">2.36%</td>
<td width="145" valign="top">57.07%</td>
</tr>
<tr>
<td width="145" valign="top"><strong>Mac OSX</strong></td>
<td width="145" valign="top">11.56%</td>
<td width="145" valign="top">74.64%</td>
</tr>
<tr>
<td width="145" valign="top"><strong>Windows XP</strong></td>
<td width="145" valign="top">1.46%</td>
<td width="145" valign="top">61.86%</td>
</tr>
<tr>
<td width="145" valign="top"><strong>Linux</strong></td>
<td width="145" valign="top">3.78%</td>
<td width="145" valign="top">95.21%</td>
</tr>
<tr>
<td width="145" valign="top"><strong>iPhone</strong></td>
<td width="145" valign="top">98.67%</td>
<td width="145" valign="top">99.52%</td>
</tr>
</tbody>
</table>
<p><em>Lower % is better - Stats from riastats.com</em></p>
<p><a href="http://www.webmonkey.com/blog/A_Brave_New_Web_Will_Be_Here_Soon__But_Browsers_Must_Improve" target="_blank">Read the Full Article</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samgeorge.co.uk/blog/2009/11/19/internet-explorer-and-html5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
